/etc/fstab is the configuration file which contains the information about all available partitions and indicates how and where they are mounted.

learn more… | top users | synonyms

1
vote
0answers
25 views

Preventing automount in CentOS 7

How can I tell CentOS 7 not to mount a new IDE drive (new to the system, but with data I want to examine) the first time I plug it in, so that I can do forensic analysis on it knowing I won't have ...
2
votes
1answer
37 views

Do you need to specify the “defaults” option in fstab?

The Arch Wiki on fstab specifies the options of / to be defaults,noatime, but on my installation the default fstab is created with the options of rw,relatime. The Arch Wiki covers the atime issues. ...
1
vote
1answer
14 views

How to mount automatically sshfs when RSA authentication is not an option?

I would like to mount a file system on a remote machine automatically at each Linux startup. However I always need to use password authentication because I cannot use ssh-copy-id. How do I make this ...
1
vote
0answers
14 views

aufs fs is being mounted before component parts

I'm having issues at boot time. It fails to mount the aufs (and so suspends the boot asking if I want to continue... no good on a server) I thought I had set up my fstab to mount the aufs AFTER the ...
2
votes
1answer
50 views

systemd mount 'rootfs' according to '/proc/cmdline'

SETUP Im running Debian 8 (jessie/testing) amd64 with systemd. On my system partition containing a btrfs filesystem, I do have the following layout: /dev/sda1 |-root |-root_snapshots/ ...
2
votes
1answer
22 views

Reloading specific base files

I am using Arch Linux and I have cleared the fstab file on accident. Of course I regenerate the fstab with genfstab -U -p /mnt >> /mnt/etc/fstab the thing is, I do not know what was in the ...
2
votes
2answers
103 views

The fifth field of fstab query

In "/etc/fstab" the entries are like this tmpfs /dev/shm tmpfs defaults 0 0 The fifth field (0) is used by dump (a backup utility) to decide if a ...
0
votes
0answers
20 views

How are ownership and permissions of tmpfs folders created via /etc/fstab determined?

I've created a folder /mnt/ramdisk. I've got the following line in /etc/fstab to create the ramdisk at startup and mount it to /mnt/ramdisk: tmpfs /mnt/ramdisk tmpfs ...
0
votes
0answers
37 views

Raspberry Pi mount Samba Network Share

I tried for at least 3 hours to mount my Network Share to my Pi... I searched on many posts and tried so many things. But nothing worked... I want to mount my Share over the /etc/fstab file so I ...
2
votes
1answer
76 views

User specific fstab for fusermount

I wonder if there is something like "user specific /etc/fstab" for fusermount? ~/.fstab, ~/.config/fstab, something the like, which would work in cooperation with FUSE. I used sshfs foo.bar: ...
2
votes
1answer
125 views

Why is “nodev” in /etc/fstab so important? How can character devices be used for hacking?

I am learning about linux security and struggling to understand why a USB stick with a character device on it is potentially dangerous. If I have a USB stick with a bash executable that has setuid ...
1
vote
0answers
27 views

Can I mount a share and enable the user_xattr mount option?

I have a ext4 drive that is mounted using defaults mount options. It is a RedHat Enterprise Linux version 6.5, 64 bits. I can call lsattr on any file on that server. I need to share that drive with 3 ...
1
vote
0answers
54 views

FreeBSD can't mount fdesc?

I recently had a bad UPS lead to a sudden crash of several machines. One of them (running FreeBSD) didn't come back up until I replaced the power supply, but it's still not fully back. Both the BIOS ...
0
votes
3answers
148 views

Mount encrypted volume in Debian

I was given a HDD that was encrypted using dm-crypt and I'd like to mount it as /disk2 preferably having the decryption password stored in a file, so I won't have to enter the passphrase when booting, ...
1
vote
0answers
27 views

Temporarily mounted filesystems suddenly unmount

On a CentOS 7 machine, I've had several instances recently where filesystems mounted manually (not using an entry in fstab) suddenly get unmounted. This always occurs when I/O is occurring on the ...
0
votes
0answers
26 views

Why won't fstab remount my Samba drives at boot?

I have a couple of lines in my /etc/fstab file: //qnas01/mediaA /media/A cifs credentials=/root/.smbcredentials,iocharset=utf8,uid=1000,gid=1000,sec=ntlm 0 0 //qnas01/mediaB /media/B cifs ...
0
votes
1answer
40 views

Old HDD with arch linux on new machine won't boot

I am a bit of a newbie when it comes to migrations. I had an old machine whose PSU crapped out. So I took whatever I could salvage (i.e. RAM, gfx card and the HDD which still had my arch installation) ...
2
votes
1answer
91 views

How to edit /etc/fstab when system boots to read only file system?

I'm on Ubuntu 14.04. I pasted something incorrect (from a tutorial) into my /etc/fstab file. As a result, the root file system will not mount when the machine boots up. I know what needs to be fixed ...
1
vote
2answers
54 views

/etc/fstab/ rw option is being ignored for mircosd card partition in ArchLinux

I have ArchLiinux Linux comp001 3.18.7-1-ARCH #1 PREEMPT Wed Feb 11 11:38:34 MST 2015 armv6l GNU/Linux for Arm installed on rPi and here is my /etc/fstab file: # # /etc/fstab: static file system ...
1
vote
2answers
64 views

How do I automatically bind mount on boot in a non-root encrypted home directory?

I want to bind mount a directory within my home when I log on. The line in fstab would be /foo/bar /home/me/wherever none bind 0 0 The trouble is my home directory is encrypted, so it has to happen ...
1
vote
3answers
74 views

Ownership of a mount point

I cannot create files in my newly mounted partition . The folder to which i am mount the partition, /media/hrmount, is owned by root so even if I add a fstab line like UUID=irrelevant ...
1
vote
3answers
49 views

Boot process - Dev sdX name changes

I had a Slack 13.1 machine with 2.6.36 kernel. Then, I updated the kernel to 3.12.1. This machine has connected: a bootable disk with three partions (/dev/sda1 --> Linux OS files..., /dev/sda2 --> ...
2
votes
1answer
37 views

Does fstab actively run to detect new filesystems and mount them?

I'm creating an encrypted filesystem with LUKS. Inside of it is a single BTRFS filesystem. If I add the UUID (and subvolume) of the filesystem to /etc/fstab, will the filesystem automatically be ...
2
votes
1answer
54 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 ...
2
votes
1answer
401 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
1answer
61 views

Problem mounting additional partitions after kernel update

Today I upgraded my pretty ancient Debian Linux kernel (3.2-23) to 3.16-7. The machine boots okay, except that some fstab entries are suddenly causing issues. # /etc/fstab: static file system ...
0
votes
0answers
148 views

use fstab to mount ntfs partition with correct permissions

I'm always having trouble setting up the permissions in the fstab file for ntfs drives. I want to set permissions to rwxr-xr-x or 755 so I expect my umask would have to be 022. Because I am having ...
0
votes
2answers
91 views

How can I mount a drive under my home directory at boot?

In my current setup, I have a RAID0 array of 2x3TB HDDs with btrfs, two partitions: / /home Under the /home directory, there are two users, both admin, one of which is myself. So far, this setup ...
1
vote
0answers
110 views

Loopback (bind) mount automatically mounting additional ext4 USB drive

I have a USB (ext4) drive connected and it's registered in /etc/fstab. It mounts at /media/Backup fine. I want to mount a specific directory on that drive using a bind / loopback mount (this is ...
1
vote
0answers
1k views

How does _netdev mount option in /etc/fstab work?

I'd like to know what is the exact mechanism (implementation) used to defer mounting until after network interface is up when one uses _netdev option in /etc/fstab? Does systemd alter this behavior? ...
1
vote
1answer
293 views

What is the difference between mounting in fstab and by mounting in file manager

..and what are the consequences of the different methods? I have been trying some things with the mounting of an sda2 partition. Mounting in fstab, not mounting in fstab but from the file manager. ...
2
votes
3answers
203 views

how should I mount my ext4 partition in fstab

so that it appears in Thunar's sidebar under the name 'Schijf-2'? I am running linux mint13 xfce and this has been a headache causer for the last couple of days. the UUID of this partition is: this ...
1
vote
1answer
305 views

How to allow user to mount Ubuntu partition on Arch Linux without authentication?

I have a dual boot system with two partitions for Ubuntu and Arch. In Arch, whenever I need to access the Ubuntu partition, I am asked for the password. I added a line in fstab as follows: ...
2
votes
1answer
172 views

Mounting alternate devices (with different mount options) at the same mount point

I have a server (running Ubuntu 14.04) that has a hot-swap drive bay. I typically use the hot-swap bay to mount one of a bunch of loose hard disks that I shuttle large scientific datasets around on. ...
1
vote
1answer
142 views

How do I properly bind directories inside chroot jails using fstab?

I'm running nginx, PHP-FPM and MySQL on Debian Wheezy. I've set up chroot jails (with debootstrap) for each individual virtual host in /srv/. Everything is working like one would expect, but after ...
1
vote
0answers
117 views

Can't find drives on Debian VPS on a XenServer

I've rebooted my VPS and afterwards the VPS can't find the extra added drives. During boot the VPS gives following message in the console: fsck.ext3: No such file or directory while trying to open ...
1
vote
0answers
98 views

Arch/OSX - fstab options for shared /home (HFS+) on SSD

I've got an Arch and OS X install sharing an HFS+ (non-journaled) /home partition. My Arch side seems to have issues with the partition. In particular, deleting multiple files causes the drive to ...
1
vote
2answers
207 views

Cannot mount external USB drive

I'm on Debian Jessie and I have an external USB drive with NTFS. I plugged it into my Raspberry Pi, which then spontaneously restarted (probably the power consumption was too high for the adapter I'm ...
2
votes
2answers
166 views

Run fsck automatically when calling mount from command line

I have a backup script that mounts and unmounts a USB drive. I just noticed that its warning me: EXT3-fs warning: maximal mount count reached, running e2fsck is recommended My question: How can I ...
0
votes
0answers
130 views

Why are NTFS partitions displayed but NTFS-3G partitions are not?

I'm running Debian Wheezy and have three internal ntfs Windows partitions (main, boot, and recovery). They are mounted via entries in fstab. The filesystem specified for the boot and recovery ...
0
votes
0answers
132 views

mount command permissions: ntfs vs. ntfs-3g

I see numerous how-to examples for mounting an ntfs partition with either a mount command or an entry in fstab. In all cases, specifying ntfs as the filesystem is associated with also specifying ...
1
vote
1answer
254 views

How does Fstab exec noexec parameter affects samba shares

I have mounted several data drives and used noexec parameter. Thinking that since it's only data I wouldn't need exec. Now I am having some permission issues and would like to rule this out as the ...
0
votes
2answers
95 views

How to properly automount partitions? fstab

I have a problem automounting my NTFS partition I use for storing Data (/dev/sdb2). I've tried adding an entry to /etc/fstab but it doesn't work. /etc/fstab # <file system> <mount point> ...
3
votes
1answer
136 views

Luks Partition Mounting After Removing From fstab

I have 3 encrypted partitions, one for /, one for /home, and one for swap. It seemed silly to me to type in my password 3 times, so I replaced the swap partition with a swap file on the encrypted ...
0
votes
1answer
227 views

NAS set-up issue with NFS protocol in linux Mint

I have a Synology NAS that I'm trying to map in my Linux machine as if its like a regular HDD drive. I have looked all over the internet without being able to figure out how this thing works. I have ...
4
votes
1answer
712 views

Advantages/disadvantages of increasing “commit” in fstab

I have done many obscure system optimizations in the past, but I got rid of most of them after powertop told me I should set my USB ports to autosuspend, which forced them to an eternal sleep, and ...
3
votes
1answer
155 views

USB hard drive won't remount after power outage

My home server has a USB hard drive plugged to it. Once in a while, the breakers jump or there are power outages. Since my server is a laptop, it keeps chugging along, but the rest of the hardware ...
1
vote
0answers
73 views

changing /var in running system

I have the challenge that I cannot start a CentOS Linux server in single-user-mode, but I need to change the /var (currently part of /) to a new disk. My way would be: mount the new disk on a ...
3
votes
0answers
3k views

“PTY allocation request failed on channel 0 stdin: is not a tty” when SSH'ing into a Debian server

My hosting space (Debian Wheezy) serves two websites (one WordPress and one Rails). Today I saw both were down and I rebooted the server. The Rails site works again and the WordPress one now says that ...
6
votes
1answer
1k views

bind mount /var with fstab

I'm messing around with having both /home and /var on a seperate partition which will be mounted in /myhdd. Next, I use mount --bind to mount /var on /myhdd/var and /home on /myhdd/home. With this ...