0
votes
1answer
53 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
35 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 ...
0
votes
2answers
131 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
279 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
89 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
44 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
22 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
66 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 ...
1
vote
4answers
169 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 ...
0
votes
2answers
192 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
1answer
412 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 ...
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 ...
0
votes
2answers
64 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
1answer
332 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 ...
2
votes
1answer
131 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 ...
4
votes
1answer
596 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
601 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 ...
1
vote
0answers
256 views

Cygwin and /etc/fstab.d/$USER

I'm unable to see mounts defined in /etc/fstab.d/$USER without running a mount --all command. I'd like to see them whenever I open the bash shell. Here's what I'm doing: echo ...
1
vote
2answers
264 views

What's wrong with my mount? I am trying to mount and allow read-write

/etc/fstab /srv/www/test.com /home/user/test.com auto nouser,auto,rw,sync 0 0 I am getting the following error: mount: you must specify the filesystem type. Could someone please give me some ...
1
vote
2answers
612 views

Mount an NFS share as non-root in fstab

A tomcat server that is run as root (i.e. web app using port 80) needs access to an NFS share to store uploaded files, which the root account does not have access to. Unsurprisingly, when the web ...
1
vote
1answer
230 views

Mounting an NFS Volume at Startup

What's the best way to mount an NFS share during boot?
2
votes
2answers
4k views

fstab and cifs mounting, possible to store authentication information outside of fstab?

I am currently using cifs to mount some network shares (that require authentication) in /etc/fstab. It works excellently, but I would like to move the authentication details (username/pass) outside ...
8
votes
2answers
3k 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 ?
3
votes
2answers
2k views

How to enable ACLs by default on all filesystems?

Is there a way in linux to make "acl" part of the default mount options, so that it does not need to be specified individually for each filesystem in fstab?
5
votes
2answers
1k views

Auto mount network share

Hello i am trying to get my slave media center to mount a network drive at startup automatic. I have written this to my /etc/fstab/ \\192.168.1.2\root /media/data cifs ...
2
votes
1answer
1k views

Write to windows share mounted in Ubuntu

I used to mount a windows share in Ubuntu server, with an entry in fstab: //data/SharedFolder /media/SharedFolder/ smbfs user,defaults,credentials=/root/.creds,uid=root,gid=root 0 0 /root/.creds is ...
3
votes
3answers
2k views

Tell ubuntu to ignore dead hard drive during booting?

How can I tell Ubuntu to ignore my dead hard drive during booting? I know my secondary hard drive is bad, but I cannot take it out. Every Reboot takes forever because Ubuntu tries to read from it for ...
12
votes
4answers
6k views

ln -s vs mount --bind

Is there any practical difference between using ln -s or mount --bind? I want to move some folders to another partition, without changing their daemon setting, and wonder what approach I should take. ...
3
votes
4answers
3k views

Mounting a share with spaces in FreeBSD fstab

I'm trying to mount a smb network share in fstab on FreeBSD, which works fine for a share without spaces, but fails if a space is in the name. I have replaced the space with \040 which is what ...
10
votes
6answers
25k 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 ...