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
0 answers
28 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 ...
user avatar
6 votes
2 answers
458 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 ...
user avatar
  • 1,571
0 votes
1 answer
33 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 ...
user avatar
  • 51
0 votes
1 answer
24 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 ...
user avatar
0 votes
0 answers
24 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 !
user avatar
0 votes
0 answers
30 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 ...
user avatar
  • 11
1 vote
1 answer
28 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/...
user avatar
  • 113
0 votes
0 answers
27 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 /...
user avatar
1 vote
1 answer
82 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, ...
user avatar
2 votes
2 answers
548 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, ...
user avatar
  • 159
1 vote
1 answer
101 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 ...
user avatar
12 votes
1 answer
559 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 ...
user avatar
0 votes
1 answer
89 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 /...
user avatar
0 votes
1 answer
40 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 ...
user avatar
1 vote
1 answer
71 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=/...
user avatar
2 votes
1 answer
52 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 ...
user avatar
0 votes
0 answers
60 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>&...
user avatar
0 votes
1 answer
109 views

I can't mount partitions via /etc/fstab, the error appears

I've tried to mount my new partitions by editing /etc/fstab, but error appears. When I try to do it by mount command, all works fine and I can mount them. What's wrong? # /etc/fstab: static file ...
user avatar
0 votes
0 answers
91 views

Can exFAT-formatted disks on Linux be diskwise access-controlled by fstab, UDEV, udisks2 or anything else?

The exFAT filesystem developed by Microsoft supports only Windows ACL but neither Linux ACL, macOS ACL nor POSIX permission (Unix permission). I am especially disappointed that exFAT does not support ...
user avatar
1 vote
1 answer
184 views

mount smb share after wireguard with fstab or systemd

I'm trying to mount an SMB-share after a wireguard connection has been established. Therefore I did the following things: created a wireguard config made systemd start the connection on startup ...
user avatar
  • 73
0 votes
2 answers
43 views

Linux: How to preserve read-only mode for layered bind mounts

Let’s give some context to the issue: There is /foo/bar directory in read-write mode There is /bar bind mount that points to /foo/bar In /foo/bar there is bar directory that has to be in read-only ...
user avatar
  • 111
2 votes
0 answers
55 views

How to verify fstab concisely?

I have been using the following command so far to verify my /etc/fstab: sudo findmnt --verify Unfortunately, it spills out warnings for each unreachable disk (which I don't care about) and I have not ...
user avatar
  • 395
0 votes
0 answers
58 views

Btrfs partition won't mount during boot using fstab

i have just reinstalled my raspberry pi 4 with raspbian lite 64bit. While doing this i also switched from using sd-card-boot to usb-boot and installed the os on an ssd. Now i still want to use the sd ...
user avatar
-1 votes
1 answer
47 views

linux fstabs messed up not starting up

I have modified /etc/fstab and then reboot the Ubuntu machine. I was connecting to this machine via ssh. it's not promting anymore via ssh for username and password. how can I via ssh fix this issue?
user avatar
  • 11
1 vote
1 answer
161 views

Trying to move Linux installed on LVM over to new disk

I have Linux Mint installed on and booting from an LVM drive with two physical disks in the volume group (1TB each). I have purchased a new hard drive (4TB) and I would like to clone the whole thing ...
user avatar
2 votes
1 answer
60 views

Blocking mounted devices from showing on Cinnamon desktop

On Cinnamon 5.0.7 (Linux Mint 20.2), how do I prevent mounted devices, specifically device created in fstab, from showing up on the desktop and Nemo sidebar. Until recently, this was the default ...
user avatar
  • 197
1 vote
4 answers
173 views

comment the specific line in fstab file that contained the relevant UUID number

We want to comment the specific line in fstab file that contained the relevant UUID number Example: Disk=sde UUID_STRING=` blkid | grep $Disk | awk '{print $2}' ` echo $UUID_STRING UUID="...
user avatar
  • 10.9k
2 votes
1 answer
364 views

How to enable journaled quota on Debian 11

I'm trying to enable journaled usrquota on Debian 11 Kernel 5.10. All information I find uses external files which leads to the following deprecation warning: quotaon: Your kernel probably supports ...
user avatar
  • 141
0 votes
0 answers
55 views

Adding bcache partition to fstab

I successfully setup bcache and added a HDD as a backing partition. I am able to mount that partition by sudo mount /dev/bcache0 /data I would like to add this to fstab. I edited it to the following: /...
user avatar
0 votes
2 answers
27 views

Auto-mounting the 2nd internal HD

I'm editing the fstab file to automount my secondary HD and I would like to know how to setup the 'noatime' in the command line. The command I have so far is: UUID=DEVICEID /PATH ntfs-3g rw,...
user avatar
0 votes
3 answers
223 views

How to edit fstab to mount bind a directory that have spaces in the PATH at start in wsl2

I am currently using wsl2 on windows and I use MS OneDrive locally in parallel for my studies. Actually I sync each file with my OneDrive account. AS my Onedrive folder's name is like : Onedrive - ...
user avatar
1 vote
1 answer
36 views

a disk moved from an old computer requires a root user to be mounted, why?

I had a data disk on my previous computer (Debian 9) accessible to me, the user marc. Then I bought a new computer (Debian 10), and the reseller put that disk among others, that was immediately ...
user avatar
  • 729
1 vote
1 answer
171 views

What happens when mounting network drives in fstab fails

I am responsible for maintaining a Linux (Ubuntu) machine in my company. We mounted some NFS network drives. In irregular intervals (during holidays), the machine is forcefully restarted because the ...
user avatar
0 votes
1 answer
51 views

`fstab` entry for bootable system on SSD moving between machines

I have a (perhaps) unusual setup: a bootable system on a SSD which I carry between two essentially identical (AMD) machines. This gives me at each site EXACTLY the same Debian environment (for all ...
user avatar
2 votes
1 answer
38 views

How do I wait for the physical network interface and network protocol stacks to be up before trying to mount a remote CIFS share?

I'm having a problem getting a remote share to mount on boot.  The mount is attempted before the network interface is ready – and I've got _netdev on the required line in /etc/fstab: //192.168.0.160/...
user avatar
  • 33
0 votes
1 answer
2k views

Cannot open access to console, the root account is locked

I have a Debian 11 that i was using LVM for data only, i did the following commands: mount /dev/srv-vg/lv-data /mnt/data vi /etc/fstab /dev/srv-vg/lv-data /mnt/data ext4 defaults 0 0 The mount ...
user avatar
0 votes
1 answer
970 views

mount(2) system call failed: No such file or directory

I cannot mount the swap subvolue. -> sudo mount -av / : ignored /home : already mounted mount: /swap: mount(2) system call failed: No such file or ...
user avatar
  • 247
0 votes
2 answers
432 views

mount options ignored - debian 11 bullseye on raspberry with ext. usb drive

I'm trying to mount an external usb drive to raspberry pi 4b with debian 11 bullseye. Whatever I've tried so far to set mount options gets ignored. /etc/fstab UUID="9f32de87-6800-4585-a5c5-...
user avatar
0 votes
1 answer
139 views

How do I use file_mode and dir_mode with an exfat drive in /etc/fstab?

I'm running Ubuntu 20.04 Server with Kernel 5.11 including built in exfat support - I don't have exfat-fuse or exfat-utilities and would prefer to just use the new native kernel support. I'm able to ...
user avatar
0 votes
0 answers
95 views

media.mount: Job media.mount/start failed with result 'dependency'

Note: the root problem is now solved, see USB flash drives automatically mounted (headless computer). Still the question how 'to debug this problem' below is still interesting on its own. I'm using ...
user avatar
  • 2,245
1 vote
1 answer
285 views

USB flash drives automatically mounted (headless computer)

For the project SamplerBox, up to now I was using /dev/sda1 /media auto nofail 0 0 to have USB flash drives automatically mounted when inserted on the headless computer, see also Auto-mount and auto-...
user avatar
  • 2,245
0 votes
0 answers
104 views

Moving Pop OS installation between ssds

I wanted to trash windows for good and searching I decided for pop os (an ubuntu like as far as I know) and I tried with an ssd on the laptop to check compatibility and gaming. Perfect! I want it. ...
user avatar
2 votes
1 answer
548 views

Mount with sshfs in /etc/fstab file

I am trying to connect to sshfs with fstab on Ubuntu, but the files are not loading. In the fstab I put the following : ssh2@192.1.1.1:/home/ssh2/SSHserver /home/asir3/Escritorio/SSHclient fuse....
user avatar
1 vote
0 answers
121 views

Unable to run fsck on boot Archlinux

I'm running Archlinux on ODROID-N2+ with Petitboot (based on Uboot) bootloader. I followed the archlinux wiki to enable fsck on boot, but it still never runs. I have fsck set as the last hook in ...
user avatar
0 votes
1 answer
131 views

LVM entry for logical volume in /etc/fstab - /dev/mapper/group-volume or /dev/group/volume?

I created a logical volume like the following. lvcreate -L 300G MyVolGroup -n homevol As for mounting this volume after initializing a filesystem on it, a few guides I read used /dev/MyVolGroup/...
user avatar
  • 519
0 votes
2 answers
229 views

Mounting NTFS hard drive on boot

I am trying to mount a hard drive with an NTFS filesystem on it on boot. It doesn't need a special location. /mnt/ or something similar should be enough. I had already done that with a drive but it is ...
user avatar
  • 13
0 votes
0 answers
60 views

Unmount without sudo

I know that I can declare in /etc/fstab that a user can mount and unmount a partition without root permission using user(s). But I seem to be unable to achieve the same in a mount command without ...
user avatar
  • 395
1 vote
1 answer
171 views

How to tell systemctl to automatically unmount a drive if it's idle and remove directory after unmounting?

I have this entry in fstab: LABEL=cache /disks/cache ext4 rw,user,x-mount.mkdir,relatime,noauto,errors=remount-ro,x-systemd.idle-timeout=120min 0 0 What I expoect to do is: to mount the disk with ...
user avatar
  • 21
1 vote
0 answers
151 views

Mounting NTFS partition by fstab at boot still works correctly, but process never dies

Why would a mount.ntfs operation never finish (continue to burn CPU) if the partition seems to be correctly mounted? How could this be debugged? On Linux Mint 19.3, I've had an fstab (below) operating ...
user avatar
  • 111
0 votes
0 answers
231 views

mount command on Alpine Linux doesn't like octal sequence for space in fstab

on alpine Linux, I can't mount automatically a cifs directory which has a space in the name, but manually it may work. With this /etc/fstab snippet it doesn't work: //192.168.245.1/My\040Space ...
user avatar
  • 11

1
2 3 4 5
15