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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
19 views

gvsf (GNOME virtual file system) on usb-ios, when I git clone, I get: fatal: could not set 'core.filemode' to 'false' , due to OS service to rename

I usb-connect my ios device on my linux laptop. The linux system mounts a gvfs point to it (/run/user/1000/gvfs/afc:host=xxxxxxxxxx,port=3), I change directory there, I can rsync back and forth, but I ...
0 votes
1 answer
32 views

Dynamically select which partition to mount based on root partition

I have got two readonly root partitions (say roota and rootb) which operating system is installed. This is for a basic A/B partition update scheme and after updating my system these partitions are ...
  • 3
4 votes
6 answers
913 views

How to delete all UUID from fstab but not the UUID of boot filesystem

on the following example fstab file, we want to delete all lines that start with UUID , but except the UUID line with boot word /dev/mapper/VG100-lv_root / xfs defaults ...
  • 12.1k
0 votes
0 answers
33 views

No bootable devices found for Fedora

As a word of caution: I am inexperienced and moved some partitions around when attempting to dual boot windows from Fedora, I didn't take note of what I was doing and so only have my current ...
0 votes
0 answers
30 views

After updating computer enters in Emergency mode in KDE neon

I'm not sure if I'm posting in the right place. If it's so just let me know. Yesterday updated normally and when it rebooted it opens with the "emergency mode" and the "journalctl -xb&...
0 votes
1 answer
77 views

mount.cifs permission denied

I failed to mount a network drive and got mount.cifs permission denied $ nano ~/.smbcredentials username=xxx password=CwF $ sudo nano /etc/fstab //192.168.1.4/xxx /home/pi/mycloud cifs credentials=/...
0 votes
1 answer
59 views

Does fstab make sense for chroot jail?

I've created an fstab file (to mount /dev/pts and /proc, with the bind option) as part of a jail but when I chroot to the jail neither filesystem is mounted. This makes me wonder when the fstab for a ...
  • 157
0 votes
0 answers
38 views

/etc/fstab syntax incompatible between auto-mount and manual mount of CIFS

When I use this fstab syntax: # grep raven /etc/fstab \\raven.example.com\raven /raven cifs vers=2.0,credentials=/root/creds_smb_raven,\ uid=5000,gid=6000,file_mode=0664,dir_mode=...
  • 6,422
1 vote
1 answer
62 views

udisks excluding system global mount options when mounting

I have updated my embedded linux, but the udisksctl does not work as expected anymore. If I try to mount a ext4 formatted flash drive I get the following error: root@system:~# udisksctl mount -b /dev/...
  • 764
0 votes
1 answer
111 views

Automounting LUKS encrypted external usb when device inserted without error or hanging on boot if not present

Scenario Have an external device, encrypted with LUKS, automatically mount when inserted and not cause any issues if not present on boot. Most questions on this topic refer to mounting on boot - this ...
  • 111
0 votes
0 answers
40 views

Cannot mount device

I needed to restore my Ubuntu 20.04 server after trying out 22.04 for a bit. (Certain functions I require are not yet ready for 22.04.) The restore (which was a simple dd operation from a dd backup) ...
  • 101
0 votes
1 answer
32 views

data occupying space but cannot be found

when configuring an automount via fstab I made a mistake with defining the correct datasystem. Instead of ext4 I configured it to be ntfs. Whenever I copied files into the system I assume it copied it ...
1 vote
1 answer
191 views

Error: mount, as it already exists. Duplicate entry in /etc/fstab?

When I try to give access to the same target directory to multiple FTP users using these commands: sudo mount --bind /home/max/home/ExLand /home/riven/Desktop/ExLand sudo mount --bind /home/r1ven/home/...
  • 11
0 votes
1 answer
2k views

How to fix "Bad magic number in super-block"

I try to move all data from one SSD to another SSD. The old SSD is 500 GB, and the new SSD is 1000 GB. Firstly I've created a backup: dd if=/dev/nvme0n1 | gzip -c /media/ubuntu/local/backup1.img.gz ...
1 vote
1 answer
73 views

Force NFS/CIFS retry when FQDN name resolution fails

I originally tried posting this in the Ubuntu forums, but am hoping I will have a wider audience here. I have a setup in which I am mounting NFS/CIFS in my fstab which are then consumed by a service (...
  • 625
0 votes
0 answers
21 views

debian typo in /etc/fstab, cannot edit the file, mount -o remount,rw / doesn't work

When trying to do the command with / only, it says that it cannot do anything because of the error (i accidentally wrote ursquota instead of usrquota). If i try to replace the / with a different /dev/...
0 votes
1 answer
2k views

No such file or directory. But it exists [closed]

I'm trying to access the etc/fstab by the following command and getting the error. Bash command: sudo echo "swapfile none swap sw 0 0" >> etc/fstab Error: -bash: etc/fstab: No such ...
1 vote
1 answer
229 views

Home partition emergency mode

I recently mount my home partition(my home partition is separated from root) of the Endeavour-OS from my Garuda-OS, that cause me to boot into emergency mode in my Endeavour(that should have ...
2 votes
1 answer
935 views

tmp on tmpfs: fstab vs tmp.mount with systemd

To have /tmp on tmpfs, I know I can use an entry in /etc/fstab, but I do not understand the role of /etc/default/tmpfs mentioned sometimes, and in what case I need to create or modify it. Recently, I ...
  • 1,788
0 votes
0 answers
17 views

Dealing with a network share that is often unavailable?

Using /etc/fstab, I have mounted two network shares on my Raspbery Pi OS: NAS - this is my Synology NAS, PCH - this is a SSD inside my Popcorn Hour networked media player. My intention is that the ...
0 votes
0 answers
17 views

Why is my drive read-only?

I recently installed Manjaro on my computer. I use two drives, an nvme for the OS and a SATA SSD for everything else. I mounted my drive through FSTAB but it mounts itself as read only. LSBLK output: ...
0 votes
0 answers
48 views

fstab ipv6 mounting nfs share on more than one Interface

Can I use multiple interfaces in fstab i.e. %wlp2s0 and %eth0. Is there any wildcards I can use with %. I am currently running on a laptop and I am using: [fe80::a:b:c:d%wlp2s0]:/mnt/usbDisk/nfs-share ...
  • 1
2 votes
1 answer
2k views

ExFat mount permission

I am trying to mount an exfat drive using fstab with read write permission for both user and group. The line of etc/fstab for this drive is: UUID=5E98-37EA /home/ftagliacarne/data/media exfat defaults,...
1 vote
0 answers
51 views

How to make changes during boot on a read only rootfs

I have built a Yocto image (not based on sato) that is successfully booted, but because root is read only (in fstab), some services have failed. Mainly there is a run-postsinsts service that is ...
  • 205
1 vote
1 answer
160 views

Does Ubuntu installation keep multiple ESP synced? How to setup /etc/fstab to fallback mount /boot/efi?

Disclaimer: I have no experience installing Ubuntu Server in UEFI boot mode. Context I'm setting up this new servers with RAID 10 via mdadm. AFAIK, ESP can't be RAIDed, so during Ubuntu installation ...
2 votes
0 answers
133 views

Recover Arch due to separate /usr

Right now I need chroot to reset mkinitcpio and grub, or I need to salvage the package list if that doesn't work. I Installed StormOS with separate /boot/efi for grub, on an x86_64 system, UEFI boot. ...
  • 21
4 votes
1 answer
518 views

Why do swaps that aren't in fstab attempt to mount at boot

I'm using Pop!_OS (Based on Ubuntu/Elementary OS). I've got swaps that are mounting at boot that aren't present in fstab. Because I've deleted those partitions, the entire boot process has to wait an ...
  • 163
0 votes
1 answer
63 views

fstab won't work

The fstab listed below gives a bad fs on boot. The two enteries above the swap file entry are new. The partitions are valid and worked with previous swap file by mounnting them after boot using the ...
1 vote
1 answer
116 views

What are all these /etc/mtab filesystem types? How did they get mounted?

I'm learning about partitioning disks for different server applications, and was exploring mtab to see what sort of partitioning scheme is set up. I'm seeing filesystems that aren't described in /etc/...
0 votes
2 answers
156 views

Can't mount network drive properly over Wi-Fi (cifs error -101)

NOTE: this is a repost from https://askubuntu.com/questions/1427248/cant-mount-network-drive-properly-over-wi-fi because it was off-topic there I am trying to mount a network drive on Lubuntu 16.4 ...
0 votes
1 answer
1k views

lsof: WARNING: can't stat() tmpfs file system

when I use lsof as regular user, I get following warnings: lsof: WARNING: can't stat() tmpfs file system /home/testuser/.cache testuser is another user on my systems, and my own user has no access to ...
0 votes
0 answers
119 views

Mount cifs after NAS comes online

I have a NAS that is powered on via wakeonlan on startup by the desktop computers. I want to mount the NAS shares on the desktop computers via fstab, but of course the shares are not available. NFS ...
  • 1,046
0 votes
0 answers
95 views

copying file to mounted SMB share changes the file date

I'm using KDE 5.20.5 on MX-21.2. I have mounted SMB shares with fstab. If I copy files to the mounted share with Dolphin the file date is changed to the current date. If I copy the file with Dolphin ...
  • 1
0 votes
0 answers
211 views

Nested BTRFS subvolume is not being mounted

I have a btrfs subvolume structure that allows me easy snapshotting of targetted folders, but it appears that one of my btrfs subvolumes is not getting mounted at all. This is weird, considering other ...
  • 1
0 votes
0 answers
64 views

How can I mount partitions based on IP?

I have set up a home server and I was wondering if it is possible to set up the fstab to automatically mount the network drive using the home network IP when I am at home and to mount it using my ...
  • 1,685
0 votes
0 answers
259 views

How to change Swap Drive in /etc/fstab on OpenSuse

I installed 4 linux distributions on my drive, 4 partitions one after the other. Part way through installation I deleted the swap partition because it was in the wrong place. I recreated the swap at ...
  • 101
0 votes
0 answers
135 views

USB drive error SCSI cache

just recognized an unknown error, as i checked my actual log with journalctl -f. When i unmounted my Backup-USB-disk with unmount /path/to/disk and then pulled the cable out, a short noise occured ...
0 votes
0 answers
28 views

Mount unexpectedly calling espanso

The following happens as soon as I combine -a and -o remount - one flag individually does nothing, the adding of -f only removes expected permission warnings. Running as root produces the same output. ...
  • 489
1 vote
1 answer
194 views

bind mount in /etc/fstab, to add suid to subdirectory

I have succeeded in using mount to do it. sudo mount -o bind dir dir && sudo mount -o remount,bind,suid dir It takes two calls to mount. I could not get it to work in less. In any case the ...
0 votes
0 answers
43 views

How to keep a network drive mounted in linux even when a user logs out

At work we have an ubuntu machine which is used by many users concurrently. We have mounted some network drives using fstab and this works fine. However when one of the users logs out, some of the ...
  • 101
0 votes
1 answer
138 views

How to configure fstab to mount a specific file only? [duplicate]

How should I configure fstab to mount a specific file only? The file is in a directory which contains other directories and files, besides the file I intend to mount.
  • 639
0 votes
2 answers
93 views

How to configure fstab to mount a remote directory without including its subdirectories?

How should I configure fstab to mount a remote directory but without including its subdirectories but only the directly (1th level) contained files?
  • 639
0 votes
1 answer
54 views

Difference between fstab commit and sysctl for writing back dirty data to disk

For reducing the number of disk writes, what is the difference between using fstab to change the disk commit frequency and using sysctl for controlling when dirty data is written back to disk?
1 vote
0 answers
51 views

NFS is freezing up when saving a file from video stream

I'm very lost here, i'm not really too experienced with NFS. I have multiple servers and 1 file server, the file server has a share using nfs that the other servers mount. One of the servers uses ...
  • 11
0 votes
0 answers
81 views

fstab mount ram drive so that all files created will be universally accessible

I mount a ram drive /mnt/ram that my scripts and services use for logging and notifications. This would be like /tmp but a directory that only my scripts use. A problem arises when 'my' scripts are ...
0 votes
1 answer
332 views

Mount entry in /etc/fstab with SSHFS and a proxy

I'm trying to mount a remote disk using SSHFS that is not directly accessible, i.e. I need to use a proxy, like local -> proxy -> remote. I'm using only key-based auth for both. The following ...
  • 51
0 votes
1 answer
354 views

Fstab permissions

I created a partition called sdb1 in fat32 and created 3 folders within a main folder however I wanted the 3 folders to have different permissions. I tried to make an ana folder with all permissions, ...
0 votes
2 answers
193 views

systemd service to start after mount of ram drive

I have a inotify-based service that backs up my LAN's git directory to the Dropbox. I tried keeping the git directory in the Dropbox but I have multiple git clients so often get error files there. In ...
0 votes
1 answer
2k views

systemd remote-fs.target trying to mount remote filesystem that has been removed from fstab

This is a CentOS 7 system This actually starts with the kafka service. Kafka is failing to start due to a dependency on remote-fs.target When I try to manually run remote-fs.target: sudo systemctl ...
0 votes
0 answers
128 views

"Unable to retrieve fs info" when resizing btrfs partition

I have a partition formatted with btrfs and mounted in /home and in / (according to the fstab file and lsblk -f). I want to shrink the filesystem, but both of the following commands return ERROR: ...

1
2 3 4 5
16