/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

0
votes
1answer
20 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 ...
1
vote
1answer
45 views

Swap suddently vanished from Debian?

Everything has been going fine for 6 months now until my swap suddently vanished today. Now that I look into it, I find that my disk partitionning is a bit weird. What happened to it and what should I ...
-1
votes
1answer
36 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
0answers
17 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
12 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
21 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
18 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 ...
2
votes
2answers
45 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
31 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
34 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
38 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
93 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. ...
1
vote
2answers
255 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
69 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 ...
0
votes
0answers
9 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 ...
1
vote
2answers
52 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
36 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 ...
0
votes
2answers
55 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
19 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 ...
0
votes
0answers
46 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 ...
3
votes
1answer
188 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
33 views

Mount iscsi drive at boot - system halts

I am running Oracle Linux 7 (CentOS/RH) in a Virtual Box 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 Synology, ...
0
votes
0answers
61 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 ...
2
votes
0answers
84 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
42 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 ...
2
votes
1answer
99 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. ...
1
vote
1answer
72 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
43 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
155 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/ ...
2
votes
1answer
24 views

Reloading specific base files

I am using Arch Linux and I have cleared the fstab file on accident. Of course I regenerate the fstab with genfstab -U -p /mnt >> /mnt/etc/fstab the thing is, I do not know what was in the ...
2
votes
2answers
126 views

The fifth field of fstab query

In "/etc/fstab" the entries are like this tmpfs /dev/shm tmpfs defaults 0 0 The fifth field (0) is used by dump (a backup utility) to decide if a ...
0
votes
0answers
65 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
1answer
75 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 ...
2
votes
1answer
170 views

User specific fstab for fusermount

I wonder if there is something like "user specific /etc/fstab" for fusermount? ~/.fstab, ~/.config/fstab, something the like, which would work in cooperation with FUSE. I used sshfs foo.bar: ...
2
votes
1answer
197 views

Why is “nodev” in /etc/fstab so important? How can character devices be used for hacking?

I am learning about linux security and struggling to understand why a USB stick with a character device on it is potentially dangerous. If I have a USB stick with a bash executable that has setuid ...
1
vote
0answers
77 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
177 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 ...
0
votes
3answers
347 views

Mount encrypted volume in Debian

I was given a HDD that was encrypted using dm-crypt and I'd like to mount it as /disk2 preferably having the decryption password stored in a file, so I won't have to enter the passphrase when booting, ...
1
vote
0answers
32 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 ...
0
votes
0answers
50 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
1answer
66 views

Old HDD with arch linux on new machine won't boot

I am a bit of a newbie when it comes to migrations. I had an old machine whose PSU crapped out. So I took whatever I could salvage (i.e. RAM, gfx card and the HDD which still had my arch installation) ...
2
votes
1answer
585 views

How to edit /etc/fstab when system boots to read only file system?

I'm on Ubuntu 14.04. I pasted something incorrect (from a tutorial) into my /etc/fstab file. As a result, the root file system will not mount when the machine boots up. I know what needs to be fixed ...
1
vote
2answers
93 views

/etc/fstab/ rw option is being ignored for mircosd card partition in ArchLinux

I have ArchLiinux Linux comp001 3.18.7-1-ARCH #1 PREEMPT Wed Feb 11 11:38:34 MST 2015 armv6l GNU/Linux for Arm installed on rPi and here is my /etc/fstab file: # # /etc/fstab: static file system ...
1
vote
2answers
112 views

How do I automatically bind mount on boot in a non-root encrypted home directory?

I want to bind mount a directory within my home when I log on. The line in fstab would be /foo/bar /home/me/wherever none bind 0 0 The trouble is my home directory is encrypted, so it has to happen ...
1
vote
3answers
397 views

Ownership of a mount point

I cannot create files in my newly mounted partition . The folder to which i am mount the partition, /media/hrmount, is owned by root so even if I add a fstab line like UUID=irrelevant ...
1
vote
3answers
88 views

Boot process - Dev sdX name changes

I had a Slack 13.1 machine with 2.6.36 kernel. Then, I updated the kernel to 3.12.1. This machine has connected: a bootable disk with three partions (/dev/sda1 --> Linux OS files..., /dev/sda2 --> ...
3
votes
1answer
48 views

Does fstab actively run to detect new filesystems and mount them?

I'm creating an encrypted filesystem with LUKS. Inside of it is a single BTRFS filesystem. If I add the UUID (and subvolume) of the filesystem to /etc/fstab, will the filesystem automatically be ...
2
votes
1answer
73 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
787 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
73 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 ...