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
vote
0answers
8 views

How can I get Samba to close files immediately?

I've been experiencing a baffling disappearing file issue on my NAS since I first bought it, and only today after extensive testing do I think I have a handle on what exactly is occurring. I fear ...
1
vote
1answer
25 views

How to check that all files in a file system are can be read without errors?

I'm using an external hard drive with an ext4 file system to make backups. The backup software I use (faubackup) copies the file hierarchy 1:1 into a timestamp-named folder on the hard drive, and ...
0
votes
0answers
49 views

How can I identify and read only free-space junk data from EXT4 partition?

I have cloned an EXT4 partition via raw dd command from a Galaxy Nexus phone. How can I identify and read only free-space junk data from the EXT4 partition? I need to recover some WAVE samples(I'm ...
-1
votes
2answers
72 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
47 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
98 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
38 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
156 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
233 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
77 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
30 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
352 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" ...
2
votes
0answers
154 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
97 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
46 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
580 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
43 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
324 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
140 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 ...
1
vote
0answers
100 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
3k 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
157 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
22 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
114 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
436 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
145 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
32 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
1answer
611 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
0answers
19 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
402 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
883 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
71 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
316 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
260 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. ...
1
vote
1answer
651 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
400 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
78 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
845 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
773 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
28 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
210 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
184 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
37 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 : ...
8
votes
2answers
34k 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 ...
15
votes
3answers
987 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
295 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
325 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
108 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
111 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
68 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 ...