/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

5
votes
1answer
156 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 / ...
2
votes
0answers
75 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
389 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
197 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
129 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
184 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
84 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
36 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
37 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
51 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 ...
0
votes
1answer
404 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
2answers
232 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 ...
0
votes
0answers
56 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 ...
2
votes
1answer
1k 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 ...
1
vote
2answers
75 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
163 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 ...
0
votes
0answers
166 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
48 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 ...
1
vote
2answers
158 views

Tmpfs mount for directories on another partition

I have /var on a 10Gb EXT4 partition separate from /. I want to stick /var/cache in RAM using tmpfs. The /etc/fstab entry would be quite simple: tmpgs /var/cache tmpfs ...
3
votes
1answer
443 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 ...
1
vote
1answer
75 views

Mount posixovl using fstab

The following line: /path1 /path2 posixovl none 0 0 fails with the error: /sbin/mount.posixovl: invalid option -- 'o' Usage: /sbin/mount.posixovl [-F] [-S source] mountpoint [-- ...
0
votes
2answers
43 views

Best practice to mount directory in /home to directory in /media?

I have 4 drives on my home server. 3 external drives mounted in fstab to three individual directories in /media. The fourth drive contains a headless debian os install. I want to mount a directory in ...
2
votes
1answer
285 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
152 views

Need to remove a line in fstab on OpenBSD

I thought it would be easier for me to mount flash drives automatically if I did the following to fstab: /dev/sd1i /mnt/usb (sd1i is found from sysctl hw.disknames) I rebooted the box with the USB ...
0
votes
2answers
517 views

Mount NTFS partition as /home with fstab

I am currently installing Arch Linux on a machine which has Windows 10 already installed on it, and I want to use a NTFS partition as /home (because that way, I can easily access my Linux-files from ...
2
votes
1answer
94 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 ...
-1
votes
1answer
146 views

What does this /etc/fstab entry mean? [closed]

What does this /etc/fstab entry mean? UUID=e67dc3e4-1ac3-4a68-b43f-c77c4dc965d9 / ext4 errors=remount-ro 0 1
0
votes
1answer
198 views

Problems with (local) mount at boot (sysvinit)

During boot, some/many mount points in /etc/fstab are not mounted. The /etc/mtab file contains these mount points - my understanding is that the system believes the filesystems are already mounted. ...
1
vote
1answer
49 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
1k 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 ...
0
votes
1answer
195 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 ...
3
votes
2answers
354 views

mount ecryptfs without sudo

I am using the following script to mount an ecryptfs directory (from How To Recover Synology encrypted folders in Linux). tty -echo read -p "Enter passphrase: " PASS; echo stty echo sudo mount -t ...
0
votes
0answers
169 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 ...
1
vote
1answer
108 views

How to add 100MB of swap space as a logical volume in CentOS?

I need to add 100MB of swap space to my machine. I was trying to use a logical volume. # lvcreate –name lv_swap2 –size 100M vg # mkswap /dev/vg/lv_swap2 # swapon /dev/vg/lv_swap2 # vi /etc/fstab ...
1
vote
2answers
55 views

Moving 4 system folders to 1 separated partition

Some background: I have installed Linux Mint 17 Cinnamon on my laptop SSD on a 10GB formatted partition and i have another HDD with 75GB, both ext4 formatted. The question part: I have two partitions ...
5
votes
1answer
924 views

Mounting ExFAT on Linux

I've been trying to set up my Raspberry Pi B+ as a HTPC that also shares a USB HDD over Samba and AFP. The latter is working just fine, and the Samba share seemed to be working too for a moment. ...
7
votes
2answers
7k views

NFS: mount.nfs: Protocol not supported

I want to mount the NFS share of a Zyxel NSA310s NAS. Showmount, called on the client machine, shows the share: $ showmount 10.0.0.100 -e Export list for 10.0.0.100: /i-data/7fd943bf/nfs/zyxelNFS * ...
3
votes
3answers
818 views

Automatically mount a drive using /etc/fstab, and limiting access to all users of a specific group

I currently have an extra HDD which I am using as my workspace. I am trying to get it to mount automatically on reboots using the following line added to /etc/fstab /dev/sdb1 /media/workspace auto ...
1
vote
2answers
621 views

CIFS mountpoint timesout when attempting to Mount

I am trying to mount a folder in Windows (shared by Everyone) to a centOS server using cifs. In /etc/fstab, I got: //192.168.x.x/DOUGSLAPTOP/hatest /mnt/fsr01 cifs guest 0 0 I ...
1
vote
0answers
82 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
2answers
1k views

Raid devices are mounted with different UUID

Centos 7.1 64. This is what I have: Two raids, but not md0 and md1 [root@localhost]# cat /proc/mdstat Personalities : [raid1] md126 : active raid1 sdb2[1] sda2[0] 974711616 blocks super 1.0 ...
0
votes
1answer
22 views

Several specific configurations to the file system

Task: "You have to configure the /home's filesystem-mounting-method in such a way, so that all I/O operations will be always done in a synchronic mode, without the possibility of using the SUID ...
3
votes
1answer
1k views

bind mounting and df output

I have a partition, /dev/sdb1, that gets mounted at /data. In /etc/fstab I have: /dev/sdb1 /data ext4 defaults 1 2 After that partition gets mounted, I then have the following ...
2
votes
1answer
2k views

Mount iscsi drive at boot - system halts

I am running Oracle Linux 7 (CentOS / RedHat based distro) in a VirtualBox VM on a Mac with OS X 10.10. I have a Synology Diskstation serving as an iscsi target. I have successfully connected to the ...
2
votes
0answers
218 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 ...
1
vote
0answers
59 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 ...
4
votes
1answer
2k views

Do you need to specify the “defaults” option in fstab?

The Arch Wiki on fstab specifies the options of / to be defaults,noatime, but on my installation the default fstab is created with the options of rw,relatime. The Arch Wiki covers the atime issues. ...
2
votes
2answers
573 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 ...
1
vote
0answers
120 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 ...
2
votes
1answer
496 views

systemd mount 'rootfs' according to '/proc/cmdline'

SETUP Im running Debian 8 (jessie/testing) amd64 with systemd. On my system partition containing a btrfs filesystem, I do have the following layout: /dev/sda1 |-root |-root_snapshots/ ...