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

learn more… | top users | synonyms

5
votes
1answer
489 views

A weird issue relate to ext4/lvm/raid-5 after partition recovery

I have 3 hard disks, in the following paragraphs named /dev/sda, /dev/sdb and /dev/sdc, newest came first. Note: /dev/sdc has one primary partition /dev/sdc1, one extended partition /dev/sd2, and 3 ...
3
votes
1answer
366 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 ...
2
votes
1answer
305 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 ...
1
vote
1answer
33 views

Infinitely deep folder without symlinks in ext4

It seems like I can find an infinite number of /pl/locale subfolders in this ext4 partition, yet none of them are symlinks. Where is the loop? $ ls -ld ...
1
vote
1answer
11 views

Not able to drag an application into new sda1 HD?

My primary HD (sdb) is a SDD (Solid State Drive). I installed and formatted a new 300 GB drive (sda) to ext4. I am not able to drag an application.run file into the new sda1. Why? Because it need a ...
1
vote
1answer
233 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 ...
1
vote
1answer
31 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
1answer
756 views

On Linux allow a file to be read/write but not deleted

Is there a way in Linux on a ext4 file system that I can make a file readable and writeable but not deletable? The directory that the file resides in still needs to be writeable by the owner of the ...
1
vote
1answer
630 views

Does stat/lstat on nonexistent file cause a disk seek?

When searching for a library file from a right folder, my application currently does couple of lstat's for the possible locationslocations. Now I'm wondering whether these lstat's (application is ...
0
votes
1answer
142 views

Unable to mount corrupted (?) ext4 filesystem on usb hard drive (Ubuntu 14.04)

I have a 1 TB external USB hard drive from which I deleted the original NTFS partition and created an ext4 partition through gparted. I then started copying a 500 GB file onto the new partition, but ...
0
votes
1answer
74 views

recovering scrambled ext4 partitions

My year old 3TB Seagate drive stopped working. The drive had 3 ext4 1TB partitions which hold almost 2 years of accumulated data. I was using it in a ubuntu server when the mounted partitions stopped ...
0
votes
1answer
98 views

Ext4 USB stick gets corrupted again and again

I installed Debian Wheezy (No GUI/Desktop) on a 4GB USB stick (because the harddrive of the machine was defective, currently the slot is empty), but shortly after, I got an “Input/Output error” when ...
0
votes
1answer
29 views

Partition for a non partitioned ext4

I have a large almost full disk that was written with a ext4 FS but without being first partitioned. I need to use it with a Windows 7 machine (via ext2fs), but I also have a Linux machine available. ...
0
votes
1answer
80 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) ...
0
votes
1answer
1k 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, ...
0
votes
1answer
61 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
247 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 ...
0
votes
1answer
213 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 ...
2
votes
0answers
1k 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 ...
2
votes
0answers
170 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 ...
1
vote
0answers
40 views

Is copying files between two different file systems slower than between the same file systems?

I was wondering if copying files between different file systems (for example from ext4 to ntfs) is slower than copying to the same file system (from ext4 to ext 4). I also would like to know how does ...
1
vote
0answers
67 views

How to defragment or minimize a “directory file” on ext4?

I have quite an old home directory on HDD. There were lots of files created and removed and now the size of /home/username is 995328 bytes. Please note, I mean the size of the "directory file" (every ...
1
vote
0answers
113 views

SSD seems to be read-only, nothing can be written to it (linux ext4 filesystem)

After two week of normal use my new SSD began to work strange. Now it seems that no file is written to it. An example: root@hooker3:~# mount |grep ssdhome /dev/sda3 on /ssdhome type ext4 ...
1
vote
0answers
23 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
0answers
317 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 ...
1
vote
0answers
73 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
0answers
263 views

How do I add additional locations to the Windows 7 Recycle Bin Properties?

I have set up a home network with a small file server running Samba. I read on a forum post that by re-mapping a user folder on Windows 7 to a network drive, a reference to that drive will be added ...
1
vote
0answers
449 views

extundelete does not finish its work

I need to restore a file on sda7 so I remounted ro und startet extundelete manuel@P5KC:~/recovery/RECOVERED_FILES$ sudo extundelete --restore-all /dev/sda7 WARNING: Extended attributes are not ...
1
vote
0answers
170 views

from XEN to VMWare

I have migrated many xm virtual machine to vmware Using http://www.zoobey.com/index.php/resources/all-articles-list/268-xen-to-vmware , migrations were very smooth. But now I am struck in a xm ...
1
vote
0answers
330 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, ...
1
vote
0answers
326 views

Filesystem to quickly get recent modifications

I've got relatively big filesystem (ext4) with lots of small files and I'd like to backup it. Making full backups often is not feasible to me so I want to have a way to make differential/incremental ...
0
votes
0answers
4 views

Proper rsync flags for backuping from ext4 to ZFS

I have a home server running Ubuntu 14.04.3 LTS with an ext4 file system, to which I regularly backup data from various devices. Now I have set-up an external USB HDD with ZFS file system and would ...
0
votes
0answers
45 views

CentOS 7: Partition resizing issue where now there is a lost+found folder full of numbered folders and the data is gone

Set up Running a home server with a 2TB HDD. Running VMWare ESXi 5.5 that has 2 guest OS; CentOS 7 and Windows Server 2012 R2. There are 3 virtual disks (VMDK) thickly provisioned: 20GB CentOS 7 ...
0
votes
0answers
22 views

Partition recovery

During a fresh installation, I accidentally formatted a disk containing datas. I tried using testdisk to recover the erased partition, but , it only detects the new one. With the deeper search mode, ...
0
votes
0answers
41 views

GParted shows false partition information after resize2fs of ext4 partition

I expanded my mdadm RAID 5 from 5 to 6 4TB disks and grew the raid. That all worked well. After I tried to expand the ext4 filesystem in GParted, which failed because of the 16TB limit. Afther the ...
0
votes
0answers
97 views

How do I use an Ext4 partition from Windows with correct file permissions for Linux?

I use Windows 7 and ext2fsd to access a data partition which uses ext4 as mentioned here, here and here. I can read and write from Windows. When I boot into Linux, it is able to read the files but ...
0
votes
0answers
43 views

Filesystem fails when trying to boot Arch from USB pendrive

Lately I was trying to make bootable pendrive with Linux Arch. Following "Begginers guide" from wiki.archlinux.org, I made it, using syslinux as my bootloader, however, it doesn't work properly. ...
0
votes
0answers
73 views

Resize encrypted lvm volume and reallocate the space to windows partition

Here's a diagram of my solid state drive's partition setup. sda sda1 - boot (ext4) sda2 - LUKS Encrypted Partition LVM Volume Group Swap Logical Volume (ext4) Root Logical Volume (ext4) Home ...
0
votes
0answers
91 views

Ubuntu 14.04 Desktop as local server - ext4-fs error

I have set an Ubuntu 14.04 as a local server. Also I have two identical hdds on RAID1, on md0. I have tested raid configuration and works ok. I installed virtualbox from the official website and keep ...
0
votes
0answers
35 views

What is the `fsck.ext4 -i` file format?

I have a usb hard-drive that I just reformated as ext4, but which will fail in r/w mounting after a few seconds, remounting in read only. dmseg and /var/log/syslog help me as they provide information ...
0
votes
0answers
17 views

Why is the Write Cache not set by default to enabled in Lubuntu 14.04?

Is there a reason why they have not enabled it yet? I thought ext4 was stable now. I am on a SSD if that matters.
0
votes
0answers
53 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 ...
0
votes
0answers
48 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 ...
0
votes
0answers
485 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
102 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 ...
0
votes
0answers
122 views

Setting up Fedora alongside Windows 8 with special considerations

I've recently found myself much more comfortable using the console and other tools on my Mac than their counterparts with Windows. Specifically, these tools include LaTeX/xindy, emacs and its load ...
0
votes
0answers
515 views

Cannot mount harddrive from HP ProBook via SATA-USB adapter

I'm trying to mount harddrive from HP ProBook 4525s to another computer for data backup from damaged laptop. There are two ext4 and one swap partition on hdd. I'm using SATA-USB adapter, but after I ...
0
votes
0answers
219 views

parted killed my ext4 stuff

In parted you're supposed to be able to delete a partition, make a new one, and your data will still be there. It's gone. Nothing, not even testdisk is finding the partition. If I do the same stuff ...
0
votes
0answers
644 views

Booting an EXT4 image file from GRUB2

My friend needed a fast HDD so I gave her my small 64GB SDD. This SSD had my Linux install on it. I used dd to make an image of the partition (boot, root and home on one partition). This partition is ...
0
votes
0answers
607 views

My ext4 partition became unreadable

When I boot up my PC (duel boot with Vista, which works fine) and go to ubuntu in the grub menu I get an almost immediate kernel oops. Errors include (from memory) /dev, /proc & /sys doesn't ...