Questions tagged [fstab]
/etc/fstab is the configuration file which contains the information about all available partitions and indicates how and where they are mounted.
865 questions
5
votes
2
answers
705
views
How to automatically reload daemons after `/etc/fstab` was changed?
Whenever /etc/fstab has changed, and one then calls mount,
the following message arrives:
mount: (hint) your fstab has been modified, but systemd still uses
the old version; use 'systemctl ...
1
vote
0
answers
52
views
Ubuntu keeps remounting /dev/shm with different mounting options periodically
I have a Ubuntu 24.04.2 system where /dev/shm gets remounted (I assume) every now and then (roughly each 10 seconds), but I have no idea why. There's no mention of that mounting point in /etc/fstab ...
1
vote
1
answer
2k
views
How to avoid "cannot find in /etc/fstab" problem
I have just opened my GParted application and did a format for /dev/sdc1 to exfat type. But while trying to mount the drive after formatting is completed I am getting the following error.
It is ...
-1
votes
1
answer
99
views
Why does the position of `exec` flag in `/etc/fstab` matter? [duplicate]
I find it peculiar, that I could not execute binaries / scripts on my new RAMdisk (tmpfs).
1)
tmpfs /ramdisk tmpfs exec,size=3G,noauto,sync,user,rw,x-gvfs-show,x-gvfs-name=RAM 0 0
versus
2)
...
0
votes
0
answers
165
views
systemd fails to mount CIFS share at boot with _netdev option: "mount error(101): Network is unreachable"
I'm trying to automatically mount a CIFS network share at /mnt/Share using systemd on boot, with the _netdev option in /etc/fstab. However, the mount fails with the following error in journalctl:
May ...
1
vote
2
answers
258
views
How to move /home directory from HDD to SSD (without reinstalling Linux Mint)?
I'm a beginner to Linux and using Linux Mint.
When I first installed Mint, I placed the root / directory on my SSD, and the /home directory on a small partition of my HDD. Now that I have more space ...
0
votes
0
answers
61
views
How do I bind multiple read-only directories to a mounted directory to make them writable?
I have a root file system (/) that is read-only on a partition in an eMMC (/dev/mmcblk0p3). There are a variety of directories that I want to be writable and persist. I have a partition available on ...
0
votes
1
answer
387
views
Can't mount LVM logical volume on boot using fstab
I have a setup with a logical volume lvvm within a volume group vgsata. The lvvm was created with the thin -T option:
sudo lvcreate -L 925G -T vgsata/lvvm
lsblk
...
sdc 8:32 0 ...
0
votes
0
answers
78
views
Can't mount samba-share but can connect via file explorer
TLDR: I can access an external harddrive via GUI tools but not via fstab / mount tooling.
I'm at my wits end with this one. I've got an external harddrive plugged into the back of my Asus router, with ...
0
votes
1
answer
94
views
how to mount partition with -o remount,ro option without being superuser
If I am root in can run the command mount -o remount,ro /data. However I can not do it in my user session without using sudo. I tried to modify my fstab :
LABEL=DATA /data ext4 auto,rw,users ...
0
votes
0
answers
138
views
Declaring a bind mount in systemd-controlled initrd and persisting systemd attributes for the mount into the system
I know my title is a little bit convoluted so let me explain what I'm doing here in more detail. I am using a ephemeral root setup on my machine, essentially meaning that my / mount is a tmpfs and ...
1
vote
2
answers
292
views
Root partition not fstab, how is this possible?
A system I didn’t setup, just maintain (Debian 10/Buster):
root@host:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/p100p1502lp1 4.0T 3.2T 667G 83% /
none 24G ...
0
votes
1
answer
62
views
NFS free space indication missing on Linux Mint 22 Cinnamon
I am running Linux Mint 22 Cinnamon with my DS923+ NAS mounted after login by clicking on it, full details here, only slightly changed since then, but the options and mount process are still the same ...
0
votes
1
answer
273
views
How to automount a flash drive in Debian?
I have an Orange Pi One with the Armbian OS. I want to use it to collect data from sensors 24/7. And be able to save the database to a flash drive.
Considering the presence of only one USB port, as ...
1
vote
0
answers
210
views
why won't luks partition mount from fstab and crypttab entries?
I installed fedora 40 on a computer that was running parrot os. During install, I deleted all partitions except a 9TB luks data partition.
Fedora installed fine, but when I add entries in /etc/fstab: ...
0
votes
0
answers
72
views
Linux filesystem remapping
I have an ssd drive and a internal HD one. I want OS pointing to the home located in internal HD and working files Downloads, Music, Videos, Templates, Documentos etc., locatein the HD. My /etc/fstab ...
0
votes
1
answer
76
views
fstab not mounting but manual mount works
How can I mount via fstab?
# /etc/fstab
//fritz.box/FRITZ.NAS /media/fritz cifs username=foo,password=bar,vers=1.0 0 0
followed by sudo mount -a; ls /media/fritz/ leads to nothing
While this one ...
0
votes
1
answer
2k
views
WSL: Processing fstab with mount -a failed
When entering in my archlinux WSL with the command wsl -d Arch after a fresh install, (I completed a base install of arch linux in virtualbox. By exporting it as a compressed tar file, transferred it ...
0
votes
1
answer
257
views
Duplicate entry in /etc/fstab
what should I do with the fstab, when I use a bind on a mounted device?
/etc/fstab:
UUID=1b8076d1-fe24-4027-b182-2a888bb367a7 /opt/wazuh-Logs ext4 defaults 0 0
/var/ossec/logs /opt/wazuh-Logs none ...
2
votes
1
answer
131
views
fstab, mountpoint - what did I miss?
I can't figure out what I'm missing or done wrong.
lsblk dose not show the mount points(?)
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 1.8T 0 disk
└─sda1 8:1 ...
0
votes
1
answer
322
views
Force reboot if `fstab` mount fails instead of going to emergency mode
I have a fstab with read-only root-fs
and also a rw /var mounted on a USB reader with a µSD in it.
Sometimes at boot time system fails to mount /var.
It looks like the system cannot find the ...
0
votes
0
answers
34
views
Umask questions in mount [duplicate]
I have a question regarding 'umask.' I have an extra disk on my Linux system, and I want it to mount during startup with the same permissions as '/home.' For example, my '/home' has these permissions:
...
3
votes
1
answer
825
views
Building redundancy by creating multiple nfs mounts to a single location
I have been managing a small local Linux cluster for my lab, consisting about two dozens of Ubuntu Linux servers - half of those are headless servers (rack/tower), and the other half are used as ...
0
votes
1
answer
1k
views
Reboot into `initramfs` after altering partition table
Problem Overview
I recently upgraded my remote server contract with IONOS, increasing my hard drive space from 8GB to 80GB. I have an Ubuntu OS running bash.
I then went about extending my working ...
0
votes
0
answers
95
views
cifs mount is triggering NAS login/logout every couple minutes
I have Asustor NAS server and proxmox installed on other server.
On proxmox I have installed plex and mounted some CIFS resources in fstab for plex. I see that, even if plex is disabled, every (about) ...