Questions tagged [ext4]
The ext4 or fourth extended filesystem is a journaling file system for Linux, developed as the successor to ext3.
449
questions
0
votes
0
answers
23
views
Is this fsck output good, bad, or indifferent?
I have a Synology fileserver (but this isn't a Synology-specific question) with a 5 TB RAID 5 ext4 volume that had two drives get disconnected at once. The volume "crashed" in Synology's ...
0
votes
1
answer
45
views
resize2fs wont grow an mdadm array (raid6, lvm, ext4)
I've decided to grow my raid6 array:
- from: 7x 2TB drives (giving usable space of ~9TB in ext4/raid6)
- to: 7x 4TB drives (giving usable space of ~18TB in ext4/raid6)
I have replaced all seven ...
0
votes
0
answers
21
views
What is the benefit of tailoring `mke2fs` regarding inode count compared to leaving the default
I have found that manually setting the -N parameter of mke2fs -t ext4 according to guesses or looking at df -i output creates much less inodes for a given size of a file system. Filesystem creation ...
1
vote
1
answer
81
views
Can I access data from single HDD of RAID-1 (Software based RAID)?
I had a machine running Linux Server (Ubuntu 22.04.4 LTS) on a M.2 NVMe SSD, and have connected 2 four TB NAS HDD with software based RAID-1 configuration (Linux RAID1 and formatted as EXT4 partition)....
1
vote
1
answer
112
views
Is there a tool like `dd` but respect sparse-ness of input file?
I am creating disk images with multiple ext4 partitions on it. Each ext4 partition content is created with mkfs.ext4 and the resulting filesystem image files are "sparse".
When I use dd to ...
1
vote
0
answers
234
views
How to investigate ext4 filesystem going read-only (no hardware errors reported)?
I have two separate systems experiencing what appears to be the same issue:
"Desktop" - i7-7700K, ASUS Prime Z270-A, Ubuntu 22.04. Kernel 5.15.0-94-generic.
"Server" - NUC8i3BEH, ...
0
votes
2
answers
81
views
Why does the OS boot from ext4 on a particular PC only?
I've installed Manjaro on a USB stick to carry with me. However, I can boot from it only on the machine I used to install. On other PCs, the BIOS or UEFI does not recognize the drive as bootable.
The ...
0
votes
1
answer
101
views
No "merge to ..." option in DiskGenius resize partition
I installed DiskGenius PE on my USB drive and tried to resize a partition. As shown in the picture, my ubuntu-vg(2) has 463.8GB while its sub-partition ubuntu-lv has only 100GB.
So I tried to resize ...
1
vote
0
answers
104
views
Read EXT4 GPT partition type SSD on windows [closed]
I use SharpExt4 to read and copy data from an EXT4 SSD with an MBR partition type in Windows.
Now, I have a new card with a GPT partition type, as the new memory card is 4 terabytes and not able to ...
0
votes
1
answer
85
views
Breaking down e2fsck
Is e2fsck -cc equivalent to badblocks -nsv -o badblocks.txt; e2fsck -L badblocks.txt?
If so, could I potentially speed up the testing by getting badblocks to do a destructive read-write test? Like ...
2
votes
1
answer
92
views
External hard drive unmounts when spun down
I'm using a Raspberry Pi 5 with an external hard drive connected via USB 3. On boot, it is mounted with the following entry in /etc/fstab:
LABEL=external /mnt/external ext4 defaults,noatime,nofail 0 2
...
0
votes
1
answer
93
views
How to convert ext4 partition on raid 1 to btrfs?
I'm trying to convert two ext4 partitions that are on raid 1 with mdadm to btrfs.
When i try to run
fsck.ext4 /dev/md0p2
fsck.ext4 /dev/md0p3
They return with
e2fsck 1.46.5 (30-Dec-2021)
/dev/md0p3 ...
0
votes
1
answer
152
views
Why is my ext4 HDD silent on kernel 4.9 and noisy on 5.15 or later?
I have a HDD that still runs on a Debian Stretch system with kernel 4.9. The HDD was also mkfs'ed on that kernel.
When I manually mount the HDD on it, there are a few short and almost inaudible access ...
0
votes
2
answers
99
views
GNU Linux (ext4 and others) how to find largest duplicate files?
Luckily there are tools to find duplicate files, but unaware of any that output a sortable (by filesize) list.
How to find the top 30 duplicates sorted by filesize?
Have to sort out the msort X-D
...
2
votes
1
answer
168
views
Copying large video files to external hard drive (connected via a SATA III to USB 3.0 hub) universally causes file corruption
The files are perfectly fine on my server's local SSD, but when I try to copy them to the ext4 logical volume I have set up on top of a volume group that contains only this HDD, where the size of the ...