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

learn more… | top users | synonyms

0
votes
0answers
13 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
26 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
36 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
24 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
28 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
29 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
65 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
49 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
26 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
48 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
29 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
36 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
61 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
41 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
20 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
67 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
91 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
46 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
50 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
21 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
266 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
88 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
117 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
89 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
36 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
87 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
44 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
118 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
63 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
180 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
45 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
76 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
216 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
96 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
73 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
242 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
101 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
20 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
124 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 ...
3
votes
1answer
109 views

How to update directory size after file removal?

This is mostly theorethical question without real practical usage. As you may know, filenames are stored in directory inode. That means the more files we have and the longer filenames are the more ...
0
votes
1answer
272 views

Unable to delete file “ldlinux.sys” from a partition

I wanted to create live bootable USB of gparted via unetbootin. But by mistake I specified the device of USB as a partition of external HDD rather than the USB drive. I deleted all the files that ...
3
votes
0answers
578 views

Grub rescue after corrupted hard-drive (“read-only filesystem”)

I run xubuntu 12.04 alongside a NTFS storage partition and a windows 8 partition. I moved my MySQL data directory off the xubuntu (ext4) partition, onto the NTFS partition, and did an import of a ...
0
votes
1answer
340 views

Why the size of an empty directory in Linux is 4KB? [duplicate]

I'm using Ubuntu 14.04 and I made an empty directory on /tmp with the mkdir command: cd /tmp mkdir foo and then I checked it's size using ls: ls -ldh foo and the result shows that the size of ...
0
votes
0answers
40 views

Getting partition boundary error when using GPARTED

I am trying to allocate my hard disk with below set of partitions using GPARTED. /dev/sdb1 - 256 MB /dev/sdb2 - 2048 MB With free space preceding as (4 Mb) between partitions. After applying the ...
2
votes
0answers
25 views

Many transient files on journaled filesystem?

Writing and deleting many files quickly I'm going to write many temporary files per second, over a sustained period. Each will be deleted after some milliseconds. Say we have an image processing ...
0
votes
0answers
341 views

mkfs.ext4: Discarding device blocks: failed - Input/output error

I am trying to format my new SD card, using following command; mkfs.ext4 -O ^has_journal /dev/mmcblk0p2 and I get following error: Discarding device blocks: failed - Input/output error I don't ...