/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
7 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
19 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
60 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
92 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
44 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
64 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
36 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
35 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
36 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
61 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
71 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
51 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
68 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
79 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
57 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
82 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
95 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
213 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
54 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
48 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
946 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 ...
5
votes
1answer
228 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 ...
0
votes
1answer
94 views

Wrong mount point for internal SSD

I am having a problem with mounting an internal SSD. For some reason The mounting point is chosen as /media/user/Data instead of, as specified in /etc/fstab, /mnt/Data. The according line in ...
1
vote
1answer
75 views

Limit access on external drive mounted and used by sftp

I've got a unix user "popolo" who is chrooted in /srv/ftp/ and I mount my two external drives by /etc/fstab in /srv/ftp so I have /srv/stp/dude and /srv/ftp/sweet. Popolo has access to those drives ...
1
vote
2answers
70 views

How do I add newly created mount point to fstab?

I just mounted sda2 to /mnt. How can I force a refresh of fstab so it can pickup the changes and insert a new line for sda2-/mnt?
3
votes
3answers
64 views

Why is the exec option not listed in /proc/mounts?

My understanding is /proc/mounts should list all mount options for a filesystem, including kernel defaults, so I was surprised to see that exec (among others) is not listed here? For example, my root ...
0
votes
1answer
145 views

puppet mount a loopback device

I was taking truability test to assess my skills. I got the below question. Create a puppet manifest in /root/puppet/lad.pp to mount the filesystem located in /root/files/LAD/disk.ext2 that: will ...
1
vote
1answer
92 views

UUID vs /dev/sdX in FSTAB

I have Linux system in which we force /dev/devname for running the system. proc /proc proc defaults 0 0 /dev/sda1 / ext3 ...
2
votes
1answer
54 views

fstab group option?

Environment Ubuntu 14.04 LTS Desktop 64-bit Problem only members of group_name should be allowed to mount,unmount and read,write,execute drive_name Potential Solution edit /etc/fstab add ...
0
votes
1answer
46 views

Point folder on main HDD to newly mounted 2nd HDD

What is the best way to point a folder in one of my websites directory to a folder in a second HDD I just had installed? I see things about fstab and symlink but am lost at what is the best way to do ...
0
votes
1answer
67 views

Storing a keyfile in an encrypted LVM

I'm using RHEL 6.5 and I want to encrypt some of my logical volumes (LVM). In order to not have to enter the passphrase multiple times, I want to store a keyfile in an encrypted LV. Example: ...
0
votes
2answers
49 views

Will mount search fstab for a best match?

I have several external harddrives that I want to mount to the same point: /media/ext_hd So I have this in my fstab: # EXTERNAL HDS LABEL=Elements /media/ext_hd ntfs-3g ...
6
votes
1answer
1k views

Difference between 'sync' and 'async' mount options

What is the difference between sync and async mount options from the end-user point of view? Is file system mounted with one of these options works faster than if mounted with another one? Which ...
3
votes
0answers
87 views

Why is my swap not being activated automatically via fstab?

I've got a Linux embedded system that I'm experimenting with (the Elektor Embedded Linux Made Easy board, based on the GNUBLIN http://en.gnublin.org/index.php/GNUBLIN-Elektor). I'm using the 3.3 ...
0
votes
0answers
84 views

Map a network share folder in Debian with read-write permission

I want to mapped a folder on samba server at Debian Squeeze startup. I found a guidance by google as following: Open file /etc/fstab and add line //server/share /mnt/dir smbfs ...
0
votes
2answers
47 views

Is there any danger in changing the labels of my hard drives?

I've have both Ubuntu and Arch installed on my computer, and want to change the labels of the / and /home partitions (four in total), to make it clear which is which. Can this potentially break ...
1
vote
0answers
130 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 ...
1
vote
0answers
182 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 whats causing ...
4
votes
1answer
106 views

Archlinux, move files to a different partition

During the installation I thought I had generated the correct fstab, but now, after cp complains that the filesystem is full, I discover that fstab is empty. I have this configuration: # lsblk NAME ...
2
votes
1answer
208 views

Auto mounting other partitions in Arch Linux

Im using Arch Linux. Is there a way to automount other NTFS or Ext partitions automatically without writing about them in /etc/fstab?
8
votes
3answers
699 views

Why does fstab use UUID instead of the actual file system name?

For example, this is the first line of my /etc/fstab: UUID=050e1e34-39e6-4072-a03e-ae0bf90ba13a / ext4 errors=remount-ro 0 1 And here's the output of df -h command (reporting free ...
0
votes
0answers
379 views

How to mount NFS shares via /etc/fstab - Access denied by server while mounting

I am trying to mount a NFS share to my OpenSUSE 13.1 Server on startup using /etc/fstab file with the following entry: l00nim10:/export/werk/ /home/smbshares/nimshare_03/ nfs vers=3 0 ...
3
votes
1answer
822 views

ACL is NOT enabled but it's working [duplicate]

How this is possible? ACL is not enabled in /etc/fstab, and I can verify it via manually opening fstab or running sudo mount | grep -i acl. But getfacl & setfacl Commands would work without any ...
3
votes
2answers
3k views

How to automatically mount an USB device on plugin-time on an already running system?

I know how to use /etc/fstab to automatically mount devices on boot or when doing sudo mount -a, which works perfectly fine. For example, here is my current line for my device UUID=B864-497A ...
2
votes
3answers
3k views

Moving /var, /home to separate partition

I am attempting to move some folders (such as /var and /home) to a separate partition after reading this guide: 3.2.1 Choose an intelligent partition scheme I was able to move one folder ...
3
votes
2answers
1k views

Make part of read-only filesystem writable

I have a filesystem on flash using jffs2. I would like to mount this filesystem read-only, except for a single folder that I would like to be writable. Is this possible without resorting to something ...
3
votes
0answers
87 views

Wildcard automounts with systemd

I’m running jessie/sid with systemd 208 and try to convert the following wildcard autofs configuration to either an /etc/fstab or .mount/.automount definition. $ cat /etc/auto.master /home/* ...
1
vote
1answer
479 views

Mounting USB Drive — Cannot delete files unless have su permissions

Is there a way I can automount this USB drive so that I don't need to have root privileges to delete files? This is what I currently have in my fstab file: /dev/sdb1 /mnt/epson auto ...
1
vote
0answers
169 views

Device in fstab not mounting at boot

The following is in my /etc/fstab file: UUID=596ac80a-5571-41dc-a00e-b3270ecfe7c4 / ext3 errors=remount-ro 0 1 /dev/sdb1 /home/teamspeak/ts3/files/virtualserver_1/channel_527 ext3 ...
3
votes
1answer
2k views

fstab does not mount cifs at startup

I'm using Cent OS 6.5. I have a cifs share which needs to be automatically mounted at the system reboot/startup. Following is the line from my /etc/fstab file : //192.168.1.2/files/ /users/ cifs ...