/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

4
votes
2answers
10k views

Mount USB drive (FAT32) so all users can write to it

I have a USB FAT32 drive that is on /dev/sda2. I've mounted it as /media/bigdrive however, I get permission denied whenever I try to touch a file there as a non root user. When I run mount I can see ...
3
votes
1answer
430 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 ...
2
votes
2answers
4k views

How to make an ext4 file writable on mounting by a user (not root)

I have been trying to write onto a newly created partition My partition block is /dev/sda6 I am unable to write anything onto that partition. My Corresponding fstab file is this ...
2
votes
2answers
790 views

group option in fstab not working

I'm trying to take advantage of the "group" option for fstab entries and not having any success. From the mount man page: Normally, only the superuser can mount filesystems. However, when fstab ...
2
votes
1answer
81 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
32 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
14 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
46 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
2answers
7k 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 ...
2
votes
3answers
112 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
82 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. ...
1
vote
0answers
29 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 ...
2
votes
1answer
2k 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
3answers
4k 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 ...
1
vote
0answers
55 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
2answers
5k views

UUID Of A drive that won't show up in /dev/disk/by-uuid or blkid

I have a USB drive that is not receiving a UUID. When I look at the contents of the /dev/disk/by-uuid it doesn't exist there. The dev point that the partition lives in is on /dev/sdb. I am able to ...
3
votes
2answers
430 views

Mounting USB camera on Ubuntu

I am quite new at Linux and I have to install this SwissRanger camera on Ubuntu. I am trying to follow their USB mounting instructions and I got stuck. From the instructions: Modify the usbdevfs ...
1
vote
1answer
80 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
74 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
52 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
52 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 ...
2
votes
2answers
86 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 ...
1
vote
0answers
52 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
90 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 ...
0
votes
1answer
140 views

fstab doesn't mount after boot of a virtual machine

I created virtual machine out of WordPress turnkey appliance (I believe it's based on Ubuntu) inside Virtual Box. I am able to mount a folder on turnkey from the host (Windows7) manually. So I added ...
0
votes
0answers
87 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 ...
0
votes
0answers
65 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 ...
4
votes
1answer
293 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 ...
1
vote
1answer
108 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
75 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
226 views

External ext4 drive unmounted after some time (Raspbian)

I am using BitTorrent Sync on my Raspberry Pi (Raspbian) which syncs files on the external hard drive (ext4). I wrote a small script that spins down the drive after 5 minutes of inactivity. As soon as ...
3
votes
1answer
97 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
111 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 ...
3
votes
0answers
2k 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 ...
3
votes
1answer
71 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
54 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 ...
0
votes
1answer
114 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 ...
4
votes
1answer
974 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 ...
5
votes
1answer
393 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 ...
2
votes
1answer
597 views

Mounting Windows share on startup without storing password in plain text

I have the following in my /etc/fstab on a Red Hat 5 system: //share/folder /mnt/folder cifs username=<my username>,password=<my password>,ro,soft,nounix Can I replace this with ...
3
votes
1answer
1k views

How to mount two windows shared folders in linux?

I'm using OpenSuse 12.2 x64. I have tried this in /etc/fstab: //192.168.6.80/shared/folder1 /mnt/folder1 cifs rw,user=guest,password=,uid=1000 0 0 //192.168.6.80/shared/folder2 /mnt/folder2 cifs ...
1
vote
1answer
91 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
72 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
81 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 ...
3
votes
3answers
1k views

Recommended fstab settings

I made a new partition for my home drive by following this guide I have no idea what the fstab setting it suggests mean: UUID=???????? /home ext3 nodev,nosuid 0 2 I ...
1
vote
1answer
103 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 ...
0
votes
1answer
176 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 ...
2
votes
1answer
62 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
2answers
50 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 ...
0
votes
1answer
49 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 ...