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
509 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
821 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
47 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 /mnt/rootfs/usr/share/locale/pl/locale/pl/...
2
votes
1answer
773 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
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
317 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
33 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
984 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
791 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
127 views

Manualy Clean Second Partition In Android Link2SD

I use Link2SD in my Android Phone to link some of my apps into external second partition. My external total size is 32GB and I partition it into 2 partition. First Partition is using FAT32, and the ...
0
votes
1answer
45 views

What data on a filesystem are really affected by powerloss?

Let my filesystem be ext4 mounted with data=journal. I don't fully understand what happens during power loss with filesystem in this case. So I have the following questions: Under which ...
0
votes
1answer
64 views

ext4 for data partition in Windows

I have moved my Windows user profile to a separate partition in order to share it with my linux install. I have originally tried to make a NTFS formatted data partition, but this creates some issues ...
0
votes
1answer
31 views

Best method to copy big partition contents with many hard links

We had a LVM of almost 16TB with ReiserFS. We now want to add more disks, but we cannot continue using ReiserFS, as it has a maximum capacity of 16TB. This volume is being used to make incremental ...
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 ...
2
votes
0answers
232 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 ...
2
votes
0answers
428 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
10 views

ext4 recovery: superblock backup numbers

Good time of day! After a horrible failure of the HDD, I got myself in a situation where I cannot mount the disk - it complains about the superblock issues. I found a great article that describes how ...
1
vote
0answers
85 views

abnormal behavior of the kernel jbd2 process

I want to understand the mechanism of the journal of the ext4 file system on partitions with no free space. When a process (apache-tomcat, in my case) keeps making small additions to debug log files, ...
1
vote
0answers
30 views

best way to copy content of NTFS partition to ext4 partition

I have a 263 GiB NTFS partition (with no free space) and want to copy all its files to a ext4 partition, that can't be larger than 294 GiB. I also need to copy NTFS Junctions as some kind of link. ...
1
vote
0answers
59 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
111 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
180 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 (rw,nosuid,...
1
vote
0answers
47 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
76 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
309 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
505 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
199 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
395 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
328 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
18 views

How to compress ext4 partition with Acronis while backup?

With Acronis, when I set to compress ext4 partition before backup, the result is a raw backup and not compressed. The same process with NTFS or FAT32 partition, results are compressed. Please tell ...
0
votes
0answers
33 views

Will `tune2fs -E stride=X` have the same effect as `mkfs.ext4 -E stride=X`

The man tune2fs and man mkfs.ext4 state: stride=stride-size ... This mostly affects placement of filesystem metadata like bit‐maps at mke2fs(2) time to avoid placing them on a single ...
0
votes
0answers
26 views

Use `extundelete` to Restore Single File

There is a file which I didn't delete but it went missing (see http://unix.stackexchange.com/questions/249894/files-just-go-missing-on-ext4-partition-within-truecrypt-volume). I don't know the full ...
0
votes
0answers
83 views

How far in the past extundelete can go?

Yesterday I've accidentally deleted files from ext4 partition. During this time some downloading was running. If the content cannot be recovered I would be glad just for file names which were deleted. ...
0
votes
0answers
123 views

“Bad magic number in super-block” with external HDD ext4 partition

I have a self-powered external HDD plugged through USB to my laptop. I deleted the single partition it had, intending to create a new encrypted partition. But I started getting an error once I ...
0
votes
0answers
41 views

Sharing Folders over Network via EXT4 Dual Boot

This may be a complicated question, so I apologize in advance: Two computers on a home network: Tesla (dual boot linux Mint & Windows 10), Spitfire (Windows 10). Both have Kodi (XBMC). I want to ...
0
votes
0answers
107 views

Unable to get ext2fsd to start automatically

I dual-boot between Ubuntu and Windows 8.1, and I am currently using ext2fsd to access files on my Linux drive and my shared file drive when I am booted up on Windows. However, I cannot get ext2fsd ...
0
votes
0answers
39 views

Sync Microsoft OneDrive with a folder on EXT4 partition in dual boot scenario

I use Ubuntu and Windows 10 in dual boot scenario. As a student I received plenty of storage on Microsoft OneDrive and I would like to upload and sync my files. I primarily use Ubuntu and prefer to ...
0
votes
0answers
138 views

Torrents downloaded with Deluge have started getting errors

Basically, while downloading (or more often after it's fully downloaded) deluge starts reporting an an error with the downloaded data. Status: file too short: reading p: 6690 b: 0 s: 262144 (read: 116)...
0
votes
0answers
133 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
29 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
107 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
67 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
706 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 ...
0
votes
0answers
104 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
124 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
539 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
224 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
751 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
623 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 ...
0
votes
0answers
3k views

Will these instructions work when turning of journaling on an ext4 SSD?

I have an Acer Aspire One with an SSD for storage. I recently installed Ubuntu on it and chose ext4 for my filesystem. Then I read that journaling on an SSD isn't the best idea, so I will try to ...