That and permissions are likely the main problem, dependencies are the next xD
Comment on How I accidentally wiped my server by having a typo in my Nextcloud docker config
Bakkoda@sh.itjust.works 1 year agoNever use /dev/sdX device paths, use UUIDs. They exist for a reason.>
This is absolutely fantastic advice.
plague_sapiens@lemmy.world 1 year ago
yiliu@informis.land 1 year ago
You can label your devices. When formatting, do
mkfs.ext4 -l my-descriptive-name /dev/whatever
. Now, refer to it exclusively by/dev/disk/by-label/my-descriptive-name
. Much harder to mix uphome
andswap
thansdc2
andsdc3
(or, for that matter, two UUIDs).