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
989 views

How can I recover damaged file from overwritten ext4 partition?

My disk, which was previously ext4 has been formatted and Windows has been installed. I want to recover my previous files (family photos, ..) and I tried everything I could find on the internet. I ...
1
vote
0answers
128 views

Disk partition emptied during tar backup

This morning I was doing a routine backup of my development drive, one of 4 primary partitions on my hard-drive. The script I ran was: filename="/home/Backups/Devi_"`eval date +%Y%m%d`".tgz" touch ...
0
votes
1answer
1k views

Not possible to recover or delete file in a ext4 filesystem

How can I fix a message like this (read after a dmesg command)? EXT4-fs error (device hdb1): ext4_lookup: deleted inode referenced: 119197 EXT4-fs error (device hdb1): ext4_free_inode: bit already ...
0
votes
2answers
340 views

Recover Linux ext4 partition formatted to hfs+

I have a Linux partition formatted to ext4 and I accidentally formatted it with Mac OS X Disk Utility to HFS+ (Mac OS X Extended Journaled). I tried to recover it with http://www.r-studio.com/ on ...
1
vote
1answer
517 views

Ext4 exhibits unexpected write latency variance vs. ext2

I have a latency sensitive application running on an embedded system, and I'm seeing some discrepancy between writing to a ext4 partition and an ext2 partition on the same physical device. ...
1
vote
1answer
92 views

not able to add files to HDD

I created a single primary partition to my WD WD800BB-55JHA0 80GB HDD using MBR partitioning scheme. Into this partition I created an ext4 file-system with 200048640 inodes! Then I created loads of ...
2
votes
2answers
259 views

How to mount remote file system

I want to mount my Windows NTFS share C:\ to Linux ext4 file system, so I can see the file system tree as part of my Linux file system and transfer my files. PS. I am using rhel6.
2
votes
2answers
382 views

Permissions on an ext4 filesystem on a removable drive used in different machines

I have a USB flash drive with ext4 file system and its files are owned by my user on my local machine, for example by myuser@myhost with 700 permissions. If I unplug my flash drive and plug it in ...
1
vote
1answer
2k views

Filesystem suddenly read-only?

I've been storing some files on a MicroSD formatted to ext4 that I connect via USB. I tried to move a directory in it to an external hard drive, and I got mv: error reading ...
1
vote
1answer
948 views

Recovering files from partition (ext4)

a part of out homework assignment is to recover deleted files from the partition with the ext4 file system. I've tried using the extundelete tool, by following this tutorial. The tool recovered a lot ...
3
votes
1answer
593 views

Risks involved with lazy_itable_init=1 for ext4 fs on SD card

My setup is the following: Linux kernel 2.6.28 e2fsprogs 1.42.7 64 GB class 10 SD card I am attempting to speed up the time it takes to format the entire card to an ext4 filesystem. My research ...
2
votes
1answer
3k views

Extremely long time for an ext4 fsck

The problem that I am having is the extremely long time that fsck is taking. I have thoroughly made searches on Google, but I could not find anything that would resolve the problem. The command that ...
1
vote
2answers
596 views

What is the “cost” of deeply nested folders in ext4?

I was running into performance problems with hundredthousands of files in single directories when I needed to do certain wildcard matches. From my applications point of view, a simple solution is to ...
7
votes
1answer
2k views

ext4: where did my free space go?

I just upgraded my Mageia 2 64bits VM to Mageia 3, and now my virtual disk free space is almost nil, even though less than 100% of the space is used. I am not an ext4 filesystem expert but I have ...
0
votes
1answer
131 views

Safest way to run ext4 fsck on external drive

I have an external drive formatted in ext4 that throws this error message when is plugged in EXT4-fs (sdd2): error count: 8 initial error at 1366215273 last error at 1366215527,it generally works just ...
4
votes
2answers
4k views

Drawbacks of increasing number of inodes in EXT4

I am currently using backintime to take "snapshots" of my file system. It is similar to rsnapshot in that it, makes hard links to unchanged files. I have recently run out of inodes on my EXT4 ...
3
votes
1answer
442 views

What does the command “chattr +c /some/dir/” do?

I'm trying to keep a bunch of plain text files compressed using the extended attribute option - c on a debian ppc64 system. I ran the following commands: # mkfs.ext4 /dev/test/compressed # mount ...
8
votes
1answer
5k views

How can I mount filesystems with > 4KB block sizes?

I have a 3TB hard disk pulled out of a WD Mybook Live NAS. The partition table is as follows: Model: ATA WDC WD30EZRS-11J (scsi) Disk /dev/sdb: 3001GB Sector size (logical/physical): 512B/4096B ...
3
votes
3answers
345 views

Convert old /home from ext3 to ext4

I have an old /home partition, that dates back to former linux systems, and it is still in ext3 format. Whereas the rest of my system, / and some other mounted point are devices formated in ext4. I ...
1
vote
2answers
145 views

Encrypted disk filesystem compatibilities

On my Debian Linux system during the install I decided to use disk encryption (the one offered during a regulard Debian install). When the system boots up I need to enter a password and then the ...
14
votes
2answers
2k views

Can the same ext4 disk be mounted from two hosts, one readonly?

I know that mounting the same disk with an ext4 filesystem from two different servers (it's an iSCSI vloume) will likely corrupt data on the disk. My question is will it make any difference if one of ...
1
vote
0answers
137 views

How can I delete data from in a hexdump file from one offset to another?

I've created a disk image which was zeroed, formatted to ext4 file system, and then had several various files copied to it. I'm trying to extract these files using a combination of xxd and dd, but ...
6
votes
1answer
1k views

Is it possible to disable file permissions on a ext3 or ext4 file-system?

Is it possible to disable file permissions on an ext3/4 file-system? Just wondering if it's possible to completely disable or ignore file permissions on a ext3 or ext4 file system. Perhaps a mounting ...
7
votes
4answers
7k views

Should a laptop user switch from ext4 to btrfs?

Related to this. I'd like to take advantage of an OS switch to upgrade to BTRFS. BTRFS claims to offer a lot (data-loss resiliency, self-healing if RAID, checksumming of metadata and data, ...
5
votes
3answers
4k views

Recovering an ext4 filesystem with corrupt journal

I have a hard drive that seems to have developed some kind of hardware problem in the journal. This prevents the drive from being loaded. Running mount -r -t ext4 /dev/sda5 /mnt/root results in the ...
1
vote
1answer
243 views

How to put syslinux on an sd card

I would like to know how to put syslinux on my sd card and I have tried using extlinux. However, I keep getting the message Missing Operating System. Please help me.
2
votes
1answer
89 views

How to write isolinux to an ext4 filesystem

How would I write isolinux to an ext4 filesystem on an 1 GB SD card so that it would boot at startup?
1
vote
1answer
118 views

Constant reading using ext4

I had a disk with a full size NTFS partition. I just deleted it and created an EXT4 one. When it was NTFS, if it wasn't in use (mount but no in use) it was quiet. However now, using EXT4, it is ...
34
votes
6answers
23k views

How do I know if a partition is ext2, ext3, or ext4?

I just formatted stuff. One disk I format as ext2. The other I want to format as ext4. I want to test how they perform. Now, how do I know the kind of file system in a partition?
3
votes
2answers
562 views

extundelete does not finish its work

I need to restore a file on sda7 so I remounted ro und startet extundelete manuel@P5KC:~/recovery/RECOVERED_FILES$ sudo extundelete --restore-all /dev/sda7 WARNING: Extended attributes are not ...
6
votes
1answer
788 views

Why could the size of the “dot” file “.” exceed 4096?

Today I found an "empty" directory with a size of 4MB. It had no visible contents, so I tried ls -lah. This showed me some hidden files (not very large). Searching for the reason why the directory ...
2
votes
1answer
161 views

Why is some filesystem space used even though the filesystem is empty? [duplicate]

Possible Duplicate: ext4: How to account for the filesystem space? After googleing a little I find that ext4 reserve 5% for root: Reserved space for root on a filesystem - why?, ext2/3/4 ...
4
votes
2answers
25k views

Why ext4 File System is better than NTFS?

For a presentation, I need to show ext4 File System is better than NTFS. I searched and got nice article on both ext4 and NTFS http://en.wikipedia.org/wiki/Ext4 http://en.wikipedia.org/wiki/NTFS ...
-2
votes
1answer
410 views

Extended partition should have many filesystems

I need some related information on the following lines I found in an answer: A logical partition is a container for a filesystem (or an LVM volume or some swap space or a BSD partition or other ...
3
votes
1answer
201 views

How do I choose between ext 3 and 4?

I tried looking at the difference, the main ones seem to be 4 supports more subdirectories in a file, supports larger files, has delayed write which I don't prefer as I don't want data loss. I also ...
0
votes
1answer
1k views

Resize non-LVM ext4 root partition

How can I shrink/resize a non-LVM ext4 root partition? The problem is I can't unmount it and I don't have physical access.
2
votes
3answers
1k views

Why does dd change the filesystem on the external disk?

I took out a 250 GB SATA disk from my netbook, filled it with zeroes with dd and connected it to my laptop via the usb adapter. It's correctly detected by fdisk: Disk /dev/sdb: 250.1 GB, 250059350016 ...
5
votes
1answer
613 views

What are EXT4 Security Labels?

During Gentoo installation of Gnome keyring, I am told to switch on EXT4 Security Labels, which is described in the kernel documentation by: Security labels support alternative access control ...
1
vote
1answer
83 views

What is a generic way of finding out whether the kernel has ext4 (or other) bugs?

From /. found this worrisome post by Theodore Ts'o. Turns out ext4 has some journalling problems. How can I quickly find out version numbers of susceptible kernels for this and other bugs?
3
votes
2answers
396 views

Fastest way to get list of all file sizes

I'm trying to create a graph of the distribution of file sizes on my ext4 system. I'm trying to write a script to scrape this information from my computer somehow. I don't care where the files are ...
0
votes
1answer
461 views

how to restore a logical partition to it's original ext4 format

This question is following Unable to mount /home/ partition after reinstalling grub after reinstalling windows 7 where the diagnostic was that installing windows 7 deleted my /home partion, lovingly ...
2
votes
1answer
2k views

Unable to mount /home/ partition after reinstalling grub after reinstalling windows 7

I've reinstall windows 7 on it's asignated partition and, as usually, it override the MBR with it's own stuff and, thus, it was not possible to boot to my ubuntu 12.04 partition. I followed the step ...
16
votes
2answers
6k views

Birth is empty on ext4

I was just reading up on the Birth section of stat and it appears ext4 should support it, but even a file I just created leaves it empty. ~ % touch test ...
3
votes
3answers
464 views

A lot of errors on ext4, however smart doesn't show any errors

I have a Debian box with additional ( it is not a system disk ) 1.5Tb sata hdd (wd caviar green). There is only one partition on the whole disk. Disk is used for backups from remote system (with ...
2
votes
1answer
359 views

How to fix a fragmented ext disk - myth or truth?

I just read this article about the virtually non-existent disk fragmentation on *nix filesystems. It was mentioned that due to the way ext handles writing data to the disks, fragmentation may only ...
3
votes
1answer
330 views

corrupted library after hard shutdown

yesterday night my laptop executes a hard shutdown because my battery was out of charge. After the reboot Xorg hangs and the troubleshooting was pretty hard. A first file system check of my ext4 ...
3
votes
1answer
4k views

recovering ext4 partition after dd'ing over start of HD

I accidentally used dd and wrote over the first 208MB of my external disk. What I wrote over is a partition on its own (Debian nestinstaller) so what I see now is not my old (now damaged) ext4 ...
1
vote
0answers
331 views

Howto configure autofs to work with usbsticks formatted with differend filesystems

I have some USB-sticks using fat32 as filesystem and others using ext4. Now I want to configure autofs to mount the sticks automatically. To make sure that the user can write to fat32 sticks I use ...
0
votes
0answers
38 views

Recreating EXT4 partition without losing data [duplicate]

Possible Duplicate: Can't mount EXT4 hard drive after mounting it in windows I have a 2TB Western External USB harddisk. I formatted it to EXT4. one time I plugged it to a windows ...
10
votes
2answers
5k views

Is it possible to change Inode count on an ext4 filesystem? [duplicate]

Possible Duplicate: How can I increase the number of inodes in an ext4 filesystem? I have a homemade NAS with Debian Wheezy 64bit. It has three disks - 2x2TB and 1.5TB, pooled together ...