/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
1k 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
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 ...
0
votes
1answer
10 views

Mount iSCSI Partitions Automatically at Boot on FreeBSD 10

I have a FreeBSD 10.2 server that I mount iSCSI drives to. I would like to have those drives mounted automatically in fstab so that they are persistent across reboots. If I execute the command ...
15
votes
3answers
31k 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
1answer
48 views

Problem mounting CIFS VFS via fstab at boot

I'm running Raspbian Jessie on a freshly installed Raspberry Pi Model B+. I used apt-get update and apt-get upgrade some hours ago, the system should be up to date. I'm trying to mount a USB disk ...
3
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 ...
0
votes
1answer
32 views

Disk space full not changing after mount folder on other disk

I have a Virtual Machine setup on azure. I see basic disk was getting full so I attached disk to it and mounted /home/user/mydata folder to the new disk. I forgot to add configuration in fstab. My ...
3
votes
0answers
29 views

How can I have a filesystem mounted during user login?

I would like a file based filesystem (~/Archives/inventory.locker) mounted upon user login and unmounted upon logout (~/Documents/Inventory). pam_mount seems to provide the functionality I am after, ...
4
votes
1answer
692 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 ...
2
votes
2answers
2k 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): ...
1
vote
2answers
23 views

Fate of home folder after reallocation to other partition

Yesterday I moved my home directory from the root partition to another partition following the steps here. Basically copied all files to the new partition and added a new fstab entry with the ...
2
votes
4answers
9k 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 ...
1
vote
1answer
33 views

Do entries in /etc/fstab control what points devices partitions are automatically mounted to?

What it says in the title. But for those of you who might need more of an explanation, my question is about how to change the points where devices and partitions automatically mount to upon being ...
2
votes
1answer
68 views

'PARTUUID' in '/etc/fstab' and (hardware) RAID0 don't play well together, do they?

Fresh Arch Linux install on (hardware) RAID0 under 64-bit UEFI system with GPT partitions. Had to add MODULES="ext4 dm_mod raid0" HOOKS="base udev autodetect modconf block mdadm_udev filesystems ...
1
vote
1answer
80 views

Mounting /tmp in another drive on RHEL 7.2 in AWS

I'm running RHEL 7.2 in Amazon Web Services and am trying to make my /tmp use an attached 10 GB volume /dev/xvdh. Data does not need to persist, but I have to have a bigger volume just for tmp, ...
3
votes
1answer
223 views

Force reconnect on sshfs drive mounted via fstab

I have a remote sshfs drive that I use on a daily basis. I previously executed the following command every time I booted up my computer. sshfs -o Ciphers=arcfour -o Compression=no -o reconnect ...
5
votes
6answers
16k views

sshfs always asking for password in fstab?

I'm trying to enter an sshfs mount in /etc/fstab with the following line: sshfs#oli@192.168.0.2:/media/usb0 /media/ExtHD fuse defaults,nonempty,allow_other 0 0 So that this volume is mounted at ...
2
votes
2answers
7k 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? ...
0
votes
1answer
61 views

NFS mounts in fstab are not mounted during startup on RHEL

I have run into a problem with auto mounting nfs exports on a RHEL 6 server. To give you a brief configuration and what I have tried, I’m mounting 6 NFS exported shares from the network. Unfortunately ...
2
votes
2answers
21 views

fstab pass value for non root partitions

If I open /etc/fstab on an up to date Amazon Linux Server (using init, not systemd) I see the following: LABEL=/ / ext4 defaults,noatime 1 1 tmpfs /dev/shm ...
8
votes
2answers
1k views

What are all the spaces in the /etc/fstab for?

I get that I can use mount to set up / directories and that I can use the /etc/fstab to remount them on reboot. Testing the fstab file is also fun with mount -faV. When I'm looking at the fstab ...
1
vote
1answer
39 views

Permission denied when writing a file

Upon installation, I have created an extra partition and mounted it as /data. The partition is visible, but I get a Permission denied error when trying to create a file or directory in it. Doing it ...
0
votes
0answers
27 views

Mount with KDE a fstab defined partition

I have a fstab line to mount a remote filesystem through sshfs like this: user@domain:/path/ /media/user/folder fuse.sshfs ...
2
votes
1answer
558 views

fstab mount, boot stuck on “A start job is running for dev-disk-by\…”

I am running debian 8.1 and working on this for hours now! I try to auto mount seagate and medion on boot if they are plugged in, but if the server is booting without one of these LABELs it stucks ...
5
votes
1answer
84 views

What is the purpose of listing the rootfs in /etc/fstab?

In BuildRoot 2015.08.1 /etc/fstab contains the following line. /dev/root / ext2 rw,noauto 0 1 On my encrypted Ubuntu laptop /etc/fstab contains the following line. /dev/mapper/ubuntu--vg-root / ...
3
votes
2answers
6k 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
0answers
41 views

Linux Mint fails to boot if unable to mount (shared) device listed in fstab

I have a dual-booted system of Mint and Win7, both of which share an external drive storing non-essential files. I listed the drive in /etc/fstab/ UUID=693E145023EB681E /media/External_HDD ntfs-3g ...
2
votes
0answers
177 views

sshfs mounts share in read-only mode

I need to mount a share using sshfs. When I mount it using sshfs directly, i.e. # sshfs martin@192.168.1.10:/home/data/ -o allow_other /mnt/data/ or # sshfs martin@192.168.1.10:/home/data/ -o ...
1
vote
1answer
88 views

mount error(6): No such device or address

I'm trying to mount my NAS server to my raspberry pi server, but without any luck. Mounting a NAS is pretty new to me. my fstab: //10.0.0.15/volume1/pie /home/nas/ cifs ...
3
votes
1answer
74 views

How to specify owner and permissions for an NFS mount?

I have an NFS mount in fstab: 10.0.12.10:/share1 /net/share1 nfs rw 0 0 which defaults to root as owner and group and 777 permissions. How do I specify another owner and different ...
2
votes
1answer
571 views

Auto mounting other partitions in Arch Linux

I am using Arch Linux. Is there a way to automount other NTFS or Ext partitions automatically without configuring them in /etc/fstab?
2
votes
1answer
91 views

Swap suddenly vanished from Debian?

Everything has been going fine for 6 months now until my swap suddenly vanished today. Now that I look into it, I find that my disk partitioning is a bit weird. What happened to it, and what should I ...
2
votes
4answers
1k views

UDF and fstab (no UUID)

In my search for the ideal filesystem to share files between a lot of computer with a lot of different OS'es I accepted this answer and installed a UDF filesystem on my USB stick. First I blanked the ...
1
vote
2answers
122 views

Use CIFS share mounted in fstab for apache svn

To set up an svn repository (running on arch linux) I would like to use my NAS to store the repository. I can only mount it with CIFS (smb). At first there was an issue where the httpd user could ...
2
votes
2answers
388 views

How to mount automatically sshfs when RSA authentication is not an option?

I would like to mount a file system on a remote machine automatically at each Linux startup. However I always need to use password authentication because I cannot use ssh-copy-id. How do I make this ...
0
votes
1answer
241 views

External HDD not mounted at boot, but fstab seems ok

I'm on a Raspberry with DietPI distro and I cannot mount a NTFS hard drive at boot. This is the fstab file: #Internal Drives--------------------------------------------------- proc /proc ...
1
vote
1answer
60 views

How to hide original mount points with bind mount?

I use OpenMediaVault, a NAS software on top of Debian Wheezy. This system usually mounts the file systems at /media/, but that is cumbersome to type and to identify. As such, I've modified my fstab ...
1
vote
2answers
35 views

How do you access the contents of a previous mount after switching to a different the partition?

I installed an additional Linux installation into a separate partition set the /home directory into that partition as well and afterwards I modified /etc/fstab to point to the old partition. How can ...
0
votes
2answers
34 views

Where is the location of this swapfile in /etc/fstab

Highlighted in orange is the swap location. But it isn't relative to any path, where is it located?
1
vote
1answer
40 views

NTFS Partition Not Mounting Properly, Cannot Execute Despite Ownership

I'm trying to execute a script located on an NTFS partition that I own. I own the mount point, which is ~/Migration. ls -l in the directory where the mount point is contained shows me drwxrwxrwx ...
1
vote
0answers
806 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: ...
3
votes
2answers
315 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 ...
5
votes
2answers
1k views

btrfs and the discard mount option on an ssd

I can't seem to find an answer to this so I thought I would ask here: In /etc/fstab and when using the mount command in ext4 you would add the option discard to activate TRIM on an SSD. Similarly ...
0
votes
0answers
46 views

Can't log into Centos

I have a CentOs 6.5 mail server which was compromised and used to send spam therefore forcing us to do some hardening. I followed enter link description here hardening tutorial to the letter which ...
0
votes
1answer
335 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
2answers
49 views

Fixing fstab after reformatting swap

I just made a small mistake and reformatted my swap partition. It's still formatted as a swap partition - I was fortunate not to touch anything more important. However, I notice that the uuid has ...
0
votes
0answers
117 views

Cannot add noexec to fstab /tmp/

Does anyone know why my Graphical Interface does not load after reboot when I remove " noexec " from fstab? So if I remove the " noexec " from the /tmp/ entry in FSTAB, it will load the GUI fine ...
8
votes
3answers
26k 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 ...
0
votes
0answers
106 views

CIFS Shares No Longer Automounting At Boot

I have a couple of CIFS shares that used to automount successfully (on an Arch Linux box) at boot but have recently stopped doing so. I've tried to discover why but am currently stumped so hope ...
2
votes
1answer
43 views

Is fstab syntax the same as mount?

I would like to mount a filesystem permanently. If I understand this correctly, it can be done by adding a line to /etc/fstab. If my mount syntax is like this: mount -t cifs -o ...