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.
831
questions
2
votes
2
answers
921
views
fuse.sshfs: can't use `SHOPT=val` in /etc/fstab
man sshfs says:
-o SSHOPT=VAL
ssh options (see man ssh_config)
However, if I try:
$ sudo mount -t fuse.sshfs [email protected]:/ /home/ravi/mnt/ravidroid -o port=2222,identityfile=/home/ravi/...
2
votes
1
answer
6k
views
Ownership of btrfs partition via fstab
I have a new disk with one btrfs partition on it and want to mount it via fstab. The problem is, that all files are now owned by root but I want them to be owned by the user with ID 1000 (and group ID ...
10
votes
2
answers
38k
views
Unable to mount drive as read-write
I have a 1TB HDD (/dev/sda1, mount point /run/media/<name>/4733A97E4133EADF) that I'm trying to mount as read-write, but I can only get it to mount as read-only.
System:
$ uname -a
Linux <...
1
vote
1
answer
2k
views
Mount works manually but not in fstab
I have 3 nfs mounts that used to work but don't work from fstab any longer but do work on other servers.
Also if I mount manually from said server they work
mount Server:/backup01 /backup01
but in ...
2
votes
1
answer
173
views
Firefox doesn't recognize profile when mounting using fstab
I recently did a fresh reinstall of Ubuntu 16.04 on my laptop.
It has an ntfs partition with all my documents and stuff that I might want to use on Windows as well.
When I did the reinstall I forgot ...
1
vote
1
answer
222
views
Removing hard drive mounted to /home
I have a mini home server running Debian 8.7 that during the initial installation had a 1tb hard drive mounted to / and a 60gb ssd mounted to /home. I would now like to remove the ssd for use in ...
2
votes
1
answer
1k
views
Mounting two folders to corresponding directories within external volume?
I'm trying to mount /etc/folder and /var/folder to the same external volume UUID=xyz. This external volume already has subdirectories etc_folder and var_folder and has been formatted and available to ...
1
vote
0
answers
358
views
Multiples cifs shares with noauto on same mountpoint only works with root
I have these entries in /etc/fstab
//server1/share /mnt/folder cifs rw,uid=1001,user,noauto,username=user,password=password 0 0
//server2/share /mnt/folder cifs rw,uid=1001,user,noauto,username=user,...
20
votes
2
answers
62k
views
/etc/fstab: meaning of "nofail" if "noauto" is already specified
From my understanding of /etc/systemd options, noauto means that the device will not be mounted at boot time (or with mount -a).
Is there any situation where adding nofail changes the behaviour if ...
0
votes
1
answer
602
views
Secondary LUKS physical volume won't automount
I've got a second hard drive in my laptop. However, it only mounts itself when I load the GUI and click on the device in Nemo. What I'd like is for it to automount on boot.
sudo lsblk -f
NAME ...
0
votes
1
answer
1k
views
Mounting Multiple NFS Drives from Ubuntu Server Automatically (on AWS)
I have an ubuntu (16.04) EC2 instance that currently has the /home directory mapped to an EFS drive (Amazon's NFS). I now want to add another EFS drive at /data. I can do so using the mount command ...
4
votes
2
answers
17k
views
How should an entry to fstab be formulated for a swap file that is not situated on a primary drive?
The situation is as follows.
I have a Linux partition on a primary drive (modestly-sized SSD, and sharing it with Windows).
I have another Linux (ext4) partition on a hard drive. It is permanently ...
2
votes
0
answers
2k
views
creating an overlay directly over a mount (systemd-fstab-generator causes error)
I would like to create an overlay over my /var directory. I am using debian/stretch with a recent kernel and install. systemd 232. I am using something along the lines of (all lines with an implied ...
13
votes
1
answer
22k
views
Mount error: mount failed: File exists
I am unable to mount my USB:
$ mount /dev/sdb1 /mnt
mount: mount /dev/sdb1 on /mnt failed: File exists
What is the origin of this error and how do I mount my USB?
The partition /dev/sdb1 is not in /...
1
vote
1
answer
4k
views
Timed out error waiting for encrypted swap device
OS: Parabola GNU/Linux Libre, a GNU version of Arch.
I have managed to encrypt my root partition, but I'm unsure about how to encrypt my swap partition. I know swap partitions are becoming old-...
6
votes
4
answers
42k
views
fstab does not mount automatically a NFS remote folder
I do not manage to get a remote directory automatically mounted during bootstrap. I am using the NFS protocol under Ubuntu 14.04 LTS. The server is 192.168.1.1 and the client is 192.168.1.2
The ...
1
vote
1
answer
951
views
NFS share mounting issue
I have exported a handful of shares on my Synology - e.g. /volume2/Home_Data/Downloads
On my CentOS7 box I would like to mount this and have it available for all users of the system.
This works ...
2
votes
1
answer
11k
views
Find UUID of SSD which is already partitioned
Can you help me find UUID of my SSD which is partitioned already? The goal is I want to mount this SSD under my home dir. To do so, I need to add a line to my /etc/fstab file. To do so, I need to put ...
1
vote
1
answer
488
views
I do not boot from my ssd. Is it safe to comment out /boot/efi line in file /etc/fstab?
I am booting from my HDD not my SSD and that is a good thing. Can I just comment out the line (line 3) containing the /boot/efi until such time I actually change my mind and want to boot from this SSD?...
2
votes
0
answers
871
views
MSYS2 why doesn't adding "mingw" to fstab have any effect?
The package I'm working on uses Autotools -- autoconf, libtools, configure, etc. I'm developing with MinGW-W64 on Windows XP sp3.
In it's infinite wisdom, libtools has decided that my system files (...
22
votes
1
answer
16k
views
Cannot boot because missing external disk
Using Fedora 24, I had configured in /etc/fstab an external usb drive:
UUID=6826692e-79f4-4423-8467-cef4d5e840c5 /backup/external ext4 defaults 0 0
When I unplugged the usb disk and reboot, ...
4
votes
0
answers
572
views
chmod and chown have no effect on mounted CIFS share, but emit no error either
I have an SMB share on a Buffalo NAS (nas01/storage) mounted on /storage. From /etc/fstab:
//nas01/storage /storage cifs file_mode=0644,dir_mode=0750,uid=1000,gid=1000,passwd="XYZ" 0 0
It mounts ...
1
vote
4
answers
1k
views
read only mount point
I'm not sure if this will make sense but I'm having a problem.
I have an external hard disk drive that I'm using for my torrent files.
It is mounted using fstab.
Now here's a problem, some times ...
0
votes
1
answer
34
views
How do i make sure my partition is mounted automatically? [duplicate]
How do i make sure my sdb1 partition is mounted automatically each time i reboot, or is the current configuration correct, is there anything i need to change? I am using CENTOS6.8 as a virtual machine ...
0
votes
1
answer
1k
views
Mount NFS share on notebook (wlan)
I'm mounting my NAS/NFS share to /mnt/nas on my notebook/wlan connection. This did work until last week. Mounting the NFS share with two other wired PCs (same distro) still works.
In Debian / Arch ...
3
votes
1
answer
13k
views
systemd errors when two devices share the same mount point
I just updated and installed a whole load of debian packages and now I am getting errors due to my particular fstab file config. I have 2 drives which I never mount simultaneously and which both have ...
1
vote
1
answer
495
views
/proc/bus/usb in /etc/fstab prevents my PC to start the graphic session
I bought a UPS this week and it came with the WinPower software that lets my PC (Linux Mint 18 XFCE) to communicate with the UPS, monitor it, and receive a shutdown signal in case the UPS battery is ...
2
votes
0
answers
906
views
fstab creates directory without execute permissions
Is it possible that a directory is created only with read permission by a kernel module ( don't know which one is responsible for fstab ) ? Like r--r--r-- ?
I have an entry in fstab
/dev/sr0 /media/...
0
votes
1
answer
5k
views
fstab mount options for /etc /opt /var partitions
I am working on a desktop running on Ubuntu 16.04. I want to isolate the directories /var, /etc, /opt in separate partitions. Creating new partitions is fine.
At this moment, the fstab only mounts ...
6
votes
2
answers
3k
views
Difference between "none" and "swap" as a mountpoint for swap in fstab?
I've seen that sometimes the entry for the swapfile in fstab is specified as "none" for the mount point and sometimes as "swap" instead. For example:
/swapfile none swap defaults 0 0
/swapfile swap ...
1
vote
1
answer
7k
views
How to automount sshfs? [duplicate]
I am trying to auto mount a remote resource through sshfs but is not working for me. I have read all of this, this, this and this before ask to see if I can get the solution for my issue but it didn't ...
2
votes
1
answer
4k
views
What is overriding the fstab permissions mounting option?
fstab:
LABEL="Shared" /home/howard/Shared/ ntfs permissions,rw,nosuid,nodev,relatime,uid=howard,gid=howard,allow_other,noatime,fmask=033,dmask=022 0 2
Mount with:
mount LABEL="Shared"
mount ...
2
votes
0
answers
352
views
BTRFS Mounting 2 subvolumes
I've got a BTRFS volume setup with this subvolume structure.
ThePool
|
|
Media
|
|--------Movies
|
|--------TV Shows
Basically I'm setting up my computer to be a ...
0
votes
1
answer
2k
views
Cannot access mounted shared NAS directory with ownCloud
I managed to run ownCloud on my RaspberryPi 2 on Raspbian. Now I am trying to move the data directory to my NAS.
I already shared a folder on my NAS with CIFS and mounted the folder.
This allows me to ...
4
votes
1
answer
4k
views
NTFS mount using fstab is forced to nosuid,nodev
I'm having problems with automatically mounting my HDD using fstab entry.
In my fstab I added the following entry:
/dev/disk/by-uuid/CE20D46C20D45D51 /mnt/data1 auto default,exec,dev,suid 0 0
...
1
vote
1
answer
4k
views
mount hangs when mounting unavailable network share during boot
I have following entry in my /etc/fstab:
192.168.0.11:/ /mnt/tmp fuse.sshfs rw,noauto,_netdev 0 0
then, I have following line in /etc/rc.local:
mount /mnt/tmp
This mounts the share at ...
4
votes
1
answer
5k
views
Where should I enable discard option?
I'm installing a system on SSD with LUKS and Btrfs, where should I enable discard option for TRIM support? Only /etc/crypttab, only /etc/fstab, everywhere, or nowhere since Btrfs detects SSDs and ...
1
vote
1
answer
93
views
Press S to skip mount... why did it show up all of the sudden? [closed]
I already read some advices on other topics, that I should probably just change 'errors=remount-ro' to ignore it, however I am interested why did this message show up in the first place? Did it find ...
1
vote
2
answers
207
views
After setting a new drive to be the home partition, where can I find the old /home files? [duplicate]
I recently bought a new hard drive and set it to be my /home partition. The old one used to be on the root partition, so I just added /dev/sdXX to my fstab file. The drive where the root partition ...
4
votes
1
answer
7k
views
MDADM: automount only works with dev, not UUID
I am using Arch Linux. I have three functioning RAID arrays via MDADM:
~ cat /etc/mdadm.conf ...
4
votes
1
answer
2k
views
How to run script on fstab mount failed and try once more? Like handle exception
I believe the question is clear. But will add some details and history. I have two systems Win10 and Manjaro Linux. After reboot from Windows to Linux, I try to mount NTFS file systems, and mount ...
2
votes
0
answers
75
views
Unmounted fstab entries showing up in GTK open dialogs
I have written entries in /etc/fstab for an extensive bunch of removable drives. All these entries, even unmounted and unplugged, appear in ANY GTK file open dialog, which is definitely a nuisance. I ...
1
vote
4
answers
137
views
Hide or mask directory for a process on OS-X
Is there a method for a process (without root) to hide or mount over a path of the filesystem for itself? It shouldn't affect the actual filesystem, only the process itself and perhaps its children?
...
10
votes
2
answers
29k
views
fstab entry for swap file
Here is the free -m output
[prem@myserver: /home/prem]$ free -m
total used free shared buff/cache available
Mem: 991 218 85 267 ...
1
vote
1
answer
1k
views
Can I mount a SDcard READER in fstab?
I'm new to linux, bought an hp stream 11, and downloaded arch to maximize use of this craptop. I got a sd card for Personal File storage mounted as /home. I wish to use multiple cards that i can ...
3
votes
3
answers
2k
views
How fstab mount options work together with per file defined permissions in linux
I am trying to understand what the precedence and combination of the permission options set in fstab when mounting a disk with those that are associated with each file on disk in the case of ext4 ...
0
votes
1
answer
3k
views
How do I comment lines in fstab using sed?
I want to comment certain lines in fstab using sed command. The following are the lines I need to comment:
172.0.0.1:/export/project/common /nfs/share nfs4 rw,bg,hard,nointr,rsize=131072,wsize=131072,...
1
vote
1
answer
4k
views
CIFS mount through fstab not mounting at boot
Trying to auto mount two shares from my QNAP NAS onto my raspberry pi.
QNAP NAS Shares:
\\192.168.1.7\Disk3
\\192.168.1.7\Disk8
At the Raspberry Pi, created two folders:
/mnt/shares/NASDisk3
/mnt/...
2
votes
0
answers
2k
views
CentOS 7 - Can't mount /var/tmp as bind
I'm working on a freshly installed CentOS7 with LVM. I want to bind mount /var/tmp to /tmp and added the following to /etc/fstab.
/tmp /var/tmp none rw,nodev,noexec,nosuid,bind 0 0
...
4
votes
1
answer
4k
views
How to move /var/log to another drive?
I have a fully configured openSUSE on my SSD and it just occurred to me that it would be better to tell my system to write logs not on SSD, but to another drive to reduce the quantity of write ...