/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
1answer
608 views

Resize / remount /dev/shm not working

I've got a linux box dedicated to playing host to an Oracle server installation. It's got 4Gb RAM and by default, 50% (2Gb) has been allocated to /dev/shm. I want to change this to 3Gb, but I am ...
3
votes
1answer
926 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
1answer
78 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
1k 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
399 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?
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
1answer
2k views

/etc/fstab is mounting rw filesystem as read-only

A partition of my internal hard drive (not the root partition) I want to mount automatically on boot. I've been using /etc/fstab to mount my external backup drive automatically read-only, so this is ...
1
vote
1answer
52 views

How do I set up bind mounts on startup correctly in the systemd world?

systemd, trying to be smart, parallelizes mounting entries of /etc/fstab. Unfortunately, this randomly messes up bind mounts: A look at my fstab, cleaned up a bit: $ grep -Ev 'ntfs|swap|#' ...
1
vote
1answer
16 views

Change the owner of an ntfs filesystem mounted via fstab

I want to mount a partition on boot and need it to have read, write and execute permissions. I'm using 64-bit Arch Linux and created the following /etc/fstab file: /dev/sda1 ...
1
vote
1answer
115 views

How do you mount a specific btrfs subvolume?

Suppose I start with a non-btrfs system and then add a secondary drive that I format as btrfs. How would I mount /var/log on a subvolume of the new drive instead of on the original drive? Is this even ...
1
vote
1answer
569 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: ...
1
vote
1answer
300 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 ...
0
votes
1answer
33 views

Mount remote home directories

I have a SAMBA/CIFS server where the users have their own directories. My client machines run Linux or Windows. What I am trying to do is to use that share in both OSes. But my users can login in any ...
0
votes
1answer
105 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 ...
0
votes
1answer
333 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 ...
0
votes
1answer
214 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 ...
4
votes
0answers
517 views

No access to symlink folder on NTFS partition

I am using an NTFS parition for storing data I like to access both from Ubuntu and Windows 7. On my Ubuntu HOME partition, I like to link the folder Assets in order to access it from an application ...
3
votes
0answers
5k 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
0answers
533 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
0answers
110 views

Debian booting to black screen

I just finished upgrading to Jessie from Wheezy, and after a reboot, my system ran grub, goes through some checks and stuff after loading the kernel. It then says: Welcome Debian 8 servername Tty1 ...
2
votes
0answers
361 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 ...
2
votes
0answers
226 views

jbd2 journal constant i/o

iotop reports a constant i/o about 3% of [jbd2/vda1-8], I think this is the journal manager for ext4. my fstab is: UUID=X / ext4 defaults,noatime,nodiratime 1 1 tmpfs /dev/shm ...
1
vote
0answers
44 views

Simple automount USB devices with fstab: is it normal behaviour?

I notice that adding this in /etc/fstab: /dev/sdb1 /media vfat nofail 0 0 will automount any SD card of my USB SD reader, and even auto-remount if I remove the card, and insert a new ...
1
vote
0answers
48 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 ...
1
vote
0answers
57 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 ...
1
vote
0answers
122 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
269 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 ...
1
vote
0answers
34 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 ...
1
vote
0answers
150 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
3k 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
0answers
187 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
148 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
0answers
111 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 ...
1
vote
0answers
387 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 ...
1
vote
0answers
413 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 ...
1
vote
0answers
199 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 ...
1
vote
0answers
549 views

Not mounting after restart?

I am mounting a drive via SSH, and then editing the fstab to reflect the changes, however after I reboot, the drive doesnt mount? I dont understand what I'm doing wrong? This is my fstab and its ...
0
votes
0answers
61 views

CIFS: “permission denied” but (empty) file created?

System is a Linux Mint 17. From /etc/fstab: //fileserver/share /home/share cifs credentials=/etc/smb.credentials 0 0 Share exists and is successfully mounted (by the root process). Writing to the ...
0
votes
0answers
10 views

mounted label name disappears

I mounted a Windows HDD as follows in the /etc/fstab file as sudo: # 250 GB SSD UUID=400888B80888AE8A /media/user/wt ntfs-3g defaults,locale=hu_HU.utf8 0 0 I'd like to see in GUI the label name ...
0
votes
0answers
61 views

Windows cannot access disk mounted on linux boot

I do have a NTFS files partition that I use both in linux (LXLE 14.04 which is Lubuntu based) and windows (8.1). While back, I added and entry in /etc/fstab in order to mount the files partition ...
0
votes
0answers
158 views

mount: unknown filesystem type 'ntfs'. What's wrong?

I just added a few disk, update fstab and I got that error. fdisk -l shows this root@host [~]# fdisk -l Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders ...
0
votes
0answers
133 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
69 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
0answers
321 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
0answers
148 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
218 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
812 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 ...
0
votes
0answers
116 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) ...
0
votes
0answers
50 views

Exporting Logical Volume to Mac for use as Time Machine drive

I have an Ubuntu server, and I have put a hard drive into this server. The logical volume on this hard drive looks like Device Boot Start End Blocks Id System /dev/sdb1 ...
0
votes
0answers
61 views

Boot disk unavailable

Background I've got one 32GB SSD that I have Ubuntu 12.10 installed on (this drive is encrypted), and two 1.5TB drives that will serve as storage and backup respectively. I have formated both drives ...