What's the difference between an overlayfs and mounting another disk over an existing directory?
#unix #linux #overlayfs #mount #stackexchange #stackoverflow #fstab #question
What's the difference between an overlayfs and mounting another disk over an existing directory?
#unix #linux #overlayfs #mount #stackexchange #stackoverflow #fstab #question
This mornings "lets do some quick updates and reboot while staying in the bed"-session got me out of the bed, because the server did not come online again.
Turns out: If you mount thin-provisioned #LVM logical volumes with #fstab you need thin-provisioning-tools, otherwise the #systemd unit fails during boot. And that package is not a dependency, only recommended on #Debian #Trixie and for some reason wasn't installed on my system.
Longer version: https://swagspace.org/blog/lvm-thin-provisioning-tools/
Let's Learn Linux: Control mounting and unmounting of filesystems
¿Qué es, cómo se usa y cómo funciona el archivo fstab en Linux? #distros #_etc_fstab #discos_duros_linux #fstab #linux #montaje_automático #montaje_particiones #sistemas_de_archivos
https://notilinux.com/como-funciona-el-archivo-fstab-en-linux/
So #KDE filemanager #dolphin doesn't search through symbolic links and I had already spent about a year or so cursing #baloo whereas it worked fine on my laptop.
I had to get #fstab bind mounts to mount specific directories from another drive onto my home directory. Everything worked!
Now using #zfs meant I had to force the correct order of mounting else I have empty directories.
fstab's #systemd option - x-systemd.after=datapool.mount came to rescue and everything works again.
Warum funktioniert die manuelle Verbindung, #fstab verweigert mir aber hier das automatische Einhängen?
192.168.172.100:/volume1/MEDIA /home/defcon42/mnt/MEDIA nfs defaults 0 0
Wie gesagt, manuell geht es problemlos, die #NFS credentials sind also auch korrekt am Server gesetzt.
Am alten Laptop - gleiches OS - ist der Einhängepunkt im Hauptverzeichnis und nicht wie hier im Homeverzeichnis, ansonsten alles komplett gleich. Da geht es.
How To Mount A Drive Permanently In Linux Using Fstab: A Step-by-Step Guide #Fstab #Linux #Linuxadmin #Linuxbasics #Linuxcommands #Linuxhowto
https://ostechnix.com/mount-a-drive-permanently-in-linux-using-fstab/
My humble NAS (a.k.a. an old laptop) now has NFS in addition to SMB, and SyncThing.
I'm having trouble getting my Fedora KDE 41 Laptop to mount it on boot, though. I added it to `/etc/fstab`, but it doesn't work. It mounts when I run `sudo mount -a`, though.
I'll continue to tinker with it later.
Ok... this is weird. One of my #Raspis decided to not start some services after a reboot. Turns out the / file system was read only. Somehow, /etc/fstab got a "o" at the end of the line for the root file system.
Remounted rw, removed this "o" from fstab, rebooted and everything is back to normal.
e2fsck showed no errors so... ??? Maybe modifying files via an SSH client on a tiny smartphone screen is not the best idea.
#Linux hat kein device management.
Man muss also ein bisschen hacken. ZB einen parallelen User haben und mit einem #systemD service beim Start alle userdateien überschreiben.
Auch /var/home noexec mounten in /etc/ #fstab, damit von dort kein #Code laufen kann. Aller Code muss im System liegen, mit #RPM paketem oder system #Flatpaks
#Desktop Linux ist halt im Konzept nicht für user-restriction gebaut. Man kann ohne Privilegien den kompletten Desktop zerfetzen. Keep that in mind.
Having trouble getting fstab to work with FreeBSD. It's a GhostBSD install.
mount -a
works and mounts the drives correctly but it's not working at boot.
Maybe the mount points aren't ready.
I've tried it with labels and with the drive designator. I get both of them to work with mount -a but not at boot time.
With the lines commented out in fstab it mounts the drives but I am trying to mount them to directories secondaryfiles and secondarysnapahots.
Wait. That IS how it's done, isn't it?
To "Permanently [ e.g. like a 301 i guess? ] " tell the system I want to have that
ssh:// location "mounted"
THere's a way to do that.
I have to put the authentication credentials in a file.
and it can be samba credentials, and then that file is indicated in
#FSTAB
Sure. I can #google the hell out of the concept. I just don't remember the names of the things I'm targeting, so the solution is dependent upon that problem. the memory.
i know it's not a french fry. it's not a 6-speed transmission. it's not a commodore 64. it's not ...
@zombiewarrior -- you know what i'm looking for?
:grumble: :grumble:
ahem.
i dunno. but i dont think one used to have that long time ago days.
however, one also didn't have all the other stuff long time ago days neither then so trade offs a bitch. some kid in the playground told me, and kicked me in the jimmy.
Now. how we gon go about makin' that not bug me so much?
Oh, there's multiple ways to skin that cat. We know.
my first thought was #fstab but i'm thinking not. and then there's also that graphical app for adjusting FlatPak permissions (and hell if i remember where or how i was so graced with it on a system once!)
oh yeah. i guess this is a #Flatpak app.
#Linux #Filesystem #GarudaLinux #EndeavourOSLinux #Permissions