Warum rödeln meine frisch partitionierten und #ext4 formatierten USB-Festplatten ewig herum und kommen nicht in den idle?! Und was zur Hölle ist #ext4lazyinit
Antwort: Ich habe eine Quickformatierung über gparted gestartet. Deswegen holen die Platten jetzt den Rest in aller Ruhe nach. Wieder was gelernt. Also alles über Nacht rödeln lassen.

So, I got the magnificent idea of formatting an external HDD to ext4.

Everything was fine, until I had to mount it on macOS (I still use that OS for some tasks). Okay… Not a problem, I think, I just have to install macFUSE and ext4fuse.

Yes, done. Now… let's plug in the drive and mount it, and… Oh! Surprise! "You don't have permissions to access this drive." What? I try and retry and nothing happens… So I get another ext4 drive (this one had a Linux system on it, not just files) and it worked!

Well, I cannot figure out how to make it work with my files drive then. But I do not give up.

"Time to VM!" I think. I install VirtualBox, make a VM with a lightweight Debian-based distro and when I'm about to activate USB passthrough… I just can't. I search for a solution and it turns out that it's something to do with permissions, again. And a lot of people have this issue in forums. I'm fed up. I uninstall VirtualBox and go to sleep.

A new day, a new way to suffer.

"I won't be beaten by a file system" I say to myself, determined to make it work this time. Since VMing still has the best chances to work, I give it another try, this time with UTM, a VM host and system emulator for macOS based on QEMU.

Surprisingly, UTM is simple and easy to work with, very user-friendly. So I have my VM running in no time, and (as if it wasn't enough complication) I decide to try out an Arch-based distro, EndeavourOS.

USB passthrough on UTM works flawlessly, and it's easy to use. Problem solved? Hell no, now I have to be able to share a folder between host and VM.

Thankfully, UTM's documentation is clear and, after a few package installs and a reboot, I manage to get it set up. And yes, folks, problem solved, this time for good.

May my problem have been solved another simpler way? Yes, quite likely. But as someone who hadn't used VMs on macOS, and had little to no experience with Arch-based systems (only Manjaro but didn't actually use it as my main OS), I learnt a lot.

P.S.: I'm aware of anylinuxfs, but I have an Intel Mac, so, that's not an option.

#Linux #macOS #ext4 #FileSystem #mounting #VirtualBox #UTM #VM

Ubuntu 24.04.3 ext4 dual external drive system causes crash on Raspberry Pi 4 #permissions #2404 #filesystem #crash #ext4

https://askubuntu.com/q/1563157/612

Ubuntu 24.04.3 ext4 dual external drive system causes crash on Raspberry Pi 4

I have a Raspberry Pi 4 8GB. I have installed Ubuntu 24.04 LTS and keep it updated. The current version is 24.04.3. The boot volume is an external USB 3.2 512GB SSD. This system is being set up as an

Ask Ubuntu

Samsung T7 Shield + LUKS + ext4 causes USB resets and I/O errors #usb #ext4 #luks #samsung #nvme

https://askubuntu.com/q/1562406/612

Samsung T7 Shield + LUKS + ext4 causes USB resets and I/O errors

I have a Samsung T7 Shield 4 TB with a LUKS-encrypted partition and ext4 filesystem with default mount options on Ubuntu 22.04. Writing large files (~1–2 GB) causes the drive to hang, USB resets, a...

Ask Ubuntu

Take the time to analyse this post on Anna's Archive

They teach you in meticulous detail why they took the time to create mirror backups of this musical archive which is torrented in bulk at 300 TiB

#HDD #EXT4 #partitions #Linux #technology #InfoSec #passwords #Spotify #breach #300TB

https://annas-archive.li/blog/backing-up-spotify.html

Backing up Spotify

We backed up Spotify (metadata and music files). It’s distributed in bulk torrents (~300TB). It’s the world’s first “preservation archive” for music which is fully open (meaning it can easily be mirrored by anyone with enough disk space), with 86 million music files, representing around 99.6% of listens.

@vermaden

It may look like I was joking but making such a backup is technically simple.

300TiB / 24TiB per HDD is 12.5 drives

300TiB / 16TiB is 18.75 drives

In reality it's more complex.
A 16TiB HDD is not 16TiB but 16TB lineair

Given a typical 4TB HDD I get just 3.64TiB in partitoned EXT4 HDD Space
That is 91% of the 4TB HDD

At 16TB that is 14.56 TiB {yes the loss is enormous and those hard drive companies are idiots because computer systems count in base² Binary not base10}

A 16TB drive is actually a 14.56 TiB Drive, it should be sold as 14.56 TiB not 16TB because that is misleading and false advertisement.

With these parameters we will need in reality 300 TiB / 14.56 TiB = 20.6
So we will need 21 drives for the task at 14.56 TiB. In the replication you will need twice the amount

This would become a JBOD just a bundle of drives, which is the easiest form to concatenate hard drive space to together.

A 4U JBOD enclosure can harbour a lot of drives. At the most you will need two.

Double the amount if you want a local backup of your main Spotify data.

Then you will need a 1U case for the computing System. A typical server motherboard, 1x AMD EPYC CPU, 512GB ram is more than sufficient.

You will need Fast Access to the Drive Array. 10GBit / sec in duplo should be enough. That means that your switches cables and network infrastructure will be expensive.

The high cost of AC power globally, can be a limiting factor when you have to power 42 hard drives provided that you are a Soho Network Builder, though.

That is the only factor you cannot calculate with constants

^Z

#HDD #EXT4 #partitions #Linux #technology #InfoSec #passwords #Spotify #breach #300TB

@killab33z i am using #ZFS as well after having used #ext4 and sometimes #btrfs or #XFS for a long time. I think #bcachefs is very interesting as well.
What to choose depends on your use case
What #Linux filesystems are people using? I've been on #ext3 and #ext4 for a long time and now looking at #btrfs due to the built-in snapshotting, so wanted to see if anyone here is using that. In the #BSD world, I prefer #ZFS but don't want to use that on Linux. Please share your experiences.

External disk with ext4 doesn’t auto-mount

Full post here. https://rene.seindal.dk/2025/12/08/external-disk-with-ext4-doesnt-auto-mount/

I have an external SSD in a NVME USB enclosure, with an EXT4 file-system. When I plug it in, it doesn't auto-mount, and haven't done so for a while.

Most other external disks do auto-mount.

I finally figured out why, and how to fix it.

#Ext4 #ExternalDisks #GnomeDesktop #Linux #udevRules

External disk with ext4 doesn't auto-mount - René's old blog

Why won't my external disks with ext4 file-systems auto-mount? Well, now they do.

René's old blog
@borgbackup on IRC I also got the suggestion to make a backup with "--files-cache=disabled" and then diff with that. I'll keep that in mind for next time I have a partial disk / filesystem failure/hiccup. I think diff'ing and manually sifting through between now and half a year ago would be a bit much.
But as I didn't experience/notice any file corruption and I would assume that corruption risk would be minimal with a journaling FS like #ext4 anyway, I think/hope I'm good now.