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.
218
questions with no upvoted or accepted answers
9
votes
1
answer
3k
views
How can I make my ExFAT partition unmount cleanly?
I've got Raspbian running on a Raspberry Pi 4 B. I have a USB hard disk that I'm using with it. The hard disk is a 1TB drive formatted with a single partition using ExFAT. I've got exfat-fuse and ...
5
votes
0
answers
3k
views
CIFS VFS: Server X has not responded in 120 seconds. Reconnecting
CIFS VFS: Server X has not responded in 120 seconds. Reconnecting...
...
This message is spamming my dmesg output. The warning is caused by the following mount of a windows share:
# CIFS shares
//X/...
5
votes
0
answers
1k
views
No access to symlink folder on NTFS partition
I am using an NTFS parition for storing data I like to access both from Ubuntu and Windows 7. On my Ubuntu HOME partition, I like to link the folder Assets in order to access it from an application ...
4
votes
0
answers
535
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 ...
4
votes
0
answers
375
views
Linux Mint fails to boot if unable to mount (shared) device listed in fstab
I have a dual-booted system of Mint and Win7, both of which share an external drive storing non-essential files. I listed the drive in /etc/fstab/
UUID=693E145023EB681E /media/External_HDD ntfs-3g ...
4
votes
0
answers
3k
views
How to set permissions for user to smb mount with fstab?
Here is the line in my fstab file (with the names of the server and username changed):
//server/user /mnt/share cifs user=user,uid=1000,gid=1000,domain=DOMAIN,rw,username=user,password=password,...
4
votes
0
answers
1k
views
Give domain users permissions on cifs shares?
I am using CentOS 6.5 - users authenticate using winbind, all are domain users except for root.
/home is mapped to a cifs share on a windows server in /etc/fstab with this line: \\server\home$ /home ...
4
votes
0
answers
1k
views
jbd2 journal constant i/o
iotop reports a constant i/o about 3% of [jbd2/vda1-8], I think this is the journal manager for ext4.
my fstab is:
UUID=X / ext4 defaults,noatime,nodiratime 1 1
tmpfs /dev/shm ...
3
votes
1
answer
2k
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 ...
3
votes
1
answer
2k
views
Use fstab to mount luks encrypted drive to subfolder within home
Fresh install of Lubuntu 20.04 on system with Windows 10 and Lubuntu installed on 256GB NVME drive to dual boot.
Boot drive is /dev/nvme0n1p2
Home folder is therefore /dev/nvme0n1p2/home/username
I ...
3
votes
0
answers
224
views
Why does GIT require sudo on my ntfs-3g partition?
When I try to init a new git repository on a ntfs-3g partition I get this error
% git init .
error: chmod on /mnt/abc/.git/config.lock failed: Operation not permitted
fatal: could not set 'core....
3
votes
0
answers
518
views
How to tame Nautilus sidebar to show local volumes and removable media?
Nautilus used to show my local volumes and removable media properly, but that does not work on a new computer I just installed (clean system). See the example below with Nautilus v. 3.26.4 on the left ...
3
votes
0
answers
6k
views
Idle timeout for NFS share mounted with systemd automount
What I want to do?
I want to configure my /etc/fstab so that my NFS share was:
mounted automatically when accessed (auto-mount on-demand),
unmounted automatically after specified idle timeout (x-...
3
votes
0
answers
663
views
Can you manage the entire fstab file with a GUI?
I hate constantly having to wrestle with a command line editor and looking things up when managing my fstab file. Is there a GUI that will let me do it by clicking on things?
Why gnome-disk-utility ...
3
votes
0
answers
1k
views
Mounting afp share via fstab crashes boot boot process but works after boot
I just migrated my NFS shares to AFP shares.
It looks like it works like it should so I added the records to my fstab:
afpfs#afp://username:[email protected]/Transfer /home/andy/NAS/Transfer ...
3
votes
1
answer
3k
views
Debian booting to black screen
I just finished upgrading to Jessie from Wheezy, and after a reboot, my system ran grub, goes through some checks and stuff after loading the kernel. It then says:
Welcome Debian 8 servername Tty1 ...
3
votes
0
answers
7k
views
mount: / not mounted or bad option
I'm running a custom Raspbmc build on my raspberry pi.
On startup, I always see the message
mount: / not mounted or bad option
The filesystem is still mounted, but still want to know what's causing ...
3
votes
3
answers
20k
views
specify mount option in /etc/fstab (mode=1777)
I have following line in my /etc/fstab:
/dev/mapper/tmp /tmp ext4 noexec,nodev,nosuid,mode=1777 0 0
When I try to mount /tmp, I get following error in dmesg:
EXT4-fs (dm-1): ...
2
votes
0
answers
55
views
Using 'pass' passwordmanager within fstab
I have a NAS I want to mount on access. I can do this by adding
//xxx.xxx.xxx.xxx/directory /mountpoint smb3 x-systemd.automount,credentials=home/user/.smbcredentials 0 0
to my fstab.
I also want to ...
2
votes
1
answer
287
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/...
2
votes
0
answers
569
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 ...
2
votes
0
answers
767
views
bind mount with changed mount options from fstab
If you mount a filesystem at /foo with the mount option noexec and want the /foo/bar subtree to use exec instead, this can be achieved by
bind mounting /foo/bar on itself
mount --bind /foo/bar /foo/...
2
votes
0
answers
663
views
How to set the default group, file permissions, and folder permissions, for an ext4 mount point?
I have an ext4 disk/partition on my machine and I want to make it so, by default:
All files/folders have the group set to groupA
All files have:
user permissions rw
group permissions rw so folks in ...
2
votes
1
answer
514
views
resources mounted via sshfs and fstab on a nginx-server give 404 errors - gone on refresh
Here is a scetch of the situation:
I'm running a nginx server (machine 2) which provides the work of our students. The student work itself lies on another machine (machine 1): our gitolite server.
...
2
votes
0
answers
67
views
Mount order problem with systemd
Running Raspbian Buster. I have a loopback mount defined in fstab (bind option) where directory A is looped in as B.
I have another service started later (with systemd After=local-fs.target) that ...
2
votes
0
answers
561
views
Inotifywait not working on folders mounted via fstab
I'm trying to watch a folder via inotifywait which is mounted via fstab and originally located on an extern NAS. Inotifywait is reacting on any change done by SFTP-Connection or directly via terminal, ...
2
votes
0
answers
518
views
Run fsck in the background on boot
Running openSUSE 15.1 with systemd, when it determined the need, the boot processes will invoke fsck on a particular disk. By default, this check will run in the foreground, blocking the completion of ...
2
votes
1
answer
1k
views
Why does BTRFS filesystem mount automatically?
So I've made a btrfs filesystem that spans across one logical drive (md1) and a USB drive. its all raid 0. so that:
sata\
md1--\
sata/ \
btrfs called "Storage"
usb-------...
2
votes
0
answers
202
views
SSHFS mounts on a mobile laptop - system hangs when not on LAN
This is an Arch Linux system. I have 7 SSHFS mounts listed in /etc/fstab. They all use these options:
<source> <mountpoint> fuse.sshfs x-systemd.automount,_netdev,user,follow_symlinks,...
2
votes
0
answers
3k
views
How to properly mount other partitions (NTFS) on my Fedora FSH?
I recently switched to Fedora 27 Beta (UEFI install, dual-boot with Win 10), and I changed my /etc/fstab to include the two following lines:
UUID=D0E24ECDE24EB78C /media/DownloadsBin ntfs-3g auto,...
2
votes
0
answers
1k
views
Mount user-specific Samba shares using cifs
I managed to mount my Synology NAS Samba shares appending /etc/fstab with the following lines:
//192.168.1.91/shared /media/shared cifs uid=viktor,credentials=/home/viktor/.champignac,user,iocharset=...
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 ...
2
votes
0
answers
850
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 (...
2
votes
0
answers
898
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/...
2
votes
0
answers
350
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 ...
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 ...
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
...
2
votes
0
answers
211
views
External HDD won't Mount during Boot
I've got a Cubox-i4Pro running Debian Jessie hooked up to an external USB3/eSATA dual HDD dock (via eSATA). It originally only had one WD Green 2TB drive installed. Via UUID in fstab this auto mounted ...
2
votes
0
answers
450
views
fstab doens't read mode value
Following this guide:
I set my /etc/fstab file in this way:
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults,ro 0 ...
2
votes
1
answer
76
views
Powercuts and network mounts!
I have a 2 TB hardisk connected to my router which is network mounted through fstab onto my Arch Linux PC.
#External Drive LABEL=Crate
//IPaddress/Crate /media/Crate cifs credentials=/home/...
2
votes
0
answers
896
views
VFAT FS Sync/Flush Behaviour
In order to increase the life of my VFAT flash drives, I have them set to mount as async. One of these drives sometimes deals with large data changes, and as a result, the writes that occur on umount ...
2
votes
1
answer
4k
views
Finding correct information to update mtab and fstab?
Is there an automated way to update my mtab and fstab? Or a command I can run so that I can copy the output into these files? I'm just nervous about tampering with these files because I know they are ...
2
votes
1
answer
4k
views
sshfs mounts share in read-only mode
I need to mount a share using sshfs.
When I mount it using sshfs directly, i.e.
# sshfs [email protected]:/home/data/ -o allow_other /mnt/data/
or
# sshfs [email protected]:/home/data/ -o ...
2
votes
1
answer
152
views
specific swap partitions for multiple debian instances in a single computer
I'm trying to setup a computer with three debian instances (wheezy, jessie and sid), I've created / and swap partitions for each debian instance, during the installation I did specify which swap ...
1
vote
0
answers
36
views
Changing storage bus type
I created a VM on Fusion for OpenStack — it's a whole thing, not fun at all — which failed to boot once on OpenStack.
OpenStack seems like a pretty rudimentary hypervisor/platform — I think — and I ...
1
vote
1
answer
1k
views
Disk mount failed with result 'dependency'
I mount drive using command mount and modify fstab file (so disk should be visible after restart). Unfortunately, after system reboot, mount isn't visible in the system
lsblk -a says, disk is ...
1
vote
1
answer
238
views
Mount a LUKS encrypted EXT4 formated image file when mount folder is accessed (using autofs)
Here's what I'd like to do. Use autofs to automount an encrypted luks image file when the target directory is accessed.
I've been playing with both fstab and crypttab, but to no luck.
I do NOT want to ...
1
vote
0
answers
86
views
How to use credentials from one auto mount in another auto mount?
How do I use a credentials file from one mount in a second mount so it will mount automatically on startup?
Here's my fstab.
1.2.3.4:/nfsroot/abc /mnt/abc nfs4 ...
//def/ghi /mnt/def/ cifs credentials=...
1
vote
1
answer
190
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 ...
1
vote
1
answer
833
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 ...