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

learn more… | top users | synonyms

0
votes
0answers
19 views

unreliable upstart service doesn't always start

I have a python script that I want to run as a service so I have created a setup using upstart to run the script on startup. These are the steps that need to happen for the script to run correctly ...
1
vote
0answers
37 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 ...
0
votes
2answers
72 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
10 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
67 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
46 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
67 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 ...
6
votes
1answer
159 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 ...
0
votes
1answer
60 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
43 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 ...
0
votes
0answers
52 views

Read only fstab that can be mounted as writeable in order to make persistent changes?

I have been using nanobsd on some embedded devices. It is a read only system that is mostly run in ram. It can be mounted as writeable to make persistent changes. and then written to. It is then ...
1
vote
1answer
113 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
59 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 ...
0
votes
0answers
18 views

How to specify automount when usb or mobile disk pluged in, not on boot

from the man page of fstab auto - file system will mount automatically at boot, or when the command 'mount -a' is issued. noauto - the filesystem is mounted only when you tell it to. However, what ...
1
vote
1answer
53 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 ...
0
votes
3answers
2k 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
87 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 ...
2
votes
1answer
375 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
513 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
24 views

How do clients “recognize” network servers for automount purposes?

Say I have two media servers on a single subnet. They have the same name, hardware, setup.. etc. Except for any UUIDs/MACs, they are the identical. How does my client tell them apart, especially ...
0
votes
0answers
169 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
120 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
142 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 ...
2
votes
1answer
250 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
4answers
166 views

How to move the MySQL datadir with minimal downtime?

Let's say I have partition sda2 mounted on /var and it's almost full. I have a second disk sdb whose partition sdb1 I want to mount as /var. Now since a running service (mysql) is using /var all the ...
1
vote
1answer
203 views

ec2 instance cant mount glusterfs server

My EC2 instance tries to mount glusterfs volume whic located on another EC2 instance . client instance's /etc/fstab file contains: glusterserver1:/export/brick1 /mnt/glusterfs glusterfs defaults 0 ...
0
votes
2answers
733 views

EC2 instance ssh connection not working

I tried to connect to my EC2 Ubuntu LTS instance but I failed. The error message I got like below: ssh: connect to host ec2-79-125-83-13.eu-west-1.compute.amazonaws.com port 22: Connection ...
0
votes
0answers
275 views

S3FS FSTAB auto mount on boot Centos 6.3

I've successfully installed s3fs on my Centos 6.3 Ec2 instance. I believe i've got the fuse module to load successfully on boot (it appears in my Ec2 log and further more if I try mount the bucket as ...
0
votes
1answer
85 views

Network filesystem won't mount at boot

We are running a lab network with a centralized file server. I recently installed Linux Mint on a new client computer and set up LDAP for user management and network folders through the fstab. When ...
2
votes
2answers
87 views

fstab filesystem editing

UUID=f5be9b96-da41-49fd-a8e2-dbbf37f5cd7d / ext4 defaults,usrquota 1 1 UUID=31a1c8d1-18ee-4c97-a0b9-b92599247112 /boot ext4 defaults 1 2 ...
2
votes
3answers
417 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 ...
0
votes
2answers
176 views

how to mount additional space to existing partition?

This is the original output of fdisk -l: Disk /dev/sda: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot ...
1
vote
0answers
47 views

Dedicated TMP and AMAVIS

I perfectly configured my server and now I made 2 stupid mistakes, I updated perl along with it's dependencies and I made a dedicated TMP dir and included it in fstab to prevent code execution with a ...
2
votes
1answer
288 views

Is this the right way to add 3 additional hard disk to /etc/fstab?

I got 4 hard disk. I simply create a single partition in all of them. I format them all with ext 3. And then I rewrite fstab All right, I'll just add a few line to fstab # # /etc/fstab # Created by ...
2
votes
1answer
86 views

URGENT: help recovering lost data

I have made a directory: sudo mkdir /ssd, the directory was supposed to be mounted to a raid array called md3. This was done by adding /dev/md3 /ssd auto defaults 0 0 to fstab. Then after a while ...
1
vote
1answer
345 views

Compiling passenger-install-nginx-module; “C compiler gcc is not found”

I am in the middle of a process of installing Redmine served with passenger and nginx with this tutorial. With the passenger-install-nginx-module, it works fine and during compiling it outputs an ...
0
votes
1answer
159 views

Mounting device in fstab using labels

I'm trying to mount a device using a label in my fstab but it never actually mounts on boot. # LABEL=/ / ext4 defaults,noatime 1 1 tmpfs /dev/shm tmpfs defaults ...
4
votes
2answers
524 views

Converting Debian fstab to use UUIDs via linux-base?

We have a few Debian 5 systems that are still using /dev/hda in the fstab. We'd like to covert them to using UUIDs. This is supposed to be done automatically via the "linux-base" package (postinst), ...
5
votes
3answers
2k views

How to mount /tmp in /mnt on EC2?

I was wondering what is the best way to mount the /tmp endpoint in the ephemeral storage /mnt on an EC2 instance and give the ubuntu user default write permissions. Some suggest editing /etc/rc.local ...
2
votes
1answer
596 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 ...
2
votes
3answers
1k views

Mount /etc/fstab at startup

I already added the remote directories I want mounted at startup in /etc/fstab, but when I reboot, they don't get mounted. If I run mount -a it all works, but it appears that mount -a doesn't get ...
5
votes
5answers
2k views

Auto mounting samba windows share in Fedora Core 15

I have a server that runs centos 6.2 with a samba share. What i am trying to achieve is to have the samba share automatically mounted on my PC running Fedora 15. In /etc/fstab I have ...
0
votes
2answers
61 views

Mount a volume within a mounted volume

I am setting up a new Linux Ubuntu server on Amazon EC2 and wanted to create a few extra volumes, to be mounted without execute permissions. /tmp for temporary files /var so that log files and mysql ...
0
votes
3answers
1k views

How to disable barriers?

It seems impossible to disable barriers. I have tried loading the kernel with "mount -o barrier=off", "mount -o barrier=0", "barrier=off" and "barrier=0". The kernel is Atomic Secure Linux 2.6.32 with ...
0
votes
1answer
296 views

tmpfs changes size on restart

I have a tmpfs mount defined in my /etc/fstab with a size of 1024m, but when I restart the server it sizes itself to 5.9G. If I run mount -o remount /dev/shm, the size will correct itself to 1G. But ...
0
votes
1answer
171 views

Read-only filesystem after adding userquota,groupquota to fstab

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 ...
2
votes
1answer
121 views

Find out the type of an automounted device

I'm working on a system (Ubuntu Precise) with a mount defined in /etc/fstab as follows: /dev/vdb /mnt auto defaults,nobootwait,comment=cloudconfig 0 2 Originally I just wanted to ...
1
vote
1answer
553 views

NFS4 (TCP) over openvpn (UDP) - mount can be browsed, but D/L kills it

Setup works (client can browse nfs over openvpn and do some work and file transfers), but something is wrong because the NFS/OpenVPN mount will fail/freeze mid-transfer and (among other things) ...
4
votes
1answer
564 views

Centos - fstab - mount keeps changing

I've had this linux machine running for a few years now, no problems etc. Very happy. Last night I did some updates and when I booted up this morning my dual screens were screwy so I updated the ...
4
votes
1answer
540 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 ...