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

learn more… | top users | synonyms

-1
votes
2answers
4k views

How to format to NTFS my EXT4 partition on Windows 8?

I'd like to format one of my partitions to NTFS which is EXT4 at the moment and an ubuntu is installed on, that I don't need anymore. I can't see the partition in My Computer and I've never tried ...
0
votes
2answers
74 views

Accidentally formatted ext4 partition

I have just formatted an ext4 partition to fat32 using gparted. I stupidly closed gparted before I realized that I might have been able to use the undo function. I am currently attempting file ...
2
votes
1answer
560 views

Unable to Create Files In Directory

There are lot of these kinds of questions on superuser, so I'll try and keep this quick by telling you what it's not: There is no application involved here. Just a user and a filesystem. I can login ...
0
votes
1answer
106 views

How to safely shred unlinked files on a Unix-based file system?

Scenario: After working with a confidential file (e.g. PDF a bank statement), you typed: rm my-confidential-file (or the famous Shift-Delete action in a GUI-based file browser such as nautilus) ...
1
vote
1answer
1k views

ext4 fs not recommended for SSD's? Alternative FS [closed]

I read ext4 journalling fs is not good enough for SSD's by some anonymous posts. while phornoix review shows JFS, not a known FS for average Desktop user is considered best for SSD. I believe JFS is ...
0
votes
1answer
2k 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
275 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
1answer
39 views

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

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
1k 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" ...
3
votes
1answer
600 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 ...
1
vote
1answer
347 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 ...
2
votes
0answers
2k 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 ...
0
votes
1answer
71 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 ...
0
votes
1answer
611 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 ...
0
votes
1answer
259 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 ...
2
votes
0answers
206 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
2answers
8k 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
0answers
55 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 ...
1
vote
1answer
162 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
1k 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
314 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
1answer
78 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
1answer
1k 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
2answers
878 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 ...
15
votes
1answer
2k 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
103 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
612 views

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

I have 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 ...
1
vote
1answer
3k 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 ...
4
votes
2answers
898 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
121 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 ...
1
vote
2answers
2k 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
2k 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 ...
1
vote
1answer
32 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
374 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
232 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
1answer
43 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 : ...
30
votes
2answers
98k 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 ...
17
votes
3answers
2k 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
2answers
661 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
3answers
382 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
157 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
184 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 ...
1
vote
0answers
75 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 ...
4
votes
2answers
3k 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
820 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
1k 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
2k 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
275 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
1answer
196 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
2answers
3k 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 ...