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
6
votes
2
answers
578
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 ...
3
votes
1
answer
123
views
Removable media mounting strategies
I'm working my way through understanding more about unix/linux and how the various tools/packages/options interact with one another (for example, the role of systemd, or how fstab works). I'm also ...
1
vote
0
answers
49
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
3
answers
468
views
Unable to mount NFS share from fstab, cmd line works fine
I have an NFS server installed on my PC running KDE Neon (24.04). I installed it so that I could share a folder to a Windows 11 tablet. It worked well, and I was able to create a persistent mount on ...
1
vote
1
answer
1k
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
vote
0
answers
27
views
Ocfs2: link between cluster and device?
I am having 2 servers (Debian 12) that use a storage-disk (SD).
Both see this SD as a device via fdisk. I have no details about the storage-device itself or the connection type - for me it is just a ...
-1
votes
1
answer
84
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
1
answer
193
views
How to actually configure GRUB to not set the filesystem as read-only at boot?
During a boot, Debian failed to start a lot of services. While checking for the cause, I found that it mounted / in read-only mode. I also found that I need to run fsck to check the disk and fix ...
0
votes
0
answers
136
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 ...
0
votes
1
answer
236
views
x-systemd.automount and noauto causes CIFS mount to ignore uid/gid and mount as root
I'm trying to mount a CIFS (Samba) share using /etc/fstab, and I want it to be owned by a specific user (myuser), not root.
My current fstab line is:
# <file system> <mount point> <...
1
vote
2
answers
216
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
146
views
fstab mount network drive password
I have problem automounting a network drive, and I noticed the command line to do so uses commas to separate commands. I put username=xxx,password=xxxx there, ...
But my password contain a comma. Does ...
0
votes
0
answers
57
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
2
answers
121
views
How can I prevent my Linux box from writing to /data when the NFS server is not up and not mounted?
I have a server hosting an NFS mount. I have this mounted on my Linux box. Below is the relevant /etc/fstab entry.
192.168.10.11:/data /data nfs4 auto,nofail,...
0
votes
1
answer
350
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 ...