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

learn more… | top users | synonyms

0
votes
1answer
44 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 ...
3
votes
3answers
43 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
554 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
593 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
18 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
13 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 ...
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
7
votes
5answers
6k 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 ...
0
votes
1answer
55 views

extundelete: segmentation fault, 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 ...
1
vote
1answer
81 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
2answers
986 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
7k views
0
votes
0answers
14 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
8k 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
171 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, ...
2
votes
1answer
5k 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
411 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
350 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
129 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
48 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
129 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 ...
11
votes
3answers
28k 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
160 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
62 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
53 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
129 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
312 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 ...
0
votes
2answers
233 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 ...
0
votes
1answer
589 views

eMMC Standards and File System support

I am looking into Android secure erase functions and realized a few things: Android uses eMMC as its storage media, eMMC standards are set by the JEDEC organization (currently most of the ...
0
votes
1answer
306 views

How do I mount vhd disk to Ubuntu (Hyper-V)?

I use windows server 2008r2 with role Hyper-V. The guest system is Ubuntu 12.04 LTC. It is situated on the dynamic virtual hard disk VHD1. I add another VHD2 disk as SCSI. Now I want to mount this ...
0
votes
1answer
142 views

FreeNAS 8 and ext fs

i'm trying out freenas8 for my personal NAS, i have lots of data that was in an ubuntu server, but somehow i never got the file sharing right. on freenas things just worked. i installed on usb, tried ...
1
vote
0answers
123 views

Contiguous physical allocation of a set of files in linux filesystem (ext4)

I have a set of files that I wish to be allocated contiguously in the filesystem. I will be accessing all these files sequentially in a single read one after the other and I want to optimize reading ...
0
votes
0answers
30 views

Image file can't be opened by windows store app if the file is in the Ext4's external hard disk

My question is described below: I have two disks, external hard disk and removable disk. They are formatted with EXT4. I put the same image in the disks, and use Ext2Fsd to mount the disks. I open ...
1
vote
1answer
22 views

EXT and other filesystems

Is it true only NTFS needs to be defragmented? Are filesystems like ext4, 3 and 2 immune to fragmentation issues. Apple never seems to require a defragmentation so what makes some filesystems immune ...
6
votes
3answers
11k views

How can I recover/undelete files from an ext4 partition?

Has anyone had success recovering deleted files from an ext4 partition? I've tried various utilities, but none have worked yet. I'd be grateful if someone can share a success story!
0
votes
1answer
122 views

EXT4 external hard drive for use with multiple systems

I recently bought a external hard drive to store some data on. I use Linux but I am not a power user. If I format the drive to EXT4, is it possible for the permissions to ever screw up and I lose ...
69
votes
6answers
85k views

How to read ext4 partitions on Windows?

Is there a way to read ext4 partitions from Windows? If so, what can I do?
2
votes
2answers
1k views

Finding out the time a filesystem was last mounted

I want to find out the last time a filesystem was mounted on Linux (Debian). Any help? Cheers Michael
0
votes
0answers
39 views

Can grep read filenames from partially formatted filesystem?

Quick Explanation I accidentally partially (ripped the cord out when it started) formatted an ext4 partition via Ubuntu Disk Utility GUI as ext4. Presumably via mkfs or mke2fs or however it does it ...
0
votes
2answers
915 views

XFS and loss of data when power goes down

Each time electricity goes down, my desktop (without UPS) loses some temporary information. Opera can lose settings, history, cache, or mail accounts (Thanks heavens I was wise to use IMAP). ...
0
votes
1answer
141 views

e2image restore file system metadata

I'm trying to recreate file system metadata on a virtual disk. I can save this metadata using e2image, and the e2image man page tells me I can use e2image -I to restore the file system. Unfortunately, ...
0
votes
1answer
27 views

A file system operation that would incur a seek/rotational cost

I am looking to generate a workload that will do operations on a file system that will make the disk access to have rotational or seeking cost. Env details: partition size: 30 G. File system : ...
1
vote
1answer
417 views

Reverse lookup of inode/file from offset in raw device on linux and ext3/4?

In linux, given an offset into a raw disk device, is it possible to map back to an partition + inode? For example, suppose I know that string "xyz" is contained at byte offset 1000000 on /dev/sda: ...
2
votes
2answers
6k views

Creating ext4 partition from console

I have a volume /dev/sda1 (1.2 TB) containing an NTFS partition using 0.6 TB space. I want to make an ext4 partition in the remaining 0.6 TB space. I have not tried anything yet because I don't want ...
0
votes
0answers
26 views

Does the ext4 journaling option have any affect for Windows SMB clients?

Does the ext4 journaling option have any affect for Windows SMB clients? Or is it useless and I'd perform better (better up- /download speed) without it?
0
votes
0answers
81 views

cloning a HD using dd: can this cause filesystem problems using ext4?

Background: hard drive A has a large LVM partition inside which a number of Ext4 filesystems live. hard drive B is of a different make/model and of larger size. Questions: If I image (using dd) ...
4
votes
2answers
3k views

how to convert NTFS to ext4 in windows?

I want to convert one partition of my windows which is NTFS (or can be FAT32) to a linux file system partitioning? I'm looking for some tools or ways to do it for me!
18
votes
6answers
44k views

Modify fstab entry so all users can Read and Write to an EXT4 Volume

I have an Ubuntu 10.04 box with an EXT4 partition. This partition is set to automatically mount in /etc/fstab. For the purposes of this post, we'll call it: /media/foo. Unfortunately, only root ...
0
votes
0answers
200 views

openwrt mkfs.ext4 fails on huawei hg556a

i am trying to create a partition on an external disk and format it using mkfs.ext4, but i am receiving the following error: root@OpenWrt:/# mkfs.ext4 /dev/sda4 mke2fs 1.42.8 (20-Jun-2013) Filesystem ...
0
votes
3answers
223 views

Using ext4 hard drive on Windows XP Pro machine?

Have an old laptop with Windows XP Pro and a new one with Linux Mint 13 LTS. I want to transfer my personal files from the old machine to the new one. Firstly I thought using crossover cable but I ...