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

learn more… | top users | synonyms

2
votes
1answer
29 views

How to take snapshot of an ext4 filesystem

Is there any way we can take a snapshot of an ext4 filesystem so that we can revert back to it later?
0
votes
1answer
13 views

How to use tune2fs?

I want to adjust the time interval between ext2, ext3 and ext4 filesystem checks to 180 days? I know that I have to use tune2fs -i 180 but I am not sure about the arguments
1
vote
2answers
26 views

Why debugfs doesn't show crtime in nanoseconds?

I am using: debugfs -R 'stat <7473635>' /dev/sda7 to get the file creation time (crtime). Inode: 7473635 Type: regular Mode: 0664 Flags: 0x80000 Generation: 1874934325 Version: ...
1
vote
1answer
24 views

Content Explanation Of: /proc/fs/ext4/device_name/mb_groups

I've been wondering, what are the explanation of the columns in the /proc/fs/ext4/device_name/mb_groups file. The columns are: #group: free frags first [ 2^0 2^1 2^2 2^3 2^4 2^5 2^6 2^7 2^8 2^9 2^10 ...
6
votes
2answers
56 views

Recovering ext4 superblock

I had an ext4 filesystem in an LV which got destroyed because I accidentally shrunk the partition it was in way too small. After expanding the partition back to the original size I put a new ext4 FS ...
1
vote
1answer
41 views

What do “extents” feature do in ext4 filesystem in linux?

I was reading about the ext4 filesystem that it supports compression, encryption and a feature called extents which is used to save disk space. What are extents and how are they are effective for ...
3
votes
2answers
47 views

LVM Filesystem recovery

I was trying to resize my LUKS crypt following this https://wiki.archlinux.org/index.php/Resizing_LVM-on-LUKS and I got to the partition resize with parted and seriously screwed things up. I typed 870 ...
2
votes
1answer
39 views

EXT filesystem family: Why does the first superblock start at offset 1024?

I was brushing up and diving deeper into filesystem anatomy and in numerous resources it is said to be a requirement that the very first superblock start at an offset of 1024 bytes. I started looking ...
0
votes
0answers
19 views

My ext4 partition is corruption-prone possibly because of suspend

I'm using an encrypted ext4 main partition on a Lenovo i7 laptop running Ubuntu 14.04 LTS, currently using the 3.13.0-53-generic x86_64 kernel. After running for multiple weeks without shutting down ...
6
votes
2answers
128 views

How to fix intermittant “No space left on device” errors durring mv when device has plenty of space?

Ubuntu 14.04 on a desktop Source Drive: /dev/sda1: 5TB ext4 single drive volume Target Volume: /dev/mapper/archive-lvarchive: raid6 (mdadm) 18TB volume with lvm partition and ext4 There are ...
0
votes
1answer
50 views

EXT4 requiring twice as much storage space - Ubuntu / Beets

I have a question I'm struggling to research an answer for. I have am building a Ubuntu media server at home and decided to carve up my 2TB bulk storage disk into various partitions. I created a ...
2
votes
1answer
35 views

SSD failiure. grub rescue sees files, but I can't mount drives

I have a 2 year old SSD that apparently has died. 2 out of the 3 partitions are completely unmountable (only EFI boot partition mountable). When i turn on my computer I am greeted with grub rescue ...
3
votes
1answer
30 views

Cache atime writes

Is there a way to set atime writes to be cached for a very long time? I need atime (that is to say, relatime won't cut it), but I don't want it to effect performance so much. Data loss in of atimes ...
2
votes
1answer
98 views

ext3 vs ext4 - same disk size, less usable disk space under ext4 comparing to ext3. why?

Files copied from ext3 filesystem do not fit on same size ext4 filesystem. How to reproduce: create two 1GB files, setup loop device for each, create filesystem one ext3, one ext4, mount, rsync ...
0
votes
0answers
42 views

EXT4 Journaling - Problem

Basically my root (/) ext4 partition keeps being mounted as read-only when I apply internal journaling feature. I understand that this should be default, but today I had been trying to apply external ...
0
votes
0answers
40 views

ext4: How to save free blocks / inodes to a file

I'd like to save all free blocks / inodes from an ext4 file system to one or more files for further analysis and file recovery. It would be good to create one file for every contiguous set of free ...
4
votes
4answers
83 views

How do I create small disk image with large partitions

I am building a disk image for an embedded system (to be placed on an 4GB SD card). I want the system to have two partitions. A 'Root'(200Mb), and a 'Data' partition(800Mb). I create an empty 1GB ...
5
votes
1answer
46 views

How to change the extent size in the ext4 file system?

As you can read here , ext4 file system has an extent feature that groups blocks into extents. Each of them can have up to 128MiB contiguous space. In e4defrag , there are lines similar to the ...
1
vote
1answer
81 views

Why can't I write to my ext4 partition even with 777 permessions?

When I touch a new file for example I get: touch: cannot touch 'file': permission denied It is a partition that is mounted in the /media directory on demand. I am the owner and I've had it's ...
0
votes
3answers
36 views

How to obtain the whole disk activities triggered by file systems under linux?

I want to record the disk access activities called by OS. Such data I want to record are received by disk from OS, including disk sector number, request length, arrival time, read or write. To be ...
0
votes
2answers
29 views

Reinstalling Debian: ext4 partition is not primary

I previously had a grub bootloader with crunchbang and win7. Since then I reinstalled win7 which now boots it automatically. I stuck in a Debian install CD that brings me to the stage in the above ...
0
votes
2answers
91 views

7-Zip slows down over time on Ubuntu but not Windows

I have a directory called Pages of 2.2 million HTML files (about 80 GB) on an Ubuntu server. I compressed it with 7-Zip using this command: 7z a -mx=9 Pages.7z Pages It took around 5-6 hours to ...
2
votes
1answer
65 views

Mark an ext4 filesystem as read-only

I want to create an ext4 filesystem, and add some files to it, then "freeze" it so it is henceforth read-only. I know it's possible to use the ro mount option. But is there some way to indicate in ...
2
votes
1answer
61 views

What should I consider when choosing a filesystem for a personal disk archive / cold storage?

I have a few TB of media files that never changes and that I need to store safely. Since it's a personal business it's overkill to set up a disk server et cetera, so I use the simple solution of ...
2
votes
4answers
137 views

any large inode size benefits? (ext4)

From some foggy memories I thought I would "improve" the default settings when creating a Linux partition and increased the inode size to 1024, and also turned on -O bigalloc ("This ext4 feature ...
3
votes
1answer
240 views

ext4: Can a clean filesystem need journal recovery?

I always thought "clean" is a synonym of does not need journal recovery. However that does not seem to be the case $ sudo file -s /dev/sdc4 /dev/sdc4: Linux rev 1.0 ext4 filesystem data, ...
0
votes
0answers
50 views

e2fsck repairing an ext4 file system - how to enforce ext4 features?

I have a huge (1.5 TB) corrupted disk with an ext4 fs. The master superblock (and journal) are corrupt, so I am trying to repair it using e2fsck -f -b 7962624 -y /dev/sdb1 Now, the first thing ...
2
votes
1answer
73 views

do I need fsck.ext4 before mounting a filesystem?

I have a script that mounts /dev/sdc1 to /home. I do not know the state of /dev/sdc1 in advance, it could possibly be "dirty". Do I need to run fsck.ext4 before mounting the filesystem, or has mount ...
1
vote
1answer
49 views

Help about CentOS 7 apps & Driver [closed]

I'm using pc for several years but never tried Linux so I'm quite noob in this field. I'm using Autodesk maya, Nuke & will learn houdini very soon. I found that linux works faster for this apps so ...
17
votes
2answers
513 views

Why are these files in an ext4 volume fragmented?

I have a 900GB ext4 partition on a (magnetic) hard drive that has no defects and no bad sectors. The partition is completely empty except for an empty lost+found directory. The partition was formatted ...
1
vote
2answers
116 views

ext4 file system tuning for storage partition

I searched the Internet, but I was not able to find a satisfying answer to my problem. The Problem I'm encountering currently is, that I'm transitioning my data from a NTFS Partition to a ext4 ...
1
vote
0answers
22 views

Mapping a physical sector to a filename

I just finished using ddrescue to recover the contents of a failing hard drive. It was able to recover everything but two sectors. How do I figure out which files (if any) occupied those sectors? ...
0
votes
0answers
99 views

Repeated Ext4-fs error with comm psad: invalid block. Does it mean the SSD is dying?

Configuration : Debian Jessie with SSD. /dev/sda1 is root filesystem, /dev/sda6 is home filesystem. Errors occurs only on /dev/sda1. For the third time, I've got software errors because the root ...
0
votes
2answers
50 views

Precaching the list of files of the filesystem

I was wondering where and in what form a list of files and directories is stored on the ext4 filesystem. The problem is that whenever I try to access a certain directory for the first time since boot ...
0
votes
1answer
217 views

Lvreduce online on RHEL 6 or centos 6 with ext4 file systems

Is it possible to reduce a mounting lv safely at RHEL6/CentOS6 with ext4 file system? If it is, how can I do that?
0
votes
1answer
25 views

testdisk partition recovery

Looking to recover data/partition index from this disk.. ⚡ root@jg  ~  ls /dev/disk/by-label lrwxrwxrwx. 1 root root 10 May 4 21:06 4tb1 -> ../../sde1 drwxr-xr-x. 7 root root 140 May 4 21:06 .. ...
2
votes
0answers
67 views

ext4 - An entire directory disappeared?

Okay, this has me totally stumped. Background: I'm working on a cryptanalysis homework, trying to break a vigenere cipher with a 26 character key (a shuffled alphabet). Even though there are some 403 ...
0
votes
0answers
57 views

can I boot ext4 usb stick with xubuntu on from a Mac laptop?

is there a way to boot my ext4 formatted "xubuntu" USB memory stick from a Mac laptop? The laptop can identify FAT32 usb memory sticks with ubuntu at boot time, but it cannot identify mine, which is ...
1
vote
1answer
86 views

Backup Files on ext4 to external NTFS drive

Would there be any problems in copying files on my Linux system with ext4 filesystem to an external drive that is formatted in NTFS? I'm reinstalling my OS and intend to copy these files back to my ...
2
votes
4answers
295 views

Prevent file corruption

I have an application that write files into a specific directory at the FS. This system, under no circumstances, can lose a single written file. When I have some problem at the HD, like badblocks or ...
0
votes
0answers
49 views

Difference between fsarchiver and dump

What is the difference between dump and fsarchiver? Are there features in dump which are not covered by fsarchiver? Can both backup to tape storage for example?
1
vote
0answers
56 views

ETX4-fs error on startup

Hi everybody, today I run dmesg and at the bottom I found some error lines about the device mmcblk0p2. Everything works fine even with those errors but I'd like to understand the problem. I've ...
1
vote
1answer
405 views

ext4 disk space not reclaimed after deleting files

I recently got a "device full" warning for a 2 Tb external ext4 drive. I deleted a bunch of files, about 90-100 Gb of old system backups, and since I did not want to empty all trash, I deleted the ...
2
votes
1answer
109 views

How to use the new Ext4 Inline Data feature ? (storing data directly in the inode)

If I read the Ext4 documentation correctly, starting from Linux 3.8 it should be possible to store data directly in the inode in the vase of a very small file. I was expecting such a file to have a ...
1
vote
1answer
45 views

Is it possible to store data directly inside an inode on a Unix / Linux filesystem?

According to this Red Hat bug report (which I am trying to reproduce) it looks like the Netapp filer is able to store data directly in the inode, in case of very small files. Considering I had a FS ...
1
vote
1answer
63 views

Can't write on recently created EXT4 partition

On a new external hard drive (Intenso 05-1204-18A), I made (with GParted) two partitions : Disk /dev/sdc: 931.5 GiB, 1000204883968 bytes, 1953525164 sectors Units: sectors of 1 * 512 = 512 bytes ...
0
votes
1answer
38 views

writing to ext4, 8GB partition vs 512MB partition

I have a question which is slightly programming related, but it mostly relates to how ext4 works. I have a program which writes 128MB to a file with changing random aligned offsets. I write 256KB ...
1
vote
3answers
79 views

Deleting an Impossible File

A picture is worth a thousand words, so I want to start with that: From the image you can see that I have a ~500GB hard drive. The filesystem is ext4. On this 500GB hard drive, I have a file that ...
3
votes
0answers
76 views

Problems with file system

I created a partition with EXT4 file system and when I'm writing in this partition frequently the Kernel return the following error: Jan 01 01:17:54 infobuffer360 kernel: r7:c0561280 Jan 01 01:17:54 ...
0
votes
1answer
58 views

Accidentally ran mkfs.vfat on my backup drive [duplicate]

I ran mkfs.vfat /dev/sdb (whole device, not just one partition) on my backup drive, ironic, right. Is there any way to recover my files.