ext4 (fourth extended filesystem) is a journaling file system for Linux, developed as the successor to ext3.

learn more… | top users | synonyms

0
votes
1answer
17 views

Precaching the list of files of the filesystem

I was wondering where and in what form a list of files and directories is stored on the ext4 filesystem. The problem is that whenever I try to access a certain directory for the first time since boot ...
0
votes
1answer
7 views

Lvreduce online on RHEL 6 or centos 6 with ext4 file systems

Is it possible to reduce a mounting lv safely at RHEL6/CentOS6 with ext4 file system? If it is, how can I do that?
0
votes
1answer
9 views

testdisk partition recovery

Looking to recover data/partition index from this disk.. ⚡ root@jg  ~  ls /dev/disk/by-label lrwxrwxrwx. 1 root root 10 May 4 21:06 4tb1 -> ../../sde1 drwxr-xr-x. 7 root root 140 May 4 21:06 .. ...
2
votes
0answers
25 views

ext4 - An entire directory disappeared?

Okay, this has me totally stumped. Background: I'm working on a cryptanalysis homework, trying to break a vigenere cipher with a 26 character key (a shuffled alphabet). Even though there are some 403 ...
0
votes
0answers
21 views

can I boot ext4 usb stick with xubuntu on from a Mac laptop?

is there a way to boot my ext4 formatted "xubuntu" USB memory stick from a Mac laptop? The laptop can identify FAT32 usb memory sticks with ubuntu at boot time, but it cannot identify mine, which is ...
1
vote
1answer
13 views

Backup Files on ext4 to external NTFS drive

Would there be any problems in copying files on my Linux system with ext4 filesystem to an external drive that is formatted in NTFS? I'm reinstalling my OS and intend to copy these files back to my ...
2
votes
4answers
243 views

Prevent file corruption

I have an application that write files into a specific directory at the FS. This system, under no circumstances, can lose a single written file. When I have some problem at the HD, like badblocks or ...
0
votes
0answers
16 views

Difference between fsarchiver and dump

What is the difference between dump and fsarchiver? Are there features in dump which are not covered by fsarchiver? Can both backup to tape storage for example?
1
vote
0answers
36 views

ETX4-fs error on startup

Hi everybody, today I run dmesg and at the bottom I found some error lines about the device mmcblk0p2. Everything works fine even with those errors but I'd like to understand the problem. I've ...
1
vote
1answer
43 views

ext4 disk space not reclaimed after deleting files

I recently got a "device full" warning for a 2 Tb external ext4 drive. I deleted a bunch of files, about 90-100 Gb of old system backups, and since I did not want to empty all trash, I deleted the ...
2
votes
1answer
26 views

How to use the new Ext4 Inline Data feature ? (storing data directly in the inode)

If I read the Ext4 documentation correctly, starting from Linux 3.8 it should be possible to store data directly in the inode in the vase of a very small file. I was expecting such a file to have a ...
1
vote
1answer
29 views

Is it possible to store data directly inside an inode on a Unix / Linux filesystem?

According to this Red Hat bug report (which I am trying to reproduce) it looks like the Netapp filer is able to store data directly in the inode, in case of very small files. Considering I had a FS ...
1
vote
1answer
31 views

Can't write on recently created EXT4 partition

On a new external hard drive (Intenso 05-1204-18A), I made (with GParted) two partitions : Disk /dev/sdc: 931.5 GiB, 1000204883968 bytes, 1953525164 sectors Units: sectors of 1 * 512 = 512 bytes ...
0
votes
1answer
29 views

writing to ext4, 8GB partition vs 512MB partition

I have a question which is slightly programming related, but it mostly relates to how ext4 works. I have a program which writes 128MB to a file with changing random aligned offsets. I write 256KB ...
1
vote
3answers
66 views

Deleting an Impossible File

A picture is worth a thousand words, so I want to start with that: From the image you can see that I have a ~500GB hard drive. The filesystem is ext4. On this 500GB hard drive, I have a file that ...
3
votes
0answers
51 views

Problems with file system

I created a partition with EXT4 file system and when I'm writing in this partition frequently the Kernel return the following error: Jan 01 01:17:54 infobuffer360 kernel: r7:c0561280 Jan 01 01:17:54 ...
0
votes
1answer
28 views

Accidentally ran mkfs.vfat on my backup drive [duplicate]

I ran mkfs.vfat /dev/sdb (whole device, not just one partition) on my backup drive, ironic, right. Is there any way to recover my files.
3
votes
3answers
49 views

Can I mount half an ext4 partition

I had a hardware raid array, a disk failed during migration and the controller flipped out and is unable to recover. I've written a small python script which has correctly mapped out the state of the ...
0
votes
0answers
34 views

find the cause of file corruption when copying files to a network share on an Ubuntu machine

I am copying files from my SD card to my Ubuntu server via Windows 7 using a network drive. The problem is that sometimes, 2 files out of 150, are corrupted during transfer. See here 2 example files ...
0
votes
0answers
39 views

Debian..Can't format and mount external HDD

I have been trying to format my 640GB external Hard Drive in command-line and can't seem to get it working. I have done the following in order: sudo fdisk /dev/sda (Deleted any partitions, created ...
0
votes
1answer
65 views

du and ls commands reporting wrong directory size

I'm used to the du command. I often use it with -h option. I report the result in a text file which I use to track space consumers. But I was wondered today to see a directory being reported as using ...
2
votes
0answers
46 views

Understanding ext4/jbd2 transactions

I'm trying to debug a bit of trouble I'm having with I/O latency on a system using ext4, but I'm a bit stumped in that I don't understand its journalling as well as I'd like to. What I'm wondering in ...
0
votes
1answer
21 views

Smallest file block size (ext 3, 4)

I'm curious, what is the smallest size a file can really be on Linux? (Assuming Ext3 fs, so why not ext4 fs as well). Sure you can write a file that only contains one byte, or maybe even less; but ...
1
vote
0answers
69 views

Red Hat Enterprise Linux 6.5 remounts root filesystem read-only after hibernating

I have a Lenovo ThinkPad T430 running Red Hat Enterprise Linux 6.5, kernel 2.6.32-431.30.1.el6.x86_64, and my filesystem structure consists of a master LUKS partition holding two logical volumes, one ...
0
votes
2answers
99 views

Which file system is better for Ceph?

I've read the Ceph OS recommendations document, but still I have a question. Which file system is better for Ceph? XFS, ext4, or something else?
3
votes
0answers
48 views

Have I destroyed data on drive?

I stupidly ran the following command on an external ext4 USB disk, typing /dev/sdb instead of /dev/sda which was the new disk I was setting up: dd if=/dev/zero of=/dev/sda bs=512 count=100 These ...
0
votes
0answers
51 views

Restoring data from NTFS formatted pre-ext4 partition

MS recovery just formatted my 1TB Backup disk to NTFS which was ext4 before. It was an MBR disk before but now it's a GPT one. Now I'm on SystemResqueCD and can check with the testdisk. What is the ...
29
votes
3answers
1k views

Why doesn't my exactly 100 MiB partition at 1 KiB block size have the corresponding available blocks/space?

I have a very high density virtualized environment with containers, so I'm trying to make each container really small. "Really small" means 87 MB on base Ubuntu 14.04 (Trusty Tahr) without ...
0
votes
0answers
23 views

Recover Data from EXT2 (previously EXT4) partition [duplicate]

When trying to repair "group descriptors" on my EXT4 2TB drive, I have made a mistake. Instead of use this command: e2fsck -b block_number /dev/xxx (using the block number of a backup superblock) ...
2
votes
3answers
271 views

Why creating partitions in linux is good solution for easy recovery?

I have heard if you don't make partitins in linux it is so hard to recovery your data. And if you make some partitions it would be easy to recovery. for example if you make /par1 /part2 /part3 it is ...
1
vote
2answers
92 views

15 GB of unaccounted-for space in filesystem

[nathanb /mnt/work] sudo du -hs . 23G . [nathanb /mnt/work] df -h . Filesystem Size Used Avail Use% Mounted on /dev/sdb1 40G 38G 6.4M 100% /mnt/work Where is the other 15 GB? ...
2
votes
5answers
121 views

Why can't I delete my files?

I copied some files from a data DVD to /home/emma (ext4), and all of the files are read only. This is what all of the files are like: emma@emma-W54-55SU1-SUW:~$ stat cd/Drivers/Drivers_List.rtf ...
1
vote
1answer
94 views

ext4 corruption found in superblock, but filesystem can be mounted

After a crash, I've got an Ext4 filesystem (on an LVM LV) that gives the following error when running fsck.ext4 -nf: e2fsck 1.42.12 (29-Aug-2014) Corruption found in superblock. (blocks_count = 0). ...
1
vote
1answer
38 views

What is this data that keeps reappearing after partition delete + new partition creation?

I deleted a big extended partition containing an ntfs logical partition with high percentage of occupied space and from that extended partition I made a new, smaller extended part. In it I ...
1
vote
1answer
96 views

Recovering from bad superblock on external drive

read a few similar questions/posts and tried the solutions, still stuck. My scenario is simple, external ext4 drive was powered off (via cat) while operating, and failed to mount on boot. As I dug ...
1
vote
1answer
49 views

Write to ext4 filesystem hang while lazyinit in background

I am running SUSE 12 on a node that has 6TB disks attached with EXT4 filesystem initialized. Lazyinit in the background takes atleast 24 hrs to complete. Write performance to the disk is significantly ...
1
vote
1answer
130 views

“First orphan inode” in tune2fs output

I ran tune2fs -l /dev/sda on my production server today and got the following output: tune2fs 1.42.9 (4-Feb-2014) Filesystem volume name: <none> Last mounted on: / Filesystem UUID: ...
1
vote
1answer
64 views

Tiny directory on ext4 file system taking up 2024 blocks? [closed]

I have an ext4 file system on my work computer and I came across a directory that is taking up >1 mb of space. There are 7 entries in the directory. The directory hasn't ever contained more than 20 ...
4
votes
1answer
191 views

Can I find out if a given ext4 block is in the inode table, and if so, can I pick it out of a journal with no header by hand?

So en route from my old laptop to a new one my old laptop's hard drive got some physical damage. badblocks reports 64 bad sectors. I had a two-month-old Ubuntu GNOME setup with a split / and /home ...
1
vote
0answers
37 views

Why doesn't the owning group get the executable bit? [duplicate]

Playing with ACL's: [root@rex web]# pwd /media/web [root@rex web]# ll -d drwxr-xr-x. 2 root root 4096 Jan 1 14:31 . [root@rex web]# setfacl -m d:g::rwx . [root@rex web]# setfacl -m g::rwx . ...
4
votes
1answer
52 views

What are the implications of using an inode_ratio of 16384 in terms of storage use on ext4?

I'm assuming that this means that if the average file stored (including directories etc) is less than 16384 bytes, it may be possible to run out of inodes before using the full storage capacity of the ...
2
votes
0answers
78 views

Size Range of ext4 Filesystem Journal

The minimum and maximum sizes respectively for the ext3 filesystem journal are 1,024 blocks and 102,400 blocks. Similarly — what are the minimum and maximum sizes for the journal on an ext4 ...
6
votes
1answer
227 views

rsync hangs unless I defrag ext4 filesystem

I have a XBian server (Raspberry Pi version of Debian) running rsync via inetd (not the native dæmon). I am serving a couple of directories on an ext4 filesystem (on a USB disk) as individual modules ...
1
vote
1answer
31 views

Delay before new/modified file appears

I'm seeing two separate cases where there's a (random?) delay before a new or modified file appears. The first case is my Rails development environment: I modify a code file (in vim) and save it, ...
0
votes
1answer
98 views

automount ext4 external hdd partition for owned by specific user

I'm trying to figure how to mount an ext4 formatted external HD with permissions for a specific user using autofs, but I'm only able to mount it as owned by root. I have read that ext4 mount points ...
1
vote
1answer
77 views

How to increase the size of Linux Partition (EXT4) without loosing data when the swap partition is exactly after it?

I have a problem and I appreciate if anyone can help me. 1: fdisk -l: Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors Units = ...
2
votes
3answers
256 views

how should I mount my ext4 partition in fstab

so that it appears in Thunar's sidebar under the name 'Schijf-2'? I am running linux mint13 xfce and this has been a headache causer for the last couple of days. the UUID of this partition is: this ...
2
votes
2answers
104 views

data recovery from form an accidental format on ext4 partition

When I was installing Mint Debian edition unlike the classic edition, the installation automatically formated my home partition when I did not specify to format. So the formatting previously was ext4 ...
1
vote
0answers
21 views

Find duplicity files after using PhotoRec

I've partly formatted a disc where my duplicity files was stored. I have used PhotoRec to recover the files but now they're all unsorted and without the correct filename. I have the files separated by ...
1
vote
1answer
136 views

How to extract raw ext3 inode data from disk?

On an ext3 (or ext2/4, pick your flavor) filesystem, how would one extract raw byte data that corresponds to a particular inode directly from the hard drive? Is it possible given, say, an inode number ...