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

learn more… | top users | synonyms

4
votes
1answer
924 views

Why are the sizes of 2 directories different if the data within the directories is identical? They are identical ext4 partitions and disks

root@phoenix:~# ls -ld /backups/external?/var/subsonic/thumbs/110 drwxr-xr-x 2 root root 73728 Mar 4 15:35 /backups/external3/var/subsonic/thumbs/110 drwxr-xr-x 2 root root 69632 Mar 4 15:35 ...
1
vote
3answers
3k views

Is there any way to restore EXT4 partition

Is there any way to restore ext4 partition after formatting the entire hard disk then making two partitions of NTFS
5
votes
1answer
361 views

Linux shows several folders with the exact same name

I recently used a mac to copy several files and folders to a USB drive (ext4 through ExtFS), and now in Linux (Xbian) two folders in the root of the drive are shown four times. The output of "ls ...
0
votes
0answers
41 views

Why I cannot format a microSD to ext4?

I have a Toshiba Class 10 64GB microSD that I want to use in a tablet (Cyanogenmod 11) by formatting it ext4. So I did the usual thing (under Fedora 20): created a single Linux partition with sfdisk, ...
1
vote
1answer
32 views

Recover LVM with software raid

I have a Synology NAS using SHR mode, which is basically LVM and Raid 5. Somehow my LVM volume became corrupted and won't mount anymore. This volume houses over 20TB of data, and most of it is NOT ...
0
votes
2answers
936 views

Convert ext4 hard drive to ntfs fromat without formatting

I have a 1TB external hard drive with about 800gb data of ext4 format. Is there a way of converting it to ntfs format without having to format hence losing my data?
0
votes
1answer
27 views

How many actual files were you able to store in a CentOS folder?

I found many questions about the total files limitations of the CentOS file-system, but I was curios in actual real-world situation, how many files people were able to store in one single CentOS ...
1
vote
4answers
194 views

How to copy files from one computer to another without losing any metadata?

Similar to but more demanding than this question : How to copy files while not modifying the file creation times at all? I want to copy files between computers without the "Modified" and "Created" ...
1
vote
1answer
99 views

Attributes of a file - followup for Windows and Linux

I found a question that lists the (quote): attributes are of a regular file (as opposed to a symbolic link, etc.) on Mac OS X with Mac OS Extended (Journaled) (HFS+) Does such a list exist for ...
2
votes
0answers
62 views

How to stop jbd2 to release a device

In an AWS EC2 instance, we have multiple EBS volumes. When I try to detach any of them, the umount command works, but the device can't be detached. # grep -c xvdj /proc/mounts 0 However, lsof ...
7
votes
5answers
7k views

Linux file system for a big file server

I would like to know, from more experienced people, what would be the best choice of file system to use for a file server having more than 20TB of hard disks. Personally I always used EXT3 (back in ...
1
vote
1answer
47 views

How to shrink an ext4 partition from Windows?

My system has three primary partitions: two NTFS (one "system-reserved") for Windows 7 and one ext4 for Linux. How can I shrink the ext4 partition from Windows? I've tried the built-in Disk ...
0
votes
0answers
27 views

Is it possible to recover ext4 journal state before inode corruption?

First of all I'll describe my situation: I decided to make some partitions cleanup, resize, etc (not creating damn backup). Then I wanted to shrink filesystems, so I closed computer and booted some ...
0
votes
0answers
205 views

Forcing ext4lazyinit to finish its thing?

Is there any way to 'force' ext4lazyinit to finish the thing it does with maximum priority? Something like "I don't care about my system's ressources, just do your job as fast as you can"? I should ...
1
vote
2answers
1k views

Upgrade root (also boot) filesystem from ext3 to ext4 on Debian

After upgrading a Debian system from 5.0 to 6.0 (Lenny to Sqeeze), how do I go about upgrading the root filesystem (which in this case is also boot) from ext3 to ext4?
0
votes
1answer
33 views

How to modify the starting boundary of an ext4 partition?

There are 4 partitions on the disk. parted /dev/sda --script -- print ... 1 1049KB 50.0GB ... ext4 2 50GB 82GB ... linux-swap 3 82GB 100GB ... ext4 4 100GB 1000GB ... ext4 My goal is to ...
2
votes
2answers
3k views

Linux: mount options to improve performance on slow HDDs?

I encounter a performance problem with two HDDs. One is fast but mounted remotely through NFS, the other is local (ext4) but slow. No, exchanging the two drives is not an option, because it would ...
0
votes
1answer
302 views

Ext4 forensic analysis

I'm doing a thesis about forensic analysis and I'd like to format a disk with an ext4 file system without zeroing it, to analyze the possibility to recover deleted files. This is a problem, because ...
0
votes
1answer
155 views

Restoring data from lost NTFS partition?

I had 3 NTFS partitions (C,D,E) on my old laptop running Vista. I wanted to install Ubuntu on the system partition C, i.e. over-write Vista, but keep D,E which were storage partitions. Stupid moron ...
1
vote
1answer
391 views

Segmerntation fault when running extundelete on Ubuntu - what to do?

I have a partition raw image on which I am trying to run extundelete to undelete some files from an ext4 filesystem. Unfortunately extundelete exits with a segmentation fault. Is there anything I can ...
0
votes
1answer
69 views

Someone please explain how I'm writing to EXT4 from Windows 8.1

I'm dual booting Debian amd-64 Wheezy 7.5 and Windows 8.1 I have 6 drives and I am 100% positive that four of the drives are formatted Ext4 (Formatted in Linux) How on earth is it that when I'm in ...
87
votes
7answers
99k views

How to read ext4 partitions on Windows?

Is there a way to read ext4 partitions from Windows? If so, what can I do?
1
vote
0answers
43 views

Ext4 allocation pattern with random writes in sparse file

If I create a large (a few GB) sparse file in ext4, and then write randomly throughout the length until all 4k blocks have been "touched", in the absence of other heavy write load, can I expect that ...
0
votes
0answers
111 views

How to run exe files on an ext4 partition using Paragon ExtFS under Windows 7

I've tried Paragon's ExtFS to mount an ext4 partition under Windows 7. I could open documents like PDF files without any problem, and creating and deleting files seems to work well, too (I've only ...
0
votes
0answers
16 views

Install e2fslibs 1.41

I have to use extundelete for my debian, but it requires e2fslibs 1.41. The command apt-get install e2fslibs-dev installs 1.42 version that is not compatible with it. How to downgrade? I'm usingh ...
4
votes
3answers
893 views

Pros and cons of ext4 for Ubuntu?

I've just converted another of my machine to Ubuntu. Should I consider using ext4?
1
vote
1answer
91 views

I accidentally formatted the wrong volume - is it possible to restore the previous Ext4 filesystem?

I know that a similar question has already been asked. This morning I accidentally formatted the wrong volume, containing mostly video files (about 30GB each). I am currently trying to restore the ...
4
votes
3answers
221 views

Can a large number of (small) files degrade the performance of a filesystem?

I'm working on an archival project and currently I'm storing 514600 images (ranging from 200kb to 2mb) on my 4TB NAS drive. The drive itself is formatted as ext4 and I'm writing the files over the ...
1
vote
1answer
655 views

How could I easily pack a directory to an ext4 loop partition image?

I would like to pack the content of a directory into an ext4 partition image easily, without mounting a loop device. Background: I am building a version of Android which will mount system partitions ...
15
votes
3answers
795 views

Moving 2TB (10 mil files + dirs), what's my bottleneck?

Background I ran out of space on /home/data and need to transfer /home/data/repo to /home/data2. /home/data/repo contains 1M dirs, each of which contain 11 dirs and 10 files. It totals 2TB. ...
1
vote
0answers
69 views

ext4 superblock backup locations are different from what is documented

When I format an ext4 filesystem the mkfs says: Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000 My sparse_super flag is ...
1
vote
0answers
25 views

ext4 superblock checksum?

I'm reading the ext4 superblock, but its s_checksum (offset 0x3FC) is always zero. Also the s_checksum_type (offset 0x175) field is zero as well, however according to ...
2
votes
2answers
1k views

Parted has no 'resize' command available

I'm trying to resize a partition using parted, but it has no the 'resize' command available gchain@archbogchain@archbook:~$ sudo parted /dev/sdb GNU Parted 3.1 Using /dev/sdb Welcome to GNU Parted! ...
4
votes
4answers
8k views
0
votes
0answers
16 views

How much data needs to be written to format a drive for ext3 / ext4?

If formatting a hard disk with mkfs.ext3 or mkfs.ext4, how many mb's will be written per mb space formatted?
5
votes
2answers
9k views

How can I get access to EXT2, EX3 and EXT4 partitions on Windows 7?

I tried all programs recommended to mount Linux partitions like EXT2 or EXT3 or even EXT4 but no one can do well on Windows 7 32 bit. I want to access read-write, is there a program that can do this? ...
1
vote
0answers
201 views

Mounting a remote disk image which I made local via sshfs? Possible?

The core question first: Is sshfs fit to provide low-level reads/writes/seeks as required when a file contains blockdevice-like contents? Why? Well... I am trying to locally mount a filesystem-image, ...
3
votes
1answer
8k views

Disable journaling on ext4 filesystem partition

I'm running Linux Mint on an SSD. I've read how one optimization is to disable journaling. However, when I run the command: sudo mke2fs -t ext4 -O ^has_journal /dev/sda1 I get an error saying that ...
5
votes
2answers
588 views

stat and ls show wrong file size (terabytes wrong)

Ok, I have a bunch of vCard files, all about 200 to 300 Bytes in size. While trying to get them archived, I wondered why that takes so long and discovered that there is one file with a wrong size. ...
13
votes
1answer
648 views

After deleting lots of large files, free space increases with a large delay

Yesterday, I have deleted 71 GB of files on my home/media server. Free Space before: 117 GB Free space after: 126 GB So, instead of having 71 GB of additional free space, I only had 9 GB. I have ...
0
votes
2answers
293 views

Recover Hard Drive Accidentally reformatted from NTFS to Ext4

So me and my friend were installing Arch Linux on my external hard drive. My external hard drive had no data on it, ready to roll. My friend had partitioned my external hard drive (I am positive that ...
1
vote
1answer
68 views

Changing fstab options

What happens when file-system options in fstab are changed? Speaking of an already populated file-system, would changing options in fstab cause issues? For example, if one were to enable or disable ...
0
votes
0answers
226 views

Is ok to limit writes on SSD/EXT4 by setting commit parameter in fstab?

I've installed an SSD on my / (Linux scv 3.8.0-34-generic #49~precise1-Ubuntu SMP Wed Nov 13 18:05:00 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux). If I leave the default settings in /etc/fstab I can see ...
14
votes
3answers
35k views

How to mount read-write an ext4 partition on Windows?

I want to use ext4 on my external HDD, but it must be cross-platform. (At least Linux, Win7 & WinXP). Unfortunately, I haven't found any proper driver allowing Windows to WRITE to ext4. I've ...
0
votes
0answers
217 views

Mac OS X: access unlcean ext4 on TrueCrypt partition

I have two external drives (mirrored), encrypted with TrueCrypt, that host ext4 filesystems, each. I use ParagonExtFS to mount them at work, on the Macs we use there. At home, I have a Linux box. ...
0
votes
1answer
304 views

Partition went read-only, how to mount it again?

Every now and then the partition of my Linux installation goes read-only. Since the computer is a laptop, I suppose it's due to some writing error caused by some harsh movement. Partition was mounted ...
1
vote
1answer
71 views

ext3 vs ext4 bonnie++ rand/seq create speed

I am testing the difference between ext3 and ext4 for our application. When I run both filesystems through a bonnie++ test, the results for file creation on ext4 aren't very good. While ext3 can ...
3
votes
2answers
241 views

Is there anything faster than `find . | wc -l` to count files in a directory?

Not uncommonly I have to count the number of files in a directory, sometimes this runs into the millions. Is there a better way than just enumerating and counting them with find . | wc -l ? Is there ...
2
votes
1answer
361 views

ext4 integration in windows 8 - access through explorer

I know there are similar questions; however none I could find that addressed accessing ext4 through explorer, most others simply use a third party application. However, my question is; is there a way ...
1
vote
2answers
600 views

Shrinking ext4 partition: fdisk won't allow to recreate the partition at the same start block

Last time I shrank a partition, it was just as easy as deleting it and recreating it from the same start sector. But this time, fdisk won't allow to recreate the partition from sector 63, it forces ...