Questions tagged [fstab]
fstab is a file on in Unix / POSIX systems that stores settings about where devices system startup are mounted.
242
questions
0
votes
1
answer
136
views
thunderbolt SSD won't mount at boot
My system won't boot when I have my Thunderbolt external SSD in my fstab.
I think maybe systemd is trying to mount drives before boltd is running, but I'm not sure how to verify that this is the ...
-1
votes
1
answer
46
views
Can’t make /etc/fstab writable with chmod
I am following the second answer to the post (https://askubuntu.com/questions/178712/how-to-increase-swap-space) to increase swap space but whenever I run ‘’’sudo chmod +w /etc/fstab’’’ I still see “/...
0
votes
1
answer
34
views
Moved /usr to another disk as it was getting too big but now my system won't boot?
Currently I have my arch install (pure arch + hyprland) installed so that my / (root) is on my NVME SSD (which has little space due to windows dual boot) but my /home directory is on my SSHD (hybrid ...
0
votes
0
answers
275
views
fstab being ignored in osx ventura; possible to use it in Ventura MacOS?
I have an OSX running Ventura 13.4.1. I've created an fstab file (in /etc) that contains an entry for mounting a linux server running smb. The entry is correct, and mounts properly when processed with ...
0
votes
0
answers
104
views
How to avoid duplicate mount that was happened by mistake in Linux?
I want to share all our lesson learning about mistake that happened on our production very critical server (RHE 7.6 version).
The story is about some mistake in our code that performed by mistake. ...
0
votes
0
answers
34
views
switching on/off second hard drive
I have installed a second hard disk (SATA spinning drive) with several partitions in my VivoBook-ASUSLaptop-X513EA-K513EA with an SSD drive.
Now I want this disk not to start and spinning when the ...
1
vote
1
answer
26
views
Can manually mount ThunderBay 8 disks but fstab fails
I had these configured and working in a mergerfs disk pool, ran into an issue and ended up needing to reinstall Ubuntu server. Since then, I can manually mount the drives in my ThunderBay 8 but the ...
0
votes
0
answers
53
views
Why isn't my home partition mounted automatically but mounting it manually in emergency mode works fine?
If I boot my system (Arch), it puts me into emergency mode, and the home (LVM partition) isn't mounted. If I mount it manually with mount /dev/Disks/Home /home, the computer works normally then. My ...
0
votes
1
answer
534
views
Can't change file permissions with chmod in mounted devices
So, I wanted to share my Media via ftp by creating a symbolic link in the home directory of a ftpuser, to my HDD's partition 'Fun Drive'. What I wanted was that the ftpuser couldn't write to the Media ...
0
votes
0
answers
50
views
Allow owner to read and create files, but not change or delete (mounted ntfs partition)
I would like to:
mount my ntfs partition (fstab or mount)
configure what is necessary...
then what I expect:
rm "file_that_existed_before_I_mounted_the_partition" # fails, deletion is not ...
1
vote
0
answers
262
views
Formatting/permanently mounting an nvme1n1 type drive on Ubuntu 22.04
I have an EC2 instance (Ubuntu 22.04), that I would like to add an additional 20 GB drive to. I used the AWS console to create a new 20GB drive, and attached to my instance.
When I do lsblk:
NAME ...
1
vote
1
answer
126
views
NAS no longer mounting but FSTAB not changed
My Linux box is set up to automatically mount a NAS volume on startup. I did this by including the following line in the FSTAB file.
//192.168.1.106/Media/ /media/media cifs users,rw,username=****,...
0
votes
1
answer
1k
views
Why linux (ubuntu 22.04.1 LTS) mounts windows (ntfs) partition without any record in fstab?
I just detected that my windows (ntfs) partition is always mounted but doesn't have any record in fstab.
How and why ubuntu doing that? Is it not too obscure, why not place a record to fstab, it ...
2
votes
0
answers
179
views
fstab entry for external nextcloud drive is not working
I'm pretty desperate right now... I just want my external hard drive to automount when I reboot my raspberry pi, but the fstab entry is not working and I don't know why. Here is my fstab:
PARTUUID=...
0
votes
1
answer
685
views
Does using a credential file for Samba really make anything more secure?
I have been using a separate credential file for Samba as it seems to be the "suggested" way to make things "more secure". However, I have also been trying to figure out how ...
3
votes
1
answer
5k
views
How best to mount a drive in WSL as a shared drive?
I'm trying to simplify/automate my development environment in Windows, I have a lot of shell files I run on both Windows and the Linux subsystem, I've recently taken to editing my /etc/wsl.conf to ...
1
vote
1
answer
1k
views
Can’t use sudo after umount —all
I tried to unmount all of my fstab mounts by using:
sudo umount --all
Right after that i tried to remount everything by using:
sudo mount -a
But got this error:
sudo: effective uid is not 0, is /...
0
votes
0
answers
172
views
Mac OS doesn't spin down drive despite fstab
I have a drive which has 2 partitions (GUID):
macOS - Data -> HFS
Windows - Data -> NTFS
I don't want to have those partitions mounted by default so I added them on fstab to ignore them on boot ...
0
votes
1
answer
439
views
Ubuntu / systemd fails to mount bindfs mount on boot
On my Ubuntu 20.04.3 LTS server running as KVM VM, I have defined 4 custom mount points in order to access the host's filesystem. Two of them are 9p mounts and two of them are bindfs mounts that are ...
3
votes
1
answer
5k
views
How to write and save changes to “/etc/fstab” after effectively breaking the “/etc/fstab” on my system. Can only boot to basic terminal
To make a long story short, and to focus the question, I basically need to get root access to my own laptop running Linux Mint to be able to save my changes to the /etc/fstab file.
More details:
I'm ...
11
votes
2
answers
9k
views
Processing fstab with mount -a failed
I use Windows 11 as operating system. Its build number is: 22000.348
I installed Debian from store, and then I installed Windows Subsystem for Linux Preview.
WSL version is: 2
Debian runs correctly ...
1
vote
0
answers
101
views
Linux Kernel 5.15.1, fstab umask=0022, mount command shows fmask=37777600022,dmask=37777600022
I downloaded and compiled the linux-cacule (5.15 for native ntfs3 support) kernel from the AUR repo. Following the documentation here on the new ntfs3 mount option:
https://www.kernel.org/doc/html/...
0
votes
1
answer
137
views
Ubuntu: Automount /etc/fstab with mount -a, does it disrupt already mounted devices?
Say I have /dev/sdb and /dev/sdc already mounted and I am currently copying files from one to the other. Can I safely edit /etc/fstab to also include yet unmounted /dev/sdd and do mount -a to mount it?...
0
votes
1
answer
303
views
umask=0 leads to mount error 32
Like the title say I have some ext4 that mounts well without umask but are innacessible because of permissions, but leads to error wrong fs type when mounted with umask=0
I'm on a live USB. So fstab ...
0
votes
0
answers
43
views
Why do ntfs entries in fstab have <pass> (fs_passno) 0? [duplicate]
I notice in my /etc/fstab that my root partition has 1 in the <pass> column, and my home partition has 2 in the <pass> column.
This is expected. From man pages:
The sixth field, (...
0
votes
1
answer
335
views
How to create new users in home partition?
I reinstalled Debian 10 on my computer where my home users directory is in a separate partition. Then I mounted automatically adding the last line:
# <file system> <mount point>...
0
votes
0
answers
34
views
Prevent swap formating at OS installation
For testing I've created multiple partitions (7) to install different Linux distributions.
I have a partition /dev/sda6 for Linux Swap.
Each installer (graphical install) decides to reformat this swap ...
0
votes
1
answer
263
views
mounting a RAID in /etc/fstab
Hi I have a raid mounting in /etc/fstab
/dev/md/debian\:0 /home ext4 defaults 0 0
but if I do mount -a
It gives me error mount: /home: special device /dev/md/...
0
votes
0
answers
242
views
btrfs volume in fstab fails to boot with compress-force
in my fstab, the btrfs volume boots with no problem when the option set is compress=zstd:15, however, as soon as i set it to compress-force=zstd:15, it fails to boot because of a failed dependency
...
1
vote
1
answer
494
views
Selectively mount network drives for non-root users
How should one specify different mounts for different users?
The simplest use case is, that different users have their own dedicated storage space in a server (NFS or CIFS), what only they can access.
...
0
votes
1
answer
776
views
Overriding udisks2 /media/$USER/mount with custom fixed mount point for specific volume, under Debian Buster
I am using Debian Buster, 10.7, and I am relatively new to udev/udisks2/systemd and have been making a effort to get to know them better and have learned quite a lot, though I cannot seem to figure ...
1
vote
0
answers
168
views
Mounting an AFP share over/to ~/Pictures, possible stale share issue (Mac OS X, Big Sur)
I'm trying to over mount an AFP share onto ~/Pictures, and it's not quite working for some reason.
Useful information:
I'm using AutoMounter (Pro features enabled, full-disk access granted via System ...
0
votes
1
answer
576
views
Mismatch between /etc/fstab and /etc/mtab
I have a mismatch between /etc/fstab and /etc/mtab.
# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount pt> <type> <options> &...
0
votes
1
answer
41
views
Do fstab options have to be the same for backup server?
I have two small Ubuntu servers in remote locations backing up data to each other. I'm trying to troubleshoot a problem, and someone suggested my filesystems might be incompatible, and to check fstab ...
0
votes
0
answers
318
views
Restore fstab with correct UUID so that I can boot with crypto_LUKS partition
I ended up with this error upon boot:
Welcome to GRUB!
error: no such cryptodisk found.
error: disk 'cryptouuid/6e0637...' not found.
Entering rescue mode...
grub rescue> _
And when I boot live ...
0
votes
1
answer
136
views
What are the configs to change after you decrypt a LUKS encrypted partition?
I just decrypted my root partition encrypted with LUKS2. But the fstab still shows the root with the /dev/mapper/secret entry with a different UUID than the partition. Do I have to generate the fstab ...
0
votes
1
answer
530
views
Fstab: Set permissions of subdirectory
So I have this in my /etc/fstab:
UUID=B6C6ECB5C6EC76D1 /windows ntfs-3g defaults,uid=1000,gid=1000,permissions 0 0
My ssh-folder is in this partition, as a result I need to set the ...
0
votes
1
answer
2k
views
How to write -o permission into /etc/fstab?
Set usermap.
sudo ntfsusermap /dev/sdb2
#assign user as www-data
#assign group as www-data
Mount ntfs partition /dev/sdb2 with /mnt/winntfs.
sudo ntfs-3g -o permissions /dev/sdb2 /mnt/winntfs
Now ...
3
votes
1
answer
10k
views
Remove noexec from /tmp permanently
From a cloud provider I received a RHEL 7 VM which has noexec set on /tmp.
[user@myserver]mount | grep /tmp
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec,seclabel)
/dev/mapper/SystemVG-var_tmp on /...
0
votes
1
answer
372
views
SSH mount via fstab fails because of root ssh passphrase
At work, we have a dev environment I want to mount so I can work on it locally on Arch with i3 (Manjaro i3).
I have SSH and an SSHFS mount set up on my devenv which runs without issues, along with ...
0
votes
1
answer
798
views
How do I mount a filesystem without the mount point changing owner to root?
I have two samba shares on a remote server (Debian 10, stable) on my home network. On my laptop (Debian 10 stable), I would like to automatically mount these shares to my local filesystem tree. To ...
0
votes
1
answer
29
views
x2darray.mount systemd automount unit
I am trying to develop a better understanding of how luks [auto]decrypting and fs [auto]mounting operate under systemD, based on observations as I work through some issues setting up a replacement ...
2
votes
1
answer
5k
views
mount: /oldssd: special device /dev/sda2/ does not exist (a path prefix is not a directory)
Today my new SSD arrived from Amazon. I installed the SSD and Fedora 31 onto it. I still have my old ssd plugged in.
When I try to mount it by the path /oldssd I get error mount: /oldssd: special ...
0
votes
1
answer
633
views
Mounting zfs network shares in Ubuntu LTS 20.04 using cifs- mount error(2): No such file or directory
I have 3 Thecus NAS servers: a N5500 (Firmware: 5.03.02), a N5200XXX (Firmware: 5.03.02), and a N5550, (firmware 2.06.02.5.cdv) each configured as RAID 5. The N5500 and the N5200XXX are using zfs and ...
0
votes
0
answers
146
views
Sharing a partition between Arch & Ubuntu
I've just installed Arch linux to go alongside Ubuntu, and I'm having some trouble sharing a partition between the two. I've created it in both distros' fstabs, looking like this:
UUID=<uuid> ...
0
votes
1
answer
286
views
Can't get /boot partition to function, installing debian from host machine: Arch linux
I am trying to be a better Unix user. I want to dual boot my arch-linux virtual machine with Debian. I am using VirtualBox.
I am installing Debian through the arch-linux environment (https://www....
0
votes
1
answer
249
views
fstab configuration: How to run automatic fsck scan on external harddrive at boot and automate backup to external hard drive
I have an external hard drive (type ext4) to which I make a daily backup of my /home folder and postgresql database via an anacron script. I have run into two problems:
1.) When the computer (Ubuntu ...
1
vote
2
answers
8k
views
What is the difference between mount -a and mount -o remount /dir?
I have created a new filesystem and mounted it :
mount /dev/sda5 /dir
Then I added the information about it to the /etc/fstab file so that the filesystem is always mounted at the boot process.
...
0
votes
2
answers
364
views
Locked out of Debian embedded device after mistake in fstab
I am working with an embedded Linux device with Debian 9 installed. The device has an internal storage and the option to extend the storage with a sd card. I want to use the extra sd card for ...
9
votes
1
answer
10k
views
How to delete system apps in macOS Catalina?
It looks like changes Apple has made in macOS Catalina make it harder to delete system apps.
I upgraded my work computer to Catalina today (standard Mac mini), and with it came some new (and some old)...