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

learn more… | top users | synonyms

4
votes
0answers
817 views

orphaned inodes on root file system (ext4); persistent problem

On my trusty systems (VMs under vmWare, desktops, and laptops), we have the following issue. The root file system seems to have inodes that are never marked as "free". After a month of a working ...
3
votes
0answers
530 views

block bitmap and bg descriptor inconsistent

The error : [Sun Sep 6 11:15:56 2015] EXT4-fs error (device dm-0): ext4_mb_generate_buddy:757: group 113, block bitmap and bg descriptor inconsistent: 34 vs 33 free clusters [Sun Sep 6 11:15:56 ...
2
votes
0answers
58 views

Full disk encryption on multiple drives; ext4 and GPT partition table; enter only 1 key

I'm looking for a tutorial (with clear steps) similar to the following article, but using ext4 and GPT partition tables. Full disk encryption with Btrfs and multiple drives in Ubuntu · Bryce Nyeggen'...
2
votes
0answers
528 views

Xubuntu 14.04 Automount ext4 USB Stick as root

I recently formatted my new Sandisk USB Stick with linux from the default FAT32 to ext4. Unfortunatelly, when Thunar Automounts the stick, it is mounted as root and not as the current user, so if I ...
2
votes
0answers
816 views

My portable HDD cannot be mounted into filesystem — can't read superblock

I have a Seagate portable hdd 1 TB formatted fat32. Now I had no problems at the very beginning, but now I am getting the following error: Error mounting /dev/sdb1 at /media/zorobabel/EFI: Command-...
2
votes
0answers
18 views

Is there a way to find the LBAs for free blocks in ext4

tune2fs can show the number of free blocks. Is there a method/tool to find the actual logical block addresses for each free block? Thanks in advance
2
votes
0answers
293 views

Install a software throe wine on ntfs partition

I have a question I want to install windows software, but I do not have enough space on ext4 partition, so if I install the software on ntfs directory will the software run as it would run on ext/home ...
1
vote
0answers
26 views

Directory converted to a file

I have an external HD formatted to ext4. Somehow a directory is now showing up as a file (i.e. it is missing the 'd' in the attributes). fsck does not show any errors. I don't believe that the ...
1
vote
0answers
99 views

14.04 LTS Trim problem on an SSD

I own a Lenovo laptop with an M.2 NGFF slot. I put a 128 GB ZTC SSD card. This card is GPT partitioned and seen as sdb. I use it for the / which is EXT4 formated. Then I did a fresh install of Ubuntu ...
1
vote
0answers
121 views

Change filesystem blocksize when installing 15.10

so, I'm very much out of my depth in the whole world of *nix here. I'm searching all over about file system block sizes, and I found this script which determines what I can tell are read-speeds with ...
1
vote
0answers
63 views

What is the right way to work with large external hard drives?

I own this external HD. When I sudo fdisk -l I'm given this output: zach@tux:~/code/bing$ sudo fdisk -l WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support ...
1
vote
0answers
170 views

ext4magic most powerful syntax?

I am trying to recover some files on a ext4 partition. I use the ext4magic and I can recover some files but not all files. I have used the following syntaxes: ext4magic /dev/sdc1 -r -f <some-...
1
vote
0answers
37 views

recover lost files after online LVM resize

I did the following 5 days ago which may have triggered the problem. sudo lvextend -L +20GB /dev/vg1/filme sudo resize2fs /dev/vg1/filme Now I realize, that almost all files disappeared. Only the ...
1
vote
0answers
51 views

External EXT4 Partition vanished. Ubuntu 14.08

I've had partitions disappear before and been able to rebuild and recover, this time its different. I have a Seagate 200g drive that is a couple of years old and showing bad sectors. No problem, I ...
1
vote
0answers
180 views

How can I repair my LUKS / ext4 file system?

my computer was running the whole night and my only open windows where IntelliJ IDEA and Google Chrome. Today my file system seems completely corrupted. Linux Mint can't read any files and folders ...
1
vote
0answers
817 views

Explanation of entries in dmesg log in Ubuntu Server 14.04

A few days ago I did a clean install of Ubuntu Server 14.04. Everything is working fine, but when my system boots I get these entries in dmesg log: [ 3.106082] EXT4-fs (dm-0): mounted filesystem ...
1
vote
0answers
82 views

Lost all files in root partition without formatting partition and delete operation, TestDIsk is not help?

I've Windows 8.1 and Ubuntu 14.04 installed in my PC. Two system were in different disk. All disks are in GPT mode. I used one software, "Paragon ExtFS for Windows", which can mount EXT4-partition in ...
1
vote
0answers
530 views

Input/output error on mounted usb disk

I have an external usb disk mounted to my machine, and everything works fine for hours or days, but eventually I cannot access the disk anymore. When I try to list the mounted directory, I get ls: ...
1
vote
0answers
38 views

Is ext4 position independent and movable?

Does the data in an ext4 filesystem refer to absolute positions on the disk, or is it all relative to the start of the specific partition? I want to know this because I want to move an ext4 ...
1
vote
0answers
365 views

Bcache hangs on Ubuntu 14.04

I successfully setup my system to use bache in /home partition (200GB SSD partition as cache for 500 GB HDD partition). However, I keep receiving these messages: INFO: task bcache_writebac:222 ...
1
vote
0answers
57 views

Ext4 switching to read only mode

I have very frustrating problem. My server randomly switches / mount to read only without any pattern. Only message that I've found in logs is: htree_dirblock_to_tree:920: inode #14286877: block ...
1
vote
0answers
553 views

How long does ubuntu take to create ext4 journal;ing file systems for 500Gb drives?

I have a new server with four new 500Gb rotary hard drives. I am installing Ubuntu 14.04LS from a bootable USB flash drive. I asked Ubuntu to format the HD's with ext4 journaling file systems. Three ...
1
vote
0answers
111 views

dd'ed the first 200MB of a HDD, is the filesystem recoverable?

In a moment of stupidity I let a script run dd on one of my (non backed up :() HDD's, 3TB in size. It had a single ext4 filesystem on it, which now won't mount. Things I've done so far (without ...
1
vote
0answers
316 views

How to expand the ext4 partition of virtualized Ubuntu running on top of CentOS/QEMU?

My company is running Xen--VMs run on top of CentOS/QEMU. Recently a customer using virtualized Ubuntu asked that his HDD space be increased. Now, with Windows, this is a joke. You type the new size ...
1
vote
0answers
695 views

Can't recover formatted Ext4 partition file system. :( Suggestions?

I've been at this for days now, so I'm hoping you can help me! Original setup: This is a 200GB firewire drive, originally formatted via Ubuntu 11.04 Disk Manager with a Master Boot Record, and a ...
1
vote
0answers
389 views

Why's Clonezilla not able to complete the backup of my HDD (ext4)

I have a single HDD with one single partition. What I need is to make an entire backup image of it and burn it to a DVD so that, in case of a messup, I can restore the entire HDD, as it was before. ...
1
vote
0answers
373 views

Permissions to access an encrypted external HDD

I have an external HDD which has an encrypted ext4 filesystem. When I plug it into one of my laptops and provide the encryption password, I get this popup box saying: You do not have permissions ...
0
votes
0answers
17 views

copy to ext4 formatted drive HDD until 99.9% full, preventing fragmentation?

In general I do understand how ext4-fs manages it to avoid fragmentation, but one question remains after intense investigations... Situation: I have to copy many files of very different sizes to an ...
0
votes
0answers
8 views

How to change data parameter in Ext4?

I'm using Ubuntu 14.04 and I want to test my filesystem with IOzone (filesystem benchmark tool). I want to test with data={ordered, writeback, journal}. How can I do this?
0
votes
0answers
30 views

Changing file system back to ntfs

before installing Ubuntu I partitioned one of my drives and then installed it on one of the partitions which I agreed to change to ext4. But now the whole drive seems to be in ext4 so I can't read it ...
0
votes
0answers
38 views

Partition external hdd for Linux/Mac/Windows/Ps3

So i need 3 Partitions on an external hdd like the following, but i can't get it set up Partition 1: fat32 (Ps3, Windows, Mac, Linux) -> movies etc. Partition 2: exfat? (Mac, Windows, Linux) -> ...
0
votes
0answers
19 views

Why IOZone returns random values in my Ubuntu 14.04?

I want to execute IOZone¹ tests in my filesystem (Ext4). I'm using Ubuntu 14.04 LTS in graphical mode. But results seems like more randomic if comparing to results from text mode. What factors are ...
0
votes
0answers
40 views

How to carefully cut space from disk D and put it for Ubuntu?

I have Windows 10 and Ubuntu 14.04 on my PC where disk D contains a lot of free space, so I want to put this space for Ubuntu ext4 file system. Can you explain me how I should do it? I really don't ...
0
votes
0answers
8 views

Writemode journalling mode

From what I understand in data mode both inode and file data are stored in journal and in ordered mode only inode data is kept in jounral and removed after file data is successfully written. What I ...
0
votes
0answers
22 views

Expanding ext4 and shrinking NTFS partition

I have my machine dual booted with Linux Ubuntu 14.04 Trusty Tahr LTS and Windows 7 Ultimate both 64 bit. I want to shrink the E:/ i.e. /dev/sda5/ by around 10GB and expand the Ubuntu partition by ...
0
votes
0answers
28 views

Expanding partition in Gparted backwards vs. moving backwards and expanding

Which is quicker and safer?: Enlarging a Gparted partition backwards OR Moving the original (smaller) partition backwards, and then enlarge it? Example demonstration Enlarge /dev/sda4 to fill ...
0
votes
0answers
77 views

How to install Ubuntu Desktop on XFS or BRTFS using automatic partitioning?

Currently, when install Ubuntu Desktop, and by choosing automatic partition for a brand new hard drive, there is no way to select which file system will be used for it. It auto-selects EXT4 and the ...
0
votes
0answers
129 views

ext4 I/O Error after suspend - filesystem readonly

i am using ubuntu 15.10 with kernel 4.2.0-23-generic. It is installed on a compact flash card. Sometimes the system wake up and remount the root filesystem to readonly. I have to repair the filesystem ...
0
votes
0answers
279 views

Kernel fix for “file system becomes read-only” problem?

This is my first post to this list, but I've spent a lot of lurk time here; helpful place. Over the last 8 months I have encountered maybe 4 times a problem that can loosely be described as "an ext4 ...
0
votes
0answers
115 views

Cannot fsck or e2fsck to repair disk. dumpe2fs returns “Couldn't find valid filesystem superblock.”

I've been dealing with this hard disk problem all day. External Seagate disk I've foolishly failed to back up still is recognized by PC but cannot be read. When I try to follow the steps here, it ...
0
votes
0answers
25 views

Cannot access ext4 partition

I created an ext4 partition using Disks application from Ubuntu Live CD But I cannot access it from my Ubuntu system on the same disk. It says: This location could not be displayed. You do not ...
0
votes
0answers
42 views

Wipe all erroneous inodes

My server recently crashed and left my raid6 with 8x4TB disks in a state where I had to force it to assemble. Two disks had event counters that were way behind, but the remaining 6 disks had the same ...
0
votes
0answers
64 views

partition - merge two ext4

I need to add free space into my linux partition. Actually I know how to resize NTFS partition but I can't merge with existing ext4. GPart doesn't work also GPartLive Please help
0
votes
0answers
56 views

How to get the metadata size in ext4?

i have one SSD drive and use whole partitions for my benchmark program. what i want to know is the size of metadata after some benchmark program. it's quite hard to know the number of data blocks ...
0
votes
0answers
94 views

installing (L)ubuntu 15.10 with ext4 native encryption on entire partition

I want to install (L)ubuntu from scratch and use ext4 native encryption to encrypt entire partition from root directory "/" down to the last file and have on that same partition installed the ...
0
votes
0answers
166 views

ubuntu 14.04LTS won't boot on linode after disk resize EXT4 founded RO

I have an Ubuntu 14.04 on LINODE. I did a disk resize in the Linode GUI and it will no longer boot. This is what I see in the boot log: -- notice the weirdness around the EXT4 getting loaded RO but ...
0
votes
0answers
163 views

Recovering deleted files on EXT4 disk

I deleted some files and folders on a external disk which I now want to "undelete", the disk uses EXT4 which makes it realy hard for me to make tools like testdisk work. I am using ubuntu 14.0 and I ...
0
votes
0answers
83 views

Data recovery (importantly .lrcat files) after formatting ext4 partition to ext4

I wanted to do clean installation of Ubuntu, so I formatted previous EXT4 partition having / mountpoint from older Ubuntu release. I then changed my mind and installed new Ubuntu to another partition, ...
0
votes
0answers
27 views

Formatted Ubuntu partition with ntfs on windows

I was running a dual boot Windows 8.1 and Ubuntu 14.04 till recently. I'd used my F: for linux and I accidentally forgot that and did a quick format on it into ntfs. I had a lot of code on linux that ...
0
votes
0answers
607 views

Fixing "The ext4 file system creation in partition #1 of SCSI5 (0,0,0) (sda) failed

The other day, I was using my gaming laptop (ASUS ROG G750JM) that I got last year when it froze up and shut itself off. When I tried to reboot it has a system 32 error message, since I don't have a ...