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
46 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
46 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
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 ...
0
votes
1answer
67 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 ...
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?
0
votes
2answers
131 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 ...
13
votes
1answer
363 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 ...
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
132 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 ...
0
votes
0answers
161 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
63 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 ...
3
votes
2answers
132 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 ...
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 ...
0
votes
2answers
247 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
313 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
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 ...
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
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 ...
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
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 : ...
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?
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
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) ...
15
votes
3answers
600 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. ...
0
votes
1answer
145 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
0answers
201 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
227 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 ...
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 ...
0
votes
2answers
73 views

How to analyse timestamp in ext4 manually?

I am doing research on Ext4 and I believe I understand the fundamentals of Ext4. Ext4 stores timestamps. In my assignment, I have proposed to analyse the timestamp of Ext4 MANUALLY instead of typing ...
0
votes
0answers
158 views

How to recover data from ext4 partition formatted to LVM?

During Debian 7.1. installation I accidentally formatted my 60gb logical ext4 partition to LVM. I tried to recover data with testdisk and similar tools but with no success. Testdisk is unable to find ...
1
vote
0answers
50 views

Ubuntu 12.04/xp dual boot testdisk wrote the wrong mbr to my storage disk

Using disk Utility in Ubuntu 12.04, I inadvertently formatted my 1TB ext4 storage disk to NTFS. I was in the process of doing clean installs so I just pulled the drive and set up a usb hdd dock to ...
1
vote
2answers
803 views

Will a EXT4 Samba Share be readable by Windows/Mac OS X users?

If I share my ext4 drive by SMB will a Windows/OSX user be able to read/write to it WITHOUT installing additional drivers to their machine?
0
votes
1answer
334 views

Recover Linux ext4 partition formatted(erased) to hfs+

I have a Linux partition with 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 Windows but ...
5
votes
2answers
415 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. ...
0
votes
1answer
596 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
108 views

Rescue data from ext4 ISO image?

so, my SD card got broken and cannot be read completely (escpacially the directory I want to read from has problems). I was able to create an ISO image of the partition using dd but cannot mount it. ...
0
votes
0answers
153 views

KVM guests on Ubuntu 10.04 with ext4 sometimes become read-only

I have Debian 6.0 host with KVM (Proxmox VE 1.9) and 4 virtual machines with Ubuntu 10.04. And sometimes filesystem (ext4) on guest hosts become read only and VMs stops working. When I ssh to broken ...
0
votes
1answer
110 views

How does the number of files in the same folder affect I/O performance in an ext4 filesystem

I'm using Kyoto Cabinet (a key-value store) for my project. The specific type of DB I'm using is DirDB which creates a lot of files in a directory to store the key-value pairs. The server I'm running ...
0
votes
1answer
1k views

Corrupted linux partition: EXT4-fs error loading journal

I have a Linux partition (Ubuntu 12.10 upgraded to 13.4) on a machine that originally came with Windows 7. Windows 7 was working unusually slow (still is, and was still running slow after ...
0
votes
2answers
233 views

Linux: Should off-site backups be stored in ext3 or ext4?

We have been using ext3 for Linux server off-site backups. With everything else on CentOS 6 being ext4, I'm wondering if it would be a better idea to also have the off-site backups in ext4 too? The ...
5
votes
1answer
264 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 ...
1
vote
2answers
6k views

How do I read the Ext4 partition of my SD card on Windows? [duplicate]

I have a 32 GB SD card with one FAT32 partition and one Ext4 partition. If I mount the SD card to the computer I can read the FAT32 partition in Windows just fine. But how do I read the Ext4 ...
0
votes
0answers
78 views

setting system time at startup from ext4 filesystem

I have a pc with no battery backup and using ubuntu 12.04 with ext4 it will constantly ask me to handle the situation by saying that my superblocks last write is in the future. So I wonder - can I ...
1
vote
2answers
109 views

I have an ext3 iso disk image. Can I use it and write it to a ext4 partition?

Is it possible to do so ? I am migrating to EXT4 because of the SSD drive that has TRIM funtion. I have to have ext4 partion.
-2
votes
1answer
166 views

populated hard disk partitioning/moving (a lot of operations) [closed]

I have a HHD which is actually a mess. I would like to organize it and exclude some partitions I don't want to use anymore. Positioning the HD partitions beautifully require moving entire partition to ...
2
votes
1answer
313 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
613 views

mkfs.ext4 errors

I've just installed Kali Linux and am working with an img file I created from dd (/dev/zero). When I go to do mkfs.ext4 on it, I get mkfs.ext4: Device size reported to be zero. Invalid partition ...
1
vote
2answers
862 views

Is it safe to disable ext4 journaling on root and home partitions?

On my ArchLinux laptop I have / and an ecryptfs encrypted /home partition formatted with ext4. Both contains importand (backuped) data. Is it safe to disable ext4 journaling when partitions contains ...