/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
2answers
412 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 ...
0
votes
1answer
125 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
32 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
19 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
139 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
46 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
35 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
194 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 ...
1
vote
2answers
3k 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 ...
3
votes
1answer
56 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 ...
1
vote
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
2answers
749 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 ...
0
votes
1answer
60 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
206 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
36 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
41 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
61 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
743 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
97 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
585 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
922 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
47 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
60 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
53 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
74 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
77 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
48 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
44 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
38 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
57 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: ...
2
votes
3answers
1k 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 ...
6
votes
1answer
464 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
71 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
2answers
45 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 ...
0
votes
0answers
78 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 ...
1
vote
0answers
154 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 ...
3
votes
1answer
304 views

Mount NTFS drive with 777 permissions

I need to mount a NTFS drive with permissions set to 777. The code i have in fstab now is: /dev/sdb2 /disk ntfs defaults,nls=utf8,umask=000,uid=1000,windows_names 0 0 But ...
2
votes
1answer
421 views

EBS Volumes Mounted On Wrong Directory After Reboot

I have three EBS RAID 10 volumes in my /etc/fstab on an Amazon AMI hosted with AWS/EC2... Everytime I reboot the instance, the volumes get mounted to the wrong mount points. Any ideas on how I can ...
1
vote
0answers
81 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 ...
4
votes
2answers
745 views

mounting local network folder in Ubuntu

I add a folder in /etc/fstab: //172.30.12.37/test/ /home/my/test cifs user=afs,pass=123456,auto,exec,umask=002,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0 Now test link can be seen in ...
2
votes
1answer
164 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?
4
votes
1answer
87 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 ...
8
votes
3answers
522 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
282 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 ...
4
votes
2answers
8k views

How to fix boot failure due to incorrect fstab?

It seems that I have added incorrect record to /etc/fstab: //servername/share /mnt/share cifs defaults,username=myuser 0 0 When I did mount -a, it asked user password to mount network ...
1
vote
3answers
4k views

How to mount aufs file system on boot in archlinux?

I want to use aufs to combine a few disks.I am able to mount the aufs file system using the mount command from the command line. However, when trying to mount the same through an fstab entry, it ...
3
votes
1answer
524 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
1k 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 ...
3
votes
2answers
818 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 ...