The configuration file /etc/fstab contains the necessary information to automate the process of mounting partitions.

learn more… | top users | synonyms

1
vote
0answers
32 views

Incorrectly mounted partition [on hold]

I'm having a few mishaps with a friend's VPS from OVH hosting and Ubuntu Server 14.04. Basically the guys decided to reboot it into a so-called rescue mode which loads some Debian and mounts the old ...
3
votes
1answer
1k views

automount with curlftpfs

i would like to automount my backuftp with curlftpfs, i added curlftpfs#<serverip> /backup/backupftp fuse allow_other,uid=0,gid=0,umask=0022 0 0 in /etc/fstab and put the login details in /...
1
vote
1answer
74 views

Auto-mount SFTP share in fstab

I have a SFTP share on my server wich use standard authentication. On my client, I have edited the /etc/fstab file and added : user1@192.168.1.50:/ /mnt/share fuse.sshfs port=22,defaults,_netdev 0 ...
28
votes
3answers
21k views

How do you validate fstab without rebooting?

I modified /etc/fstab. I verified the new devices and I can mount them with the mount command. How may I validate the modifications made to /etc/fstab ?
1
vote
0answers
37 views

Linux ramdisk transfer files on reboot [closed]

I've created a tmpfs ramdisk, which is mounted at boot through /etc/fstab. The ramdisk should be used to serve content to an apache web server running on the machine. Is there a simple way to ...
2
votes
3answers
64 views

NFS mounts depending on other NFS mount fail to mount at boot

I have setup 5 NFS mounts in /etc/fstab. The first one "parent" mounts on local mount point /foo and the other 4 "child" in mounts points on the first one: So let's say the second is /foo/test1. The ...
0
votes
1answer
35 views

New Swap Drive - Linux Hangs during Boot

An application checked the swap space during install and required it to be the same amount as ram. So i added a new disk (Server is a VM) and done the following: swapoff /dev/mapper/ol-swap vgcreate ...
0
votes
1answer
32 views

Mount bind not taking affect in fstab - Centos 6

I am using this line in fstab to bind /sftp/feeds/incoming to /var/www/online/public_html/feeds /sftp/feeds/incoming /var/www/online/public_html/feeds none bind 0 0 But it is not taking ...
1
vote
2answers
141 views

Mounting multipath devices by UUID in fstab

I have several multipath iSCSI LUN's formatted as ocfs2 filesystems. They are part of an Ubuntu 14.04 cluster using local heartbeat. This all appears to be working fine if I mount them manually after ...
1
vote
1answer
2k views

fstab entry to mount NFS with password

i need mount at boot a disk using NFS, to mount manually from console i type: mount //192.168.0.1/NASShare -o username=administrator,password=pass /mnt/NAS To /etc/fstab i added this line: 192.168....
2
votes
1answer
86 views

Handling /etc/fstab when upgrading linode from Xen to KVM

I have a linode that is currently on one of Linode's Xen servers. I see that I am eligible to upgrade to a KVM linode. One thing that concerns me is that Linode's upgrade guide says block devices ...
2
votes
1answer
80 views

Mounting NFS - How to fail fast?

I have a NAS. On my Linux desktop, I mount a partition of the NAS via NFS. The NAS isn't always switched on. When I need to use it, then I switch it on and use mount -a on my desktop. The related ...
17
votes
6answers
58k views

How to change owner of mount point

We have moved mysql data directory to another disk, so now /var/lib/mysql is just a mount point to another partition. We set the owner of the /var/lib/mysql directory to mysql.mysql. But everytime we ...
7
votes
2answers
278 views

Is there a way of exporting fstab info for device which is currently mounted?

Does there exist any tool which can tell you what the fstab line for a mount should be? Ie. it looks at something which has been mounted manually and tells you the line which you would have to add to /...
2
votes
1answer
47 views

Couldn't define user password in fstab

I am trying to add the below entry to /etc/vfstab on Solaris 11.2 to mount a windows shared folder on reboot time: //192.168.1.45/share - /mnt/winshare smbfs - yes fileperms=0777,dirperms=...
0
votes
1answer
50 views

Bindfs ignores user in /etc/fstab

I'm trying to mount a directory under a specific user:group combo. Using bindfs on the command yields the expected results: root@system:~# bindfs foo bar --user=fooz --group=baz root@system:~# ls -...
1
vote
0answers
153 views

Write Permissions Denied when using sshfs to Mount Remote Directory on Boot

I have two Cent OS 7 servers I am trying to mount a directory from my host server to my client server. I want this to automatically mount on boot. On my host machine (hostmachine.local) I setup a ...
2
votes
3answers
3k views

nfs, execution denied

I have server (debian 6) machine (say, ip = 10.13.13.100) with nfs exports /etc/exports /path/to/my/shared/folder 10.13.13.0/24(rw,async,no_sub_tree_check,no_root_squash) There are two users on ...
0
votes
0answers
38 views

s3fs not auto-mount on EC2 reboot

I have this line in /etc/fstab s3fs#s3-bucket.com path/to/dir fuse _netdev,allow_other,default_acl=public-read,iam_role=my_role,use_cache=/s3fscache,retries=5 0 0 Whenever I reboot EC2, I got error ...
1
vote
2answers
229 views

Automount a samba share using fstab cifs in a debian virtualbox

When i run: mount -a as root user in my virtualbox machine i will get the samba share mounted, so my settings in my /etc/fstab are working: //192.168.0.99/download /vagrant/Downloads cifs ...
1
vote
0answers
58 views

Can custom /proc mount options be set on OpenVZ containers?

I recently discovered that the way OpenVZ mounts /proc inside of containers by default isn't as secure as it could be (it's mounted as rw). When combined with insecure scripts on the server, this ...
1
vote
2answers
457 views

Unrecognized mount option “nobootwait” or missing value on ext4-fs for cloudstack

I am launching a VM on a cloudstack derivative. The fstab looks like this /dev/vdb /mnt auto defaults,nobootwait,comment=cloudconfig 0 2 Starting File System Check on /dev/vdb.....
1
vote
1answer
41 views

Empty fstab on Debian 7 and up. Possible side effects?

When I was checking a machine set up by our sysadmin team, I encountered an completely empty fstab. In fact it was the default fstab installed by a debootstrap. # UNCONFIGURED FSTAB FOR BASE SYSTEM ...
0
votes
0answers
37 views

Need to make change to fstab when read-only

I am configuring RAID and filesystems. I had to create /dev/md1 with RAID devices /dev/sda5 and /dev/sda6 on them. Next I needed to edit /etc/fstab, so that /dev/md1 mounts on boot. I made the ...
0
votes
0answers
159 views

Any way to have wildcards in fstab?

My goal is to allow any user to mount a cifs share to /media/networkshare or even better /media/networkshare/share_* Is there any way to allow wildcards in fstab such that they can do that? I can't ...
0
votes
2answers
304 views

cloud-init on AWS: mounts disappear after imaging and rebuilding

I'm using cloud-init to automatically prepare an AWS image (AMI) for use in a production environment - that way I can have the environment setup process tracked in a source control system, but I can ...
0
votes
1answer
271 views

fstab entry causes emergency mode on reboot

I am using a loop file system because I do not have another partition to mount and I am only practicing as I study for my sysadmin exam. I added the following line to my stab /tmp/imagefile ...
0
votes
0answers
185 views

Linux, dev-mapper: How to mount a folder with different options than parent folder

I'm using CentOS 7.1 with device-mapper, and /home mounted as /dev/mapper/centos-home on /home type xfs (rw,relatime,seclabel,attr2,inode64,noquota) I'd like to include in fstab an entry for ...
-1
votes
1answer
278 views

Bash add entry to fstab by script [closed]

I'm newbies in bash scripting and i try to write script that add entry for cifs windows share to fstab. I writed a litle script but i'm not shure if it will work fine. I haven't linux to test it Can ...
12
votes
3answers
24k views

Do I need to restart my server after editing fstab and mtab?

I'm just wondering if I need to restart my server after editing fstab and mtab. I changed something in this file manually due to problem with awstats report. I am using ISPConfig 3 with the help of ...
0
votes
0answers
32 views

Not recognizing path to credentials on fstab

I'm trying to mount a remote filesystem with fstab, and using a credentials file to load the username and password, but for some reason I get this error message when I try to use # mount -a: mount ...
0
votes
1answer
114 views

what are the folders in fstab without the device name or label or UUID [closed]

This is my /etc/fstab file on my CentOS6.6 : /dev/mapper/VolGroup-lv_root / ext4 usrjquota=quota.user,jqfmt=vfsv0,noatime,nodiratime,commit=120 1 1 UUID=5fde0497-7901-4de8-9516-...
2
votes
1answer
2k views

Reconnect Attempts for CIFS share

I have a CIFS share mounted in the FSTAB on Ubuntu server, which connects to our NAS and works without issue. Last night we had an issue with the SAN for about 12 hours. We corrected the problem and ...
1
vote
1answer
782 views

CentOS 7 NFS partition doesn't mount on boot

I have a CentOS 7 x64 server which doesn't mount NFS entries in /etc/fstab on boot. The configuration is correct, because if I run mount -a, everything works like a charm. The fstab entries are as ...
0
votes
1answer
105 views

Is mounting /boot in /etc/fstab automatically necessary?

Hello members of StackExchange, I am running a Debian 8.0 server with Full-Disk-Encryption and while I was doing some hardening I went through the /etc/fstab and I was wondering if some partitions ...
-1
votes
1answer
158 views

how to identify which physical drive(s) correspond to an entry in /etc/fstab [duplicate]

Using Centos. Situation: I have multiple drives off of two RAID controllers. I also have multiple entries in the fstab, such as /dev/sdb, /dev/sdc, etc. What I need to know is how I can identify ...
0
votes
1answer
11k views

OpenSSH in Windows Server 2012 R2 [closed]

I'm trying to create a complete FTP server on Win 2012 r2 using IIS FTP (for FTP and FTPS protocol) and OpenSSH for SFTP protocol. I'm searching for several documentations but I'm discovering ...
0
votes
1answer
594 views

Debian 8 Systemd fstab can't mount file system

Just upgraded to Debian 8. And system can't be booted because of this two lines in /etc/fstab: /dev/data/server/ /data ext4 defaults 0 2 /data/vmail /var/vmail none ...
0
votes
1answer
56 views

Trouble with SWAP on AWS

I created an AWS m3.large instance. It comes with a single 32GB SSD. During the creation process, I added a second drive for the system. I picked the second drive for the system: xvda1 and the ...
1
vote
1answer
115 views

NFS Mounts/ Failed reboot - Race Condition?

I recently suffered the joy of a server crash (Ubuntu 12.04) and a subsequent failure to reboot. It appears that the OS attempted to mount the NFS shares in the /etc/fstab file before networking had ...
1
vote
1answer
142 views

After a yum update, physical drives sda and sdb are swapped and sdc is missing

yum update installed kernel 2.6.32-504.8.1-el6.x86_64, and was correctly installed to /dev/sdb1/boot (ext3). Physical drives on the machine (with expected/normal/previous device labels): /dev/sdb1, ...
0
votes
1answer
288 views

Read-only filesystem after adding userquota,groupquota to fstab [closed]

When I add option userquota,groupquota to the main (/) partition of my Debian 6 DirectAdmin server, it mounts that partition in read-only mode. Wat I did: nano /etc/fstab add userquota,groupquota ...
0
votes
0answers
83 views

Preventing a read-write first automount after adding a VHDX onto a CentOS7 HyperV VM

I have a VHDX file (representing a non-boot ext4 fs) that I need to run some forensics on. I have a working CentOS7 HyperV VM on a Win2012R2 host. I want to attach the VHDX to the CentOS7 VM, which ...
0
votes
2answers
359 views

Faulty /etc/fstab preventing Proxmox boot

I've added a single entry to a /etc/fstab: mount //sambashare /media/sambashare Running mount -a worked just fine, I could access all the files. However, after a reboot, I'm faced with this error: ...
1
vote
1answer
305 views

Forcing user in both directions using bindfs

I have a specific OS user called 'app' which runs Dropbox. The app is deployed (in the same server) for multiple sites. But the Dropbox of the 'app' user has info about all sites. The dropobox has a ...
0
votes
1answer
48 views

Mounting fails with fstab

I am trying to create a mount point that remains persistent on reboot by adding the following line into /etc/fstab /ownCloud/admin/files/Website\ Backups/ /home/example/Backups none bind 0 0 This is ...
0
votes
0answers
114 views

Mounting a webdav share to its original Linux server

Ok, so normally, a server provides a webdav share, and that can be accessed by mounting it on some other computer. What I want to do is to mount it (permanently) not elsewhere, but on the actual ...
4
votes
3answers
4k views

/etc/fstab skip on error

Can I set an /etc/fstab with options=auto to be skipped if mounting fails? The manual says, it will break the boot process if an entry with options=auto fails. Without auto, it does not ...
4
votes
2answers
2k views

Create directory before binding via /etc/fstab

I have this line in my /etc/fstab: /mnt/tmp /tmp none bind,nobootwait On EC2 however, /mnt may be lost during restarts causing the mount to fail due to non existent /mnt/tmp. So is there a ...
3
votes
1answer
437 views

Directories inside /var are on root partition not /var partition

Few weeks ago I installed Opensuse 13.2. I partitioned the disk so that root '/', /var, /tmp and /home are on different partitions. Today I noticed that although /var is on partition sda8, all ...