Questions tagged [ext4]

ext4 (fourth extended filesystem) is a journalling file system for Linux, developed as the successor to ext3. Use this tag for question that are ext4 specific, generic file system related questions should use tag [filesystem]

Filter by
Sorted by
Tagged with
0 votes
1 answer
20 views

fstab mount doesn't find device

I have a problem with mounting a simple ext4 USB device with sync option and defaults. This is my fstab entry: UUID=233b8055-d596-48a7-a666-1e10b8860d9c /USBSSD sync 0 0 when I use mount -a, it says: ...
Ben's user avatar
  • 299
1 vote
1 answer
67 views

"structure needs cleaning", hardware failure?

The drive that my /home folder lives on is showing signs of failing, and I'm trying to migrate to a new drive.  I purchased a 4TB SSD, formatted it with ext4, mounted it as an external drive with a ...
jyoung's user avatar
  • 51
3 votes
1 answer
88 views

Debian Bookworm, systemd, and how EXT4 quota works?

I have a fresh Debian 12 system and I'm trying to turn on and enforce EXT4 filesystem quota. I read a lot of man and some other sources, for example this one from Red Hat: https://access.redhat.com/...
Kamil's user avatar
  • 1,441
0 votes
1 answer
30 views

"Bad Jump in FAT partition" and "Bad number of sectors per cluster" right before ext4 offset

TL;DR partition table (?) potentially messed up by windows disk management on drive containing both NTFS data partition and EXT4 filesystem. Fairly certain zero or almost zero data was lost. testdisk ...
protoncookie's user avatar
0 votes
1 answer
51 views

Recovering an ext4 partition

I have an external drive with an ext4 partition /dev/sda1 I use for my local borg backups. It is simply plugged in via usb port, and, mounted with an fstab generated systemd automount entry. I ran a ...
lyndhurst's user avatar
0 votes
0 answers
20 views

How to reclaim SSD space during formating

I've got a "1000GB SSD" after creating partition (aligned to 2048) I'm down to sdd 8:48 0 931.5G 0 disk └─sdd1 8:49 0 931.5G 0 part which is fine, because 1GB means 1000bytes ...
Eva4684's user avatar
0 votes
1 answer
77 views

Mounting a VHDX ext4 partition in linux

I'm wondering how terrible an idea the following is or is not... I want to share an ext4 fs between WSL2 and linux using a fixed-size .vhdx image created in windows (residing on NTFS partition). ...
valenumr's user avatar
0 votes
1 answer
53 views

How to resize partition in-between other partitions (CLI)?

How can I resize some partitions on a disk where there are other partitions before and after it? I've found plenty of guides on the Internet about how to resize a partition (eg with parted), but they ...
Michael Altfield's user avatar
0 votes
1 answer
55 views

Formatting the same drive with gparted: original NTFS=232.28MB used | Ext4= 1.92 GB used Why?

I'm formatting an external hard drive with gparted. The original NTFS read 232.28 MB used. Now, with Ext4, it reads 1.92 GB used. Questions: Why? Is there a better file system I should use for ...
YQ002lc2's user avatar
0 votes
0 answers
35 views

Unable to mount Raid 5+0 EXT4 partition

My server has a raid 5+0 configuration which is a raid 0 device made up of 2 x raid 5 devices. md1 is made up of md10 and md11. md1 : active raid0 md10[0] md11[1] 15627286528 blocks super 1.2 ...
Gareth Hastings's user avatar
0 votes
1 answer
30 views

Upgrading from ext3/4 to BTFS vs fresh install?

According to Debian Ext2/3/4 filesystems are upgradeable to Btrfs; however, upstream recommends backing up the data, creating a pristine btrfs filesystem with wipefs -a and mkfs.btrfs, and restoring ...
Evan Carroll's user avatar
8 votes
3 answers
2k views

Minimalistic ext4 filesystem without journal and other advanced features

I have a small "rescue" system (16 MB) that I boot into RAM as ramdisk. The initrd disk that I am preparing needs to be formatted. I think ext4 will do fine, but obviously, it doesn't make ...
Martin Vegter's user avatar
1 vote
1 answer
32 views

Almost empty disk after some actions on arch

I have an arch linux with ext4 partition I had a working system and decided to make some backups Here's what I've did: Installed timeshift After opening it I've decided to install btrfs-progs (I was ...
Masafi's user avatar
  • 13
0 votes
0 answers
47 views

Why is my drive showing almost 1TB usage when I just now created the partition? [duplicate]

I just now got done wiping an 18TB drive, formatting it, making a new partition, and creating the filesystem on it. Below is the output of df -h on another machine that's connected via Samba. //192....
Devin Gardner's user avatar
0 votes
1 answer
130 views

How to enable data=journal ext4 fs mode?

Preface (my 1st attempt ended badly): Fstab adding data=journal crashed my Linux' ext4 upon boot, how to fix? I can't find some reliable step-by-step instructions on How to enable data=journal ...
Vlastimil Burián's user avatar
0 votes
1 answer
69 views

Fstab adding data=journal crashed my Linux' ext4 upon boot, how to fix?

I changed my /etc/fstab from: UUID=f1fc7345-be7a-4c6b-9559-fc6e2d445bfa / ext4 errors=remount-ro 0 1 UUID=4966-E925 /boot/efi vfat umask=0077 ...
Vlastimil Burián's user avatar
0 votes
0 answers
35 views

Mount a Luks Container on different devices at the same time

My scenario: I have a 50GB luks container (ext4) stored on a NAS. I can mount and work with this device on a Debian Machine, no problems. Now I need to work on the same container on two other devices, ...
doublezero's user avatar
0 votes
1 answer
106 views

Is there a case where Applications need to do it's own File corruption checks with file systems like EXT4 and XFS and recent Linux OS like Red-Hat 8

What I presumed is File systems like EXT4 and XFS. Writes blocks to disk (Could be a Hard Disk or a SSD) along with a checksum. When Reading back, if checksum fails, read operation will NOT return ...
aKumara's user avatar
  • 111
0 votes
0 answers
59 views

Corrupted EXT4 filesystem on embedded Linux (A20 Olimex Lime 2) with clean poweroff

Context I'm here to talk to you about an EXT4 filesystem issue that I don't understand. In my company, we are working on embedded Linux system. We use the board Olimex Lime 2. T2-OLinuXino-LIME2-...
Julien's user avatar
  • 1
0 votes
0 answers
253 views

How to measure the role of btrfs in SSD wear on my PC?

I've used btrfs for my encrypted partitions (luks) on Samsung EVO SSDs. The disks failed faster than expected. How can I assess whether e.g. ext4 would be more reliable on these disks for my usage, or ...
Nemo's user avatar
  • 522
0 votes
1 answer
225 views

Find command very slow in directory with tons of files and subdirectories

For about a week I've been waiting for the following command to complete find -type d -empty -print -delete >> empty-folder-deletion-log.txt but it is still going and it seems like it has a lot ...
The Movie Man's user avatar
1 vote
1 answer
76 views

external HDD drive become Read-only file system with wrong file system type

I have a Toshiba HDD with an ext4 file system that I have been using extensively until yesterday. Suddenly, it has become a read-only file system, and when I run fdisk -l, it shows the type as HPFS/...
iago's user avatar
  • 125
7 votes
3 answers
1k views

How to change the casefold ext4 filesystem option of the root partition, if I only have ssh access

I need to enable the case insensitive filesystem feature (casefold) on ext4 of a Debian 11 server with a backported 6.1 linux kernel with the required options compiled in. The server has a swap ...
Daniel's user avatar
  • 790
2 votes
1 answer
143 views

Is ext4 fast_commit really stable? (Linux 6.3)

It seems I've been too quick to enable fast_commit on most my ext4 file systems and since then I often experienced FS corruptions. I've never ever had this kind of issues with ext4 that has been rock ...
i7ic0's user avatar
  • 29
1 vote
1 answer
155 views

Mount a LUKS encrypted EXT4 formated image file when mount folder is accessed (using autofs)

Here's what I'd like to do. Use autofs to automount an encrypted luks image file when the target directory is accessed. I've been playing with both fstab and crypttab, but to no luck. I do NOT want to ...
JDMcMillian's user avatar
1 vote
1 answer
123 views

RAID6 unable to mount EXT4-fs: bad geometry: block count exceeds size of device

On my server, I had an SSD as the boot drive with 11 6TB HDDs in a RAID6 setup as additional storage. However, after running into some issues with the motherboard, I switched the motherboard to one ...
jameszp's user avatar
  • 33
0 votes
1 answer
41 views

Shrink part of disk to a new virtual disk

I have a Linux system (Debian 11) on a disk. Partition is 100GB, system only needs 10GB of data. If I get all the disk (dd) and use it for as a disk of a virutual system (qemu, kvm) all is fine. How ...
chris01's user avatar
  • 519
2 votes
1 answer
192 views

Restore Rsync Backup Of System On Any Linux Distribution

I used the following alias to back up my root directory on Ubuntu 22.04 LTS to an external flash drive alias backup='sudo rsync -aAXHS --info=progress2 --delete --exclude={"/dev/*","/...
Growing My Roots's user avatar
3 votes
2 answers
122 views

How to refresh decoy data on a plausible deniability dm-crypt scheme?

I just read this discussion between Linus Torvalds and (among others) Milan Broz, one of dm-crypt's maintainers. I am intrigued by the the following part of the discussion : Linus Torvalds: I thought ...
ChennyStar's user avatar
  • 1,351
0 votes
1 answer
323 views

grub does not recognise specially-formatted ext4 partition

As the title states, grub is unable to recognise my ext4 partition: GNU GRUB version 2.06-3~deb11u5 Minimal BASH-like line editing is supported. For the first word, TAB ...
ManSamVampire's user avatar
0 votes
1 answer
541 views

Error: ext4magic Error 13 while opening filesystem

I'm trying to recover an accidentally removed directory (/home/garid/.gnupg) with ext4magic. However, It outputs following error: $ ext4magic /dev/nvme0n1p3 -f /home/garid/.gnupg/ -a $(date -d -...
Garid Z.'s user avatar
  • 500
1 vote
1 answer
340 views

Installing ArchLinux in VmWare Fusion on M1 Mac

I'm following along in this article to install arch in vmware on my m1 mac I'm able to do fdisk just fine, and get the following partition table: I then create the filesystem for partition 2 per the ...
Aaron Parisi's user avatar
1 vote
0 answers
1k views

How to optimize NTFS performance on Linux?

I am running Ubuntu 22.04.2 on a laptop with the following specifications: SSD: HP S700 SSD CPU: Intel Core i7 7700HQ RAM: 16GB Kernel: 5.19.0-32-generic All system packages are updated to the latest ...
Kumaresh Balaji Sundararajan's user avatar
1 vote
1 answer
38 views

Is changing root reserve blocks effects the Hard disk or its a OS dependent operation?

My question is in reference to this excellent answer here. I need some more info, If I change the Root Reserve Blocks (RRB) to any amount other than default in some version of Linux, will that be ...
Neail's user avatar
  • 21
4 votes
1 answer
241 views

Checksumming on Ext4 (crc32c-intel) while formatting (5TB external HDD)

I bought a new 2.5-inch external hard drive of 5TB in size from Seagate. On my Linux Mint 21.1 now, I need to format the newly created partition with gdisk: Model: Expansion HDD Sector size (...
Vlastimil Burián's user avatar
0 votes
0 answers
254 views

Bad Superblock while mounting an ext4 Disk

I wanted to migrate my Data to a larger Disk for my secondary Drive for my Synology NAS. I tried to Mount the Disk on a Rapsberry to do a Filetransfer to the new Disk on the Synology. But on the way ...
Igor's user avatar
  • 1
1 vote
1 answer
684 views

Fixing an ext4 whole-device filesystem and corrupt GPT partition table

I have an issue very similar to the question here: https://askubuntu.com/questions/1370421/restore-ext4-hd-after-creating-gpt-partition-table My problem seems to be that I had an ext4 filesystem which ...
Sushisource's user avatar
0 votes
4 answers
536 views

How to convert ext4 to bcachefs, on Linux Mint 21 and LMDE5?

The first bcachefs supporting Kernel 6.1, are released on 2022-12-11. See follow sources: https://evilpiepirate.org/git/bcachefs.git https://web.archive.org/web/20230207003903/https://evilpiepirate....
Alfred.37's user avatar
  • 120
1 vote
1 answer
319 views

udisks excluding system global mount options when mounting

I have updated my embedded linux, but the udisksctl does not work as expected anymore. If I try to mount a ext4 formatted flash drive I get the following error: root@system:~# udisksctl mount -b /dev/...
DEKKER's user avatar
  • 846
0 votes
0 answers
426 views

How do I recover data from xfs and ext4 filesystem

Hi guys I just wanna know if there’s a simple command to recover a simple data file such as vi text in ext4 and xfs filesystem in linux
Tae's user avatar
  • 1
0 votes
0 answers
654 views

Recover ext4 partition superblock `Free blocks count wrong for group #0`

I have a broken ext4 partition which I want to recover. The problem occurred because of a sudden power loss. The partition is an encrypted luks partition. Opening the luks container works. Say I open ...
student's user avatar
  • 17.9k
0 votes
1 answer
316 views

FSCK Failing to fix e2fs on LVM disk image or original SSD

I have a Sandisk 1TB SDD that is in SMART Pre-fail as my boot disk on a machine running Ubuntu 22.04. Recently this disk failed to boot the machine, and is no longer mountable when removed and mounted ...
Jason's user avatar
  • 1
14 votes
4 answers
8k views

When is ext5 coming or when will ext4 be updated to support large (huge) SSDs?

There is already the Nimbus ExaDrive 100TB SSD and the 200TB SSD will come soon. As you can read here ext4 supports up to 256 TB. It's only a matter of time hardware will reach this limit. Will they ...
zomega's user avatar
  • 873
0 votes
1 answer
40 views

Discrepancy between size of log file and space reported by df on CentOS 6.6

I have a log file on a CentOS system that is taking up 700MB of space (seen using ls), but when I run the df -h command, it shows that only 200MB of space is being used on the file system (ext4). What ...
julesl's user avatar
  • 103
0 votes
1 answer
568 views

Bad magic number while trying to mount a new hard disk

Im using RHEL 8.7 I've added new HD nvme0n2 to my linux and created partititions successfully the output of lsblk -f NAME FSTYPE LABEL UUID ...
Raj Parayane's user avatar
0 votes
0 answers
43 views

Is there a Linux tool that can automatically syncronise (monitor) two folders on local drives with different filesystems?

I have Linux computer with external NTFS drive. I need one of the directories of the internal drive (ext4) being automatically syncronised with an external drive directory. The complication stems from ...
S. N.'s user avatar
  • 155
3 votes
1 answer
378 views

Disk full after deleting large files and rebooting

I accidentally filled up my hard drive and I cannot recover from it. I've deleted several Gigabyte of files, but the df command still shows that the disk is full, and even a simple echo hello > ...
Mehmet's user avatar
  • 135
7 votes
3 answers
2k views

How dangerous is to disable the EXT4 journaling?

I'm verry new to Linux. I have a Raspberry Pi 4 device with Raspberry Pi OS Lite. I use this with 4 HDDs conected to USB as a NAS. The hard drives were formatted in NTFS because I used them in Windows ...
Marus Gradinaru's user avatar
-7 votes
1 answer
562 views

Why is the ext4 file system so sensitive to crashes? [closed]

I've been using Linux on ext4 file systems for many years - before that I used Windows on NTFS for many years. The ext4 file system strikes me as much more sensitive to crashes than NTFS. If I had a ...
OZ1SEJ's user avatar
  • 175
0 votes
0 answers
32 views

Why is empty disk reporting significant usage? [duplicate]

Let me start off by saying that I’m well aware of the difference between B and iB and this is not a discrepancy involving terminology as it does not relate to total disk space but space used on the ...
Ego's user avatar
  • 3

1
2 3 4 5
19