/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
33 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
69 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 ...
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 ...
1
vote
2answers
24 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 ...
3
votes
0answers
46 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 ...
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
0answers
29 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 ...
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 ...
0
votes
0answers
9 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 ...
4
votes
1answer
808 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
38 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
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 ...
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
15 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
96 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
5k 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
37 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
31 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
80 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 ...
1
vote
2answers
520 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 ...
0
votes
1answer
15 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 ...
12
votes
1answer
18k views

Difference between 'sync' and 'async' mount options

What is the difference between sync and async mount options from the end-user point of view? Is file system mounted with one of these options works faster than if mounted with another one? Which ...
3
votes
1answer
48 views

Ignore unmounted file systems

I've got two devices on my LAN: a Raspbian jessie and an Ubuntu 14.04. The latter has some nfs shared folders, which are available from Raspbian at startup, set up in its /etc/fstab file as: ...
2
votes
1answer
30 views

Powercuts and network mounts!

I have a 2 TB hardisk connected to my router which is network mounted through fstab onto my Arch Linux PC. #External Drive LABEL=Crate //IPaddress/Crate /media/Crate cifs ...
0
votes
1answer
77 views

Disabling USB automount in GNOME3

I'm trying to disable the USB automount in GNOME 3.14.1 (debian Jessie). I've modified the gnome media handling using dconf-editor, my configuration looks like this: I'm not sure of what proces or ...
0
votes
2answers
47 views

[mntent]: line 15 in /etc/fstab is bad while running sudo mount -o

Running sudo mount -o rw,remount /mnt/Data reports above error. Here is the fstab file # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a ...
1
vote
1answer
43 views

mounting network drive in /etc/fstab

The following command correctly mounts a network drive for me: sudo mount 192.168.0.15:/drive /media/data Yet the following entry in /etc/fstab does not work. Why? //192.168.0.15/drive ...
17
votes
4answers
40k 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 ...
0
votes
0answers
23 views

Ubuntu 10.04 / Suse10 (yes outdated..): Edit /etc/fstab before it is read

As the topic says: I'm trying to edit the /etc/fstab before it is read during the system-startup OS: Ubuntu 10.04 and Suse 10 I've linked my edit-script currently under /etc/rc2.d/, but it is called ...
3
votes
1answer
61 views

Adding new hard drive as /home after installation

I have a desktop PC running Arch Linux that during inital installation only used a 120GB SSD for / and no other partitions. I have just recently added a 500GB HDD that I want to mount as /home to give ...
0
votes
1answer
43 views

FSTAB trouble - unable to load linux system after unplugging additional hdd

I have two hard drives on my computer. On one of them I have installed linux (elementaryOS) and on the second one I store some of my data. I have made fstab entry to auto-mount this drive and ...
3
votes
2answers
43 views

How to stop debian from mounting a partition at startup

I installed Debian and set a data partition and now I want to stop it from mounting it everytime but deleting the line in fstab and updating initramfs won't stop it from mounting it. Is there a way to ...
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 ...
0
votes
0answers
63 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 Found the solution - host key is changed, Need ...
2
votes
1answer
79 views

Debian Jessie FSTAB Automount network problem

Ok I made a reinstallation of my Debian 8 Jessie last night and my home Directory wasn't erased (don't know if any confs might interfere on this). So I have a Network CIFS share I wanna Automount... ...
0
votes
0answers
39 views

Can't write file (but folder ok) in network folder

I am using a Raspberry Pi 2 and I want to access to a shared folder (An hard drive plugged into my VirginBox, my internet access provider box). I can access and write on it has I want from a Windows ...
0
votes
1answer
64 views

Correctly mounting windows partition

i have set up a multiboot with Linux Mint 17.3 64-Bit on 256GB SSD and Windows 7 64-Bit on a 3TB HD. I have symbolic links from Linux to the Windows Partition, so my Pictures, Documents, Downloads, ...
0
votes
1answer
29 views

Can't copy to usb device

Changed /etc/fstab /dev/sdc1 /media/usb rw,noatime,user,umask=0 0 0 Mounted mount -a But while copying showed Operation not permitted
1
vote
0answers
25 views

VFAT FS Sync/Flush Behaviour

In order to increase the life of my VFAT flash drives, I have them set to mount as async. One of these drives sometimes deals with large data changes, and as a result, the writes that occur on umount ...
22
votes
2answers
25k 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 ...
1
vote
3answers
91 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 ...
0
votes
0answers
45 views

Files are being created in folder before fstab mount point is complete

This is a new problem that started after an apt-get upgrade today. OS: Ubuntu 14.04 The LXD container hypervisor puts everything in /var/lib/lxd, but my / partition is a little tight so I bind the ...
1
vote
2answers
262 views

NFS Debian Jessie server and client

I am trying to find the correct syntax for mounting a file share of nfs. On the host I have the /etc/export file set like so: /mnt/externalHD 192.168.0.8(ro,sync) and the client fstab like so: ...
1
vote
0answers
39 views

FSCK doesn't run automatically

My /etc/fstab for my main OS parition: UUID=5ee65c50-5672-42a6-9dcf-8bdba30c38aa / ext4 defaults,noatime,nodiratime,data=writeback,errors=remount-ro 0 1 One of the options is set to ...
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): ...
2
votes
1answer
27 views

NAS attached with fstab

I have successfully mounted my NAS automatically at boot using fstab, however I am noticing that if I modify the files on the NAS from another machine(windows), the linux machine network mounts do not ...
0
votes
1answer
36 views

Auto mounting network share which is temporary offline

following problem: I have a server which needs to mount a windows network share in order to copy a file on it. So I added the share in the fstab so that it will be mounted on startup. ...
0
votes
0answers
116 views

AutoMount A Windows CIFS Share to CentOS 7 Using Active Directory In A Single SignOn Scenario

I have a CentOS 7 machine I setup which is integrated into a Windows 2k8r2 Active Directory domain using SSSD and RealmD. I am using AD Security Groups to restrict domain user access to the Cent ...
1
vote
0answers
19 views

timeout when initiating a sshfs connection

I have following line in /etc/fstab 192.168.1.10:/data /mnt/data fuse.sshfs rw,noauto,nosuid,nodev,noexec,_netdev and following line in /etc/rc.local: mount /mnt/data During boot process, ...