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
1 vote
0 answers
13 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
36 views

Recover Arch due to seperate /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 seperate /boot/efi for grub, on an x86_64 system, UEFI boot. ...
  • 21
4 votes
1 answer
262 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 ...
0 votes
1 answer
40 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
43 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
1 answer
15 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
69 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
22 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,036
0 votes
0 answers
19 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
38 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
33 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,390
0 votes
0 answers
54 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
22 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
9 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. ...
  • 419
1 vote
1 answer
52 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
27 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 ...
  • 1
0 votes
1 answer
49 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.
  • 619
0 votes
2 answers
51 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?
  • 619
0 votes
1 answer
25 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
22 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
24 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
72 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
116 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
67 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
433 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
52 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: ...
0 votes
0 answers
63 views

Samba share in fstab, setuid root not working but for one share

I'm mounting different SMB Shares from a server. All of the shares have the exact same server side configuration (minimum SMB 2.1, maximum 3.0, enforce encryption, ...). On my client side (laptop) all ...
  • 1
0 votes
1 answer
57 views

fstab Read Only Error

I'm attempting to automate the mounting a Samba share using /etc/fstab, and I'm not sure how to translate the bash command into the format fstab is expecting. I'm able to successfully run the ...
  • 1
0 votes
1 answer
202 views

fstab mount is delayed

I just installed the newest version of Manjaro ARM on an sd-card for my Raspberry Pi 4. Now I am trying to mount two directories located on my Synology NAS permantly (via network of course) using the ...
-1 votes
1 answer
396 views

Can't add swap in pop Os 22.04

I have recently installed Pop OS 22.04 on my dell laptop. At the installation time I have chosen /dev/sda2 partition for my swap partition. But the installer gone mad and used /dev/sda2 and /dev/sda8, ...
0 votes
1 answer
171 views

Why am I getting mount error Operation not supported?

VM running Ubnutu v18.04: In /etc/fstab I have the following (pw elided): //216TN53/UbuntuShare /mnt/data cifs username=kafkaetl,password=*******,uid=nobody,iocharset=utf8,noperm 0 0 mount -av is ...
0 votes
1 answer
111 views

fstab entry to automate mounting B2 Backblaze bucket to local mountpoint

I maintain a ubuntu 20.04 LTS headless server and I can manually mount the B2 bucket using fuse s3fs for backup. How to add a line to fstab to automatically mount the B2 bucket at powerup? I know that ...
0 votes
0 answers
41 views

How to limit swap usage without using sysctl or resizing the partition?

There is the following scenario: I have an HDD disk that uses LVM and I cannot resize the partitions in it, in this disk, there is a swap partition that is 10gb. I also use zram apart from disk based ...
0 votes
0 answers
158 views

commit argument in ext4 fs vs commit mount option in fstab

Target Improve the I/O performance of ext4 file system, specifically. Background I got to know about noatime and commit mount options for fstab, and also a warning that the former can be a breaking ...
6 votes
2 answers
516 views

Find all “real” filesystems mounted in a directory tree

How do I discover, for a given top-level directory, which “real” filesystems are mounted there, and from which devices (may include UUID or LABEL, but must use /dev/something for LVM)? Background is ...
  • 1,636
0 votes
1 answer
48 views

How to Activate a Mount of a Remote Share When Its Machine Connects?

How can one activate a mount of a remote SMB share when the remote machine connects? This is more about discerning a local event triggered by the connection of a particular remote machine, than it is ...
  • 211
0 votes
1 answer
85 views

unable to mount network share from fstab or in terminal

My laptop boots normally. But earlier this week, after some updates, it is unable to mount (fstab) network shares from my QNAP. Other computers with the same fstab connect successfully. I checked the ...
0 votes
0 answers
105 views

I can't boot into my UBUNTU 20.04 LTS

some problem in partition /dev/sda8 and it has logged me into emergency Mode. I tried running fsck command but to any use and also commented the fstab file but none worked. Please help me !
0 votes
0 answers
208 views

Disks no longer mount when starting Ubuntu after installing Blender compilation dependencies

I'm trying to compile Blender on Ubuntu 22.04 and I ran into some problems while installing some dependencies and now Ubuntu wont boot. I was running an automatic dependency installation script for ...
  • 11
2 votes
1 answer
177 views

USB Drive sometimes changes the Drive name

I have two USB Drives, I created partitions, and formatted it to ext4. Running fdisk -l shows that I have /dev/sda1 and /dev/sdb1 Device Boot Start End Sectors Size Id Type /dev/sda1 /dev/...
  • 123
0 votes
0 answers
159 views

FSTAB on Debian 11 Mounts Drives in Read-Only Mode

I installed MergerFS on a debian machine, and things seem to work. However, the drives end-up in read-only mode. How can I fix this? /etc/fstab /dev/disk/by-id/ata-ST1000LM014-1EJ164_W770QH4A-part1 /...
1 vote
1 answer
236 views

What should be in my /etc/fstab if I have two discs?

I have a laptop. It has two hard drives. One is an SSD with a normal Windows 10 install on it. The other is an mSata with a normal install of FreeBSD13 on it. To install FreeBSD I removed the SSD, ...
2 votes
2 answers
608 views

Where is the official documentation for /etc/fstab?

I want to start editing my /etc/fstab file more comfortably and not rely on random forums anymore. But wherever I go, I see very scarce info about it. I can nowhere find a webpage that, for example, ...
  • 179
1 vote
1 answer
445 views

Kubuntu 20.04.4 LTS cannot mount domain samba shares (either from terminal or fstab)

I have been trying to mount a simple share. All domain users should have read permissions. Kubuntu was configured for domain, I can see domain and log in with domain user. When I access shares with ...
12 votes
1 answer
668 views

Drive mounted with flags different from /etc/fstab - not respecting suid, dev, or exec

I have an ext4 mounted with the flags rw,suid,dev,exec,auto,user,async in /etc/fstab but running mount after mounting gives rw,nosuid,nodev,noexec,relatime,user. How do I get it to mount exactly as ...
0 votes
1 answer
695 views

Mounting a share in fstab (Debian 11) fails with BAD_NETWORK_NAME

I can run sudo mount -t cifs -o guest,user=root //SERVER_NAME/SHARE /mnt/FOLDER without issue. However, I cannot run mount -a or mount /mnt/folder when I have this line in fstab: //SERVER_NAME/SHARE /...
0 votes
1 answer
60 views

How to share an fstab'd external HDD between users "www-data" and "pi"?

I've been working through these two tutorials, in the hopes of setting up a Raspberry Pi to run Owncloud and Resilio Sync in tandem. First, I installed Owncloud and gave it access to a mounted ...
1 vote
1 answer
263 views

SSHFS automount fstab with RSA Keypair asking for password

I have a problem. I added a SSH Server to mount to my server. I added the following line to /etc/fstab. sshfs#user@server.com:/home/hd03_00_backup_server/ /mnt/server_backup fuse.sshfs IdentityFile=/...
2 votes
1 answer
121 views

How to make a "dynamic" etc/fstab

I have manually installed linux on a USB drive. It works and boots up when I plug the drive into the original computer. The problem comes when the drive is on a different computer or there are other ...
0 votes
0 answers
149 views

failed to add quota to fstab something while installing ISPconfig on ubuntu 20.04

[INFO] Adding quota to fstab. [ERROR] Exception occured: ISPConfigOSException -> Command mount -o remount / 2>&1 && quotaoff -avug 2>&1 && quotacheck -avugm 2>&...

1
2 3 4 5
16