/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

3
votes
1answer
20 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
28 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 ...
2
votes
0answers
21 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
41 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 ...
-1
votes
0answers
20 views

Use mount options from /etc/fstab for autofs?

I am using autofs to automount some partitions that I had mounted based on fstab entries before. I expected that I can apply the mount options defined in /etc/fstab to be used as options for the ...
0
votes
1answer
46 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
30 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
51 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
42 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
29 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
38 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
40 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
31 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
40 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
40 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
155 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
61 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
47 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
39 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
51 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
96 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
64 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
98 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
409 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
137 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
303 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 ...
2
votes
2answers
382 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
464 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
566 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
65 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
238 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
106 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
788 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 ...
1
vote
0answers
465 views

Ubuntu hangs on boot [closed]

After installation mount manger software, upon restarting ubuntu won't boot up . It hangs on boot splash screen and doesn't move further. I have duel boot running in this computer so, I can boot and ...
2
votes
1answer
800 views

What does genfstab's -p option do?

While following this guide to installing Arch Linux the reader is instructed to execute the following command: genfstab -U -p /mnt >> /mnt/etc/fstab It is stated the the -U option uses UUID's ...
1
vote
2answers
790 views

mount error 13 = Permission denied

One of my servers is set up to automatically mount a Windows directory using fstab. However, after my last reboot it stopped working. The line in fstab is: //myserver/myfolder /mnt/backup cifs ...
0
votes
0answers
56 views

Can not mount internal driver in Archbang 2014

I have just installed archbang 2014 on my laptop Asus K53SV. I followed the instruction on Archbang wiki. I have already installed ntfs-3g, but I can not access to the internal (ntfs-formatted) ...
2
votes
0answers
306 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 ...
2
votes
2answers
756 views

Allow NonRoot User to Mount a Particular NTFS External Hard Drive

I have a 4TB external hard drive connected to an Linux server. The fstab permissions on this drive are set so that only one particular non-root user has access to it: ...
2
votes
1answer
390 views

How to rename /dev/sdax(partitions) in Linux

I made a partition like /part on my machine with some important data... But I can't stand the name of it... I want a clear solution to resolve it and change the name of it to for example /test... ...
3
votes
0answers
169 views

mount --bind other user as myself

I'm using fstab to bind a folder that belongs to another user in one of my own directories. I know that I can map users when I mount an SSHFS, I've been doing some research and I can't find a mount ...
3
votes
1answer
209 views

How do I mount a shared VMWare folder on startup?

So I'm following this article on how to mount a shared vmware folder. I can successfully mount with the following command: mount -t vmhgfs .host:/foo /home/user/Documents/foo However, I can't seem ...
0
votes
2answers
1k views

How do I mount an XFS partition via /etc/fstab and non-root users can r/w to it?

I have 2 XFS partitions I want to mount via /etc/fstab: /dev/sdb1 /media/data xfs defaults 0 2 /dev/sdc1 /media/backup xfs defaults 0 ...
0
votes
1answer
100 views

How to set automatically permission at automount without mask

I store my data on a NTFS parition to share it with my Windows. I use the dmask,fmask option in my fstab entry to avoid rwx default permissions to everyone, for coherence, security, and also because ...
0
votes
0answers
176 views

Debian 7.3 - Nautilus doesn't show devices and partitions in left panel after changing partitions

Today I changed some partitions (moving, resizing) on my second hard drive and after restarting Debian I noticed that Nautilus doesn't show either partitions nor removable devices in left panel. In ...
1
vote
1answer
72 views

fstab bind inconsistency - Is a link a better option?

When binding two folders together as configured in /etc/fstab; #folder-with-old-data new-empty-folder fs option flags /home/user1/Mydata/Pictures /home/user1/Pictures none bind 0 0 ...
1
vote
1answer
249 views

special device tmpfs does not exist

I'm trying to speed up a project which uses a folder for cache by mounting the cache folder on tmpfs. But whenever I mount it I get this error message: mount: special device tmpfs does not exist ...
2
votes
1answer
834 views

fstrim trims more than half of partition size even though partition mounted with discard

When I installed my SSD I just mounted with discard and didn't sweat it. However today I was reading about the pros and cons of using fstrim instead and decided to run the program to get an idea of ...
4
votes
1answer
579 views

can not create /dev/shm

I need to create /dev/shm on an embedded ARM system. From "Installed The Latest Changes to Current and......". I see that it can be created with mkdir /lib/udev/devices/shm, but I'm wondering what ...
1
vote
0answers
128 views

NFS File Sync on Mount

I have an ext4 hard drive mounted and working correctly except, if I add a file/folder to the mount on the server side, I can't see the changes on the client side unless I reboot the client. i.e. The ...