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

learn more… | top users | synonyms

28
votes
3answers
22k 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 ?
41
votes
3answers
39k 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?
19
votes
6answers
59k 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 ...
12
votes
3answers
25k 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 ...
3
votes
2answers
2k 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 ...
6
votes
5answers
4k 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 //192.168.1....
3
votes
3answers
3k 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 ...
3
votes
2answers
6k 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 ...
3
votes
3answers
3k 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
2answers
3k 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 username=doomstone,password=...
5
votes
0answers
1k 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 ...
3
votes
3answers
11k views

How to repair the fstab file with current configuration

I'm using Ubuntu 10.04 and i accidently removed all the entries from the fstab files while doing a backup (Yeah, I know ;)). I would like to know if there is a way to rebuild it with the current ...
0
votes
1answer
481 views

How to mount a drive with read only permission

I am using this is fstab to mount the partition at backup. /dev/sda5 /media/virtual ntfs defaults 0 0 When i reboot the permissions are automatically set to 777. I want that only one user i.e ...
-1
votes
2answers
197 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 ...