Questions tagged [ext4]
The ext4 or fourth extended filesystem is a journaling file system for linux/*nix developed as the successor to ext3.
480 questions
Score of 0
2 answers
116 views
Why does the same lvreduce command has such different execution times on consecutive runs?
I have a VM with a large 6TB disk. The VM has been booted with a Ubuntu24 liveISO. I am incrementally shrinking the logical volume with the time lvreduce --resizefs --size 1T /dev/vgname/lvname ...
Score of 1
0 answers
193 views
Why ext4 is often recommended over XFS as a filesystem choice for Linux users? [closed]
From what I've read, XFS seems to have a lot going for it—it performs well in certain scenarios, is the default for some Linux distributions, and is popular in enterprise settings, which suggests it's ...
Score of 0
1 answer
95 views
Ubuntu Live-server extend partition size
How can I extend the sdb2 partition?
Here is the current partition layout of my /dev/sdb disk:
/dev/sdb
├─sdb1 ntfs Windows10 6672012C72010313
├─sdb2 ext4 1.0 dd841b67-660f-42dc-...
Score of 0
1 answer
195 views
How to deal with large disks when choosing a filesystem?
We are using 15TB disks on our RHEL 8.6 Linux servers. These disks are for the HDFS filesystem. Compared to other disks like 4TB or 8TB, we are noticing some degradation in the logs of the datanode. ...
Score of 1
1 answer
143 views
Standby HDD goes active, stays active for 2 days and goes back into standby
I've got a Debian server running with a ssd and 2 hdds (SDA & SDB). SDA is EXT4 and SDB is XFS. Both are Toshiba MG07ACA14TE (512e), 14TB.
The situation is as follows:
The hdds are mostly in ...
Score of 3
1 answer
367 views
Cache for specific directory over ext4
I'm looking for some kind of cache functionality for specific directory in Linux as I've got a few applications that use this directory frequently and very often.
I use HDD (not SSD) and I'm wondering ...
Score of 3
1 answer
227 views
iscsi target with multiple initiators [duplicate]
I want to get a zvol created on zfs and want to get two initiators connected to this zvol via iscsi. I tried that and on one of the initiators I used fdisk to create the ext4 filesystem over it and ...
Score of 0
1 answer
2525 views
resize2fs shrinking ext4 safely
The thing I need to do is to shrink ext4 filesystem, and then recreate partition. Overall I know what needs to be done, the process is pretty straightforward. But there is one little thing that makes ...
Score of 1
1 answer
237 views
linux incorrect lvm disk size
I have 3 LVM disks in the system, and they are of different sizes. While the sizes appear normal in lsblk, when I check with the df -h command, the sizes of all three disks appear to be the same. It’s ...
Score of 0
2 answers
878 views
What to do? resizefs2 processing <1000K/s at "updating inode references"
I'm trying on resizing an ext4 partition using gparted on Ubuntu 22.04. I'm shrinking 4TB to ~3TB with ~1.5TB of the drive filled. It's now been working on this task for >24hr, but is still ...
Score of 0
1 answer
217 views
How to recover data from entire ext4 disk wiped (now unallocated) [closed]
While going through a routine install of nixos the installer swapped sda and sdb. I made the mistake of not taking note of the disk size and ran the installer to entire wipe and install on the wrong ...
Score of 0
1 answer
233 views
Rsync to exfat external drive, quiet switch not working
I am attempting to use rsync to copy from my linux hard drive to an exfat external drive.
The working code to copy from ext4 to ext4 begins as: rsync -Razh
The code that I am attempting to use to copy ...
Score of 0
1 answer
545 views
Do SSD still need supercapacitor today ? (NAS : Linux + MDADM + EXT4)
I'm planning to build a SSD based NAS, with Linux / mdadm / EXT4 (so, no ZFS or Btrfs).
What happens in case of a sudden power loss ? There are a lot of posts out there stating that we should buy SSDs ...
Score of 1
2 answers
154 views
How to find the underlying device for a file on top of ext4 on top of LVM on top of multiple underlying storage devices?
I have a system with 3 SSD devices (/dev/sda, /dev/sdb, /dev/sdc) which contain a single LVM logical volume that span over all the devices. I have a single ext4 partition on the logical volume.
I ...
Score of 0
1 answer
182 views
Internal ext4 quotas (reserved inode) and rpc.rquotad export
When doing a quotacheck on my NFS server, i got a message to switch quotas to internal ext4 format.
I did it, but now rpc.rquotad noes not work anymore and quotas are not anymore exported to clients.
...