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

learn more… | top users | synonyms

0
votes
1answer
38 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
24 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
27 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
68 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
31 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
38 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
75 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
38 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
78 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
35 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
22 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
84 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
53 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
51 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
105 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
172 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
41 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
53 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
42 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
492 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
95 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
21 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
79 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
45 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
145 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
20 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
57 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
50 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
56 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
281 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
44 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
278 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
85 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
36 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
49 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
35 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
76 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
72 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
54 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.
3
votes
3answers
59 views

Can I mount half an ext4 partition

I had a hardware raid array, a disk failed during migration and the controller flipped out and is unable to recover. I've written a small python script which has correctly mapped out the state of the ...
0
votes
0answers
67 views

find the cause of file corruption when copying files to a network share on an Ubuntu machine

I am copying files from my SD card to my Ubuntu server via Windows 7 using a network drive. The problem is that sometimes, 2 files out of 150, are corrupted during transfer. See here 2 example files ...
0
votes
0answers
86 views

Debian..Can't format and mount external HDD

I have been trying to format my 640GB external Hard Drive in command-line and can't seem to get it working. I have done the following in order: sudo fdisk /dev/sda (Deleted any partitions, created ...
0
votes
1answer
151 views

du and ls commands reporting wrong directory size

I'm used to the du command. I often use it with -h option. I report the result in a text file which I use to track space consumers. But I was wondered today to see a directory being reported as using ...
2
votes
0answers
182 views

Understanding ext4/jbd2 transactions

I'm trying to debug a bit of trouble I'm having with I/O latency on a system using ext4, but I'm a bit stumped in that I don't understand its journalling as well as I'd like to. What I'm wondering in ...
0
votes
1answer
37 views

Smallest file block size (ext 3, 4)

I'm curious, what is the smallest size a file can really be on Linux? (Assuming Ext3 fs, so why not ext4 fs as well). Sure you can write a file that only contains one byte, or maybe even less; but ...
1
vote
0answers
108 views

Red Hat Enterprise Linux 6.5 remounts root filesystem read-only after hibernating

I have a Lenovo ThinkPad T430 running Red Hat Enterprise Linux 6.5, kernel 2.6.32-431.30.1.el6.x86_64, and my filesystem structure consists of a master LUKS partition holding two logical volumes, one ...
0
votes
2answers
206 views

Which file system is better for Ceph?

I've read the Ceph OS recommendations document, but still I have a question. Which file system is better for Ceph? XFS, ext4, or something else?
3
votes
0answers
53 views

Have I destroyed data on drive?

I stupidly ran the following command on an external ext4 USB disk, typing /dev/sdb instead of /dev/sda which was the new disk I was setting up: dd if=/dev/zero of=/dev/sda bs=512 count=100 These ...
0
votes
0answers
60 views

Restoring data from NTFS formatted pre-ext4 partition

MS recovery just formatted my 1TB Backup disk to NTFS which was ext4 before. It was an MBR disk before but now it's a GPT one. Now I'm on SystemResqueCD and can check with the testdisk. What is the ...