/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
0answers
17 views

Connect Ubuntu to owncloud with webdav

I am trying to mount my ownCloud drive on my ubuntu instance hosted on AWS. As part of the tutorial I directs me to adjust my fstab entry. I want this to "auto mount" so my entry in fstab looks like ...
4
votes
1answer
2k 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 ...
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 ...
3
votes
3answers
84 views

How fstab mount options work together with per file defined permissions in linux

I am trying to understand what the precedence and combination of the permission options set in fstab when mounting a disk with those that are associated with each file on disk in the case of ext4 ...
3
votes
3answers
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 /dev/disk/by-id/ata-...
4
votes
1answer
872 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 ...
0
votes
1answer
43 views

How do I comment lines in fstab using sed?

I want to comment certain lines in fstab using sed command. The following are the lines I need to comment: 172.0.0.1:/export/project/common /nfs/share nfs4 rw,bg,hard,nointr,rsize=131072,wsize=131072,...
4
votes
1answer
80 views

Linux: Changing Permissions – No space left on device

I have an external drive. When I just plug the drive into the PC, with a default /etc/fstab file, the OS just detects it and it's there in the Dolphin browser. I can select it, I can navigate to it on ...
2
votes
1answer
72 views

How to move /var/log to another drive?

I have a fully configured openSUSE on my SSD and it just occurred to me that it would be better to tell my system to write logs not on SSD, but to another drive to reduce the quantity of write ...
5
votes
1answer
7k views

What does genfstab's -p option do?

While following this guide to installing Arch Linux the reader is instructed to execute the following command: genfstab -U -p /mnt >> /mnt/etc/fstab It is stated the the -U option uses UUID's ...
0
votes
1answer
46 views

CIFS mount through fstab not mounting at boot

Trying to auto mount two shares from my QNAP NAS onto my raspberry pi. QNAP NAS Shares: \\192.168.1.7\Disk3 \\192.168.1.7\Disk8 At the Raspberry Pi, created two folders: /mnt/shares/NASDisk3 /mnt/...
0
votes
0answers
29 views

SSH Connectivity Issue on AWS EC2 after trying to mod fstab and checking sshd_config

I cannot for the life of me connect back into an EC2 instance based on Amazon Linux AMI 2016.03.3 (HVM). After initially creating the server, logging in and installing docker, jenkins etc... I had ...
2
votes
0answers
35 views

CentOS 7 - Can't mount /var/tmp as bind

I'm working on a freshly installed CentOS7 with LVM. I want to bind mount /var/tmp to /tmp and added the following to /etc/fstab. /tmp /var/tmp none rw,nodev,noexec,nosuid,bind 0 0 ...
2
votes
1answer
2k 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 ...
0
votes
1answer
17 views

Automounting internal partition and usb

I'm running arch Linux with i3 window manager and I'm wondering if there's a way to replicate Ubuntu behavior about auto mounting internal partitions and USB. More precisely: Mount all partitions ...
11
votes
3answers
12k 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
13 views

No root device specified error

I have created a LFS system by reading the book provided at the LFS website. I tried to create an ISO image of it using the tutorial provided here. Then I created a bootable usb stick using unetbootin ...
10
votes
2answers
7k views

Do not halt the boot if an fstab mounting fails

I have this line in my fstab: sshfs#ecarroll@o99:/opt/dealermade/ftp/inc /opt/dealermade/ftp/inc fuse defaults,idmap=user,users 0 0 For whatever reason it didn't work -- that's fine. How do I make ...
0
votes
0answers
24 views

How Do I Effecively Restore /mnt Path After Network Outage?

Running ubuntu 14.04 where I have a mounted cifs network drive. This mount is where some crucial data is saved from which a consumer process accesses. My problem is when there is a network outage. ...
8
votes
4answers
36k 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 ...
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 ...
0
votes
1answer
292 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
1answer
440 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 ...
23
votes
2answers
28k views

What is the difference between 'nobootwait' and 'nofail' in fstab?

In this question I asked what how to not make a media failure halt the system boot process. However, I got two suggestions for fstab options nobootwait nofail What is the difference between the ...
2
votes
0answers
27 views

External HDD won't Mount during Boot

I've got a Cubox-i4Pro running Debian Jessie hooked up to an external USB3/eSATA dual HDD dock (via eSATA). It originally only had one WD Green 2TB drive installed. Via UUID in fstab this auto mounted ...
0
votes
1answer
99 views

SSHFS fails, Error - read: Connection reset by peer

SCP is working, but the sshfs is displaying the above error. sudo sshfs -o allow_other -o transform_symlinks username@192.168.2.207:/ /media/SSHFS_bbb
2
votes
1answer
56 views

kernel init without 'root=' parameter

From systemd/fstab-generator.c it follows that systemd treats root= as required kernel parameter, the only configuration source for /sysroot mount. However from kernel/init/main.c and kernel/init/...
1
vote
3answers
163 views

fstab mount problem

Fresh install Of Mint 17. I have few partition and 3 OSs Win/Ubuntu-Gnome/ and this newly installed Mint. One of these partition is a storage disk for all documents, photos etc.. and I used to use it ...
3
votes
0answers
45 views

fstab doens't read mode value

Following this guide: I set my /etc/fstab file in this way: proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults,ro 0 ...
1
vote
1answer
26 views

How to work out which drive and directory your system booted from if it is not mounted in /etc/fstab?

My /etc/fstab doesn't include the disk the system booted from, basically because I made some changes and forgot to include this. The initial /boot and / directories are on different drives. I noticed ...
1
vote
1answer
123 views

Unclear on interaction between fstab auto and user options

I am confused about the interaction between the auto and user mount options in fstab. After mistakenly setting auto rather than noauto, I noticed that my mount would take place when a device was ...
0
votes
0answers
21 views

Problem with fstab

I am trying to automatically mount a drive on a virtual box by editing fstab. I have added this line to it: PycharmProjects /home/jon/PycharmProjects vboxsf defaults 0 0 However, when I reboot, ...
9
votes
3answers
68k views

mount error 13 = Permission denied

One of my servers is set up to automatically mount a Windows directory using fstab. However, after my last reboot it stopped working. The line in fstab is: //myserver/myfolder /mnt/backup cifs ...
4
votes
2answers
5k views

Mount a folder on a drive in fstab. Move?

I'd like to make a temporary change to my fstab file so that my /home is on another drive. However, I don't want the whole partition to be mounted, but just a folder ("home") on that partition. I'm OK ...
0
votes
1answer
56 views

How do I set up a udev rule to mount the SanDisk Cruzer USB upon insertion in order to eliminate an fstab entry?

Suppose I run sudo mount -a after setting /etc/fstab to: /dev/usbhd1 /path/to/mount/point ntfs rw,auto,nofail 0 1 Yesterday, upon asking what steps our architect and I should do next after a ...
2
votes
1answer
3k 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
115 views

Is it okay to modify Ubuntu Linux 16.04's /etc/fstab after I initialized it?

I modified /etc/fstab after I initialized it on an Ubuntu Linux 16.04 system running on an Lenovo Thinkstation desktop. After it messed up my Ubuntu Linux 16.04 system causing it to go into emergency ...
1
vote
2answers
43 views

Tolerant file system for a failed automount

(I am running openSUSE 13.2) My current setup I have an external backup drive which I mount at boot with the following line in my /etc/fstab: /dev/mapper/cr_backup /backup ext4 comment=...
0
votes
0answers
40 views

Enable Apache(UNIX) to write on a Windows SMB Share

I want to connect a virtual SMB drive to a Linux server to let peoples save their files/data in a "cloud". To do this, i'm using wordpress, and now what i have to do is to let the apache User write on ...
0
votes
0answers
15 views

Samba share not working on second hard drive

I have a centos7 file server with a samba share on the main drive and this is working fine. However I have tried to add a share on a second drive with the same setting but machines on the network are ...
0
votes
1answer
93 views

NAS share not mounting on linux boot through /etc/fstab

I have a NAS share for my Linux server which I mount using the following command. mount -t nfs 172.16.2.115:/shares/OwnCloud /eStore/ now to automate this I added the following line in /etc/fstab ...
2
votes
0answers
17 views

how do I get fileshares to mount after a wireless connection is established?

Changed the computer from a wired to wireless connection for a few days. Now the network shares will not mount at boot. But they will mount with sudo mount -a. I tried adding _netdev but that made no ...
1
vote
0answers
21 views

How to reconfigure grub on a backed up arch linux on a USB flash disk

i managed to back up my arch linux suing rsync : # rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /run/media/username/archlinux edited ...
-1
votes
2answers
153 views

Ubuntu 16.04, drive path changed on its own [duplicate]

So yesterday I had a grub issue that required me to comment out the other two drive sin my fstab that get mounted. 1. an ssd that houses my qcow2 vm. 2. a 1tb seagate So all I had listed was / and ...
2
votes
2answers
6k 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
1answer
46 views

How to unmount a nfs or ntfs when a NAS is not reachable?

I have this environemnt: Redhatlinux Enterprise on fstab a NAS mounted as NFS yyyy.xxx.com:/vol/yyyy_nec_nosnap12/prod_data on /prod_data type nfs (rw,bg,addr=x.y.z.w) when the NAS doesn't reply (...
1
vote
0answers
34 views

External USB drive fsck fails on boot

Yesterday I tried setting the fsck flag on fstab to 2 for the external USB HDD I use in my Raspberry Pi, so that it would be checked on boot, like: proc /proc ...
1
vote
2answers
133 views

mounting a CIFS filesystem directly or via fstab

I am encountering a problem in which mounting a remote CIFS server without an fstab entry works, but mounting through fstab does not. The following command works: $ sudo mount -t cifs //w.x.y.z/Home$...
1
vote
2answers
541 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 barrier=1,errors=...
0
votes
1answer
16 views

Arch linux; changing fstab for bootable backups

I am trying to setup a fully bootable Arch backup by following https://wiki.archlinux.org/index.php/full_system_backup_with_rsync I am having a little trouble understanding the example "Update the ...