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

learn more… | top users | synonyms

0
votes
1answer
57 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
0answers
12 views

When in Linux boot process are filesystems mounted from /etc/fstab? [migrated]

Question: When in Ubuntu Linux boot process are filesystems (from /etc/fstab) mounted? Rational: I defined the following shared-folders on my Ubuntu VirtualBox VM. openstack@ubuntu:~$ grep ...
0
votes
1answer
61 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
20 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
24 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
32 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
0answers
19 views

s3fs not fully auto-mounting on boot

I'm using s3fs 1.78 on Ubuntu 14.10. I have a particular read/write mount on S3 that I've set up to auto-mount at boot. In /etc/fstab, it looks like: s3fs#MY_BUCKET /mnt/MY_BUCKET fuse ...
0
votes
0answers
20 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
0answers
33 views

NFS: can't unmount when server goes down. Must “fake” fsid on server1, NO SOLUTION WORKS ON SERVERFAULT

I have dir1 and dir2 NFS mounted to server2 from server1. If server1 suddenly dies or must be rebooted, AND dir1 and dir2 were not first unmounted on server2, then a remount of dir2 always fails ...
0
votes
0answers
22 views

Mounting network drive after network is ready

I'm trying to mount a samba network share to a local directory on startup. The following line in /etc/fstab works fine when I run mount -a: //share/folder /media/folder cifs ...
0
votes
2answers
52 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: ...
0
votes
1answer
50 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
0answers
110 views

Linux FSTAB error mounting corrupted SD card

i've problem. I've a linux embedded system with an Sd Card that i mount at startup using fstab. This is a commercial produt of my company, so i can't know in advance if i've a bad sd card. # ...
0
votes
1answer
24 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
56 views

Fedora: Mount davfs as user under home directory

Is it possible to mount a user's remote files, via davfs2, within the user's home directory? I've found, as a test case, that I can accomplish this if I have an individual line in fstab per user ...
0
votes
0answers
56 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 ...
3
votes
1answer
143 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 ...
1
vote
1answer
74 views

debian unable to automount partition at boot

I have a single usb drive connected to my server, and I am unable to get it to automount at boot time. If I manually execute mount -a it mounts correctly. my fstab is as follows: proc ...
0
votes
0answers
37 views

Ordering mount --bind and OpenVZ start on boot

I am using mount --bind to share some directories/files between containers. My issue is that on root server boot, the containers are started, but these mounts are not yet mounted. Some of the services ...
-1
votes
1answer
27 views

What if mounting point conflicts with local directory?

This might help me hunt down some system configuration bug. Suppose I make a local directory (e.g., "/foo") in one disk partition, and copy some files to it. But later on I forget about it, and ...
0
votes
1answer
111 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 ...
1
vote
1answer
135 views

Cannot remove mount option “discard” on an ext4 file system

I try to turn off "discard" on an ext4 file system but I cannot succeed. I tried to add "nodiscard" option in /etc/fstab but I can still see this # tune2fs -l /dev/md2|grep disca Default mount ...
-1
votes
1answer
174 views

Unable to mount cifs in redhat 6

I am relatively new to Linux, and I am trying to mount a CIFS filesystem from an openfiler instance I have on my network in Red Hat. The openfiler instance is authenticating using AD. I am able to ...
3
votes
1answer
45 views

Why would a bind mount unmount unexpectedly?

I have configured some bind mounts on all users's home directories to access a shared directory (or parts of it) that is somewhere else in the file system, so I have entries like these on my fstab ...
12
votes
3answers
10k views

How do I do 'mount --bind' in /etc/fstab?

I'm trying to figure out how to add "mount --bind /proc/ /chroot/mysql/proc" to /etc/fstab, but how can I to do this?
1
vote
1answer
1k views

External drive switching from /dev/sda to /dev/sdb

We have a small box with external drives attached for backing up configuration sets. I found out the problem is simply that on reboot or whatever unknown event the drive switches from /dev/sda1 to ...
0
votes
0answers
119 views

partition turned read only after mysql crash

I am not able to write on a particular partition. The mysql data directory is hosted on that partition and it suddenly became read-only when mysql crashed on a query. [root@ESERVER new_dir]# > ...
3
votes
1answer
125 views

using /bin/bash in a chroot environment - symlink or mount

A user connects via ssh. The user is also chroot-ed to their home directory. The goal is security. Since the user is chroot-ed, when they login /bin/bash is not found. Obviously the user needs ...
0
votes
4answers
337 views

How do I change multiple linux servers' /etc/fstab simultaneously

We have plenty of linux server that will mount a few linux file server by NFS or SMB using /etc/fstab But manually changing each server's /etc/fstab is very tedious. Is there any way to edit ...
2
votes
1answer
2k views

CIFS mount in fstab succeeds on IP, fails on hostname written in /etc/hosts

I wonder why my Ubuntu Server 14.04 LTS has problems resolving a hostname from fstab. I tried to mount the following entry: //NAS-5h2-20/backuppc/ /mnt/backuppc cifs ...
0
votes
0answers
123 views

Mounting two CIFS shares using a VIP

I have two CIFS shares on two different storage servers. I've created a VIP on an F5 node which sends all traffic to it's IP to a pool containing the two storage servers. It sends to one server and in ...
3
votes
0answers
593 views

CIFS mounts hang on read

I have a problem with a bunch of CIFS mounts that look like this: //192.168.10.2/remote-share /home/windows-shared/remote-share cifs defaults,user=xxx,password=xxx,uid=603,gid=603 0 0 This ...
2
votes
2answers
199 views

Does /etc/fstab need to be world readable?

I would like to put network share mounts in /etc/fstab, but by default that file is world-readable which allows everyone to read the credentials I put into the mount options. Is it safe to make ...
1
vote
1answer
36 views

Editing fstab for a new drive that will contain subdirectories on other disks

Currently the disks on my box look like this: Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 30G 28G 174M 100% / ...
-3
votes
1answer
925 views

NFS over wifi very slow

I have a NFS server hooked up to a client over a wireless network (n-router, b/g-client). I have terribly slow transfer rates of around 1.00 to 1.50 MB/s. I cannot seem to figure out how to improve ...
0
votes
0answers
306 views

cifs mount not working using fstab on RHEL6

I had a line in my fstab file that until this morning allowed me to read and write to a windows share (dummy IP address is shown below) //111.111.1.111/ecc /mnt/nas2 cifs ...
0
votes
2answers
669 views

Mounting with fstab - error 13 (access denied)

I have one server that is mounting with fstab using a credentials file. The credentials file (.Smbcredentials) code is : username=my_windows_login password=my_password domain=my_domain My code in ...
7
votes
1answer
949 views

How to reference an NFS share by UUID in the client's /etc/fstab

I have the following NFS export on my server, with fsid set to a newly generated UUID. /etc/exports: /mnt/data client(ro,fsid=b07f5af6-6b10-11e3-b4c1-00248115724d) I would then run exportfs -rav ...
-1
votes
2answers
135 views

Is a bad NFS mount preventing a clean boot?

I'm on Ubuntu server (I think it's 12.04, but not positive) and I basically ran into this problem here Unmount a nfs mount where the nfs server has disappeared The umount command didn't work, so I ...
-1
votes
1answer
58 views

Should I use mount or autofs?

I have NFS shares on a file server that I would like to mount on a web server. For example, a music streamer web application (subsonic) would be hosted on the web server and stream music files ...
2
votes
1answer
6k views

Explanation of nodev and nosuid in fstab

I see those two options constantly suggested on the web when someone describes how to mount a tmpfs or ramfs. Often also with noexec but I'm specifically interested in nodev and nosuid. I basically ...
1
vote
2answers
121 views

Is there any way to retrieve the settings ran from fstab that were used at boot?

I suck at life and accidentally overwrote my fstab before making a backup by trying to chmod 777 /etc/fstab so I could edit and resave it via a text editor. So my question is, since most of ...
1
vote
1answer
119 views

Why /dev/disk/by-id/ change after a suddenly server power-off?

I'm management a server that in /etc/fstab have references to some partitions using /dev/disk/by-id/DISK_ID-partN. The server suddenly power-off and DISK_ID part of /dev/disk/by-id/DISK_ID-partN ...
7
votes
3answers
10k 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 ...
1
vote
1answer
230 views

How can I mount a subdirectory from a hard drive to a separate directory

I have this line in fstab /dev/sda1 /Tera ntfs-3g uid=www-data,gid=www-data,umask=007 0 0 because /Tera/OC has to have permissions 770 but since the drive is NTFS, I can't set it explicitly. Is ...
3
votes
1answer
694 views

GFS2 over DRBD automount

I have 2 nodes Proxmox cluster. For KVM images I use DRBD device with GFS2 on it. Everything works fine except GFS2 automounting after server restart. I put in fstab: /dev/drbd0 /cluster/drbd0 gfs2 ...
1
vote
3answers
1k views

How to mount ceph-fuse automatically with fstab?

# ceph -v ceph version 0.56.3 (6eb7e15a4783b122e9b0c85ea9ba064145958aa5) # repoquery -i ceph Name : ceph Version : 0.56.3 Release : 1.el6 Architecture: x86_64 Size : 26734691 ...
0
votes
0answers
322 views

Ubuntu 12.04, after reboot, ping but don't have any service up ( ssh / apache )

I need a little help, I just reboot a ubuntu server 12.04 without any special modification, it doesn't start anymore, I have a ping return but connection refused on SSH and apache is not started Here ...
2
votes
0answers
270 views

Mounting main partition read-only and temporary folders as tmpfs

I have a small embedded board PC which uses flash card to boot and I'm running Ubuntu server 12.04. But since flash cards have limited lifetime I would like to mount it as read only and have only some ...
0
votes
2answers
1k 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 ...