1
vote
1answer
662 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 ...
-1
votes
2answers
103 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 ...
0
votes
0answers
294 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 ...
1
vote
2answers
1k 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 ...
5
votes
3answers
3k 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
964 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 ...
0
votes
2answers
65 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 ...
2
votes
1answer
145 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
674 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 ...
0
votes
1answer
339 views

Ubuntu, error 'cound't resolve host' when from curlftpfs fstab

I have problem with curlftpfs. When i mount it manualy everything works, but when I try to autmount via /etc/fstab, after reboot system stops on error 'Couldn't resolve host [my host name]. Line I ...
3
votes
3answers
6k 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
2k views

How to disable automatic and forced fsck on disks in a linux software raid?

This is the /etc/fstab entry of a raid system /dev/md4 that is controlled with mdadm and webmin on an ubuntu 10.04 64 server: /dev/md4 /mnt/md4 ext3 ...
5
votes
2answers
2k 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 ...
1
vote
3answers
610 views

Need Help with fixing permissions in mounted Drive

I am trying a lot still my problem is not solved. I have a partion called Server and inside it i have 5 folders like Folder 1 FOlder 2 Folder 3 I am mounting the drive on startup by using ...
0
votes
2answers
597 views

How to add Group in mounting drive in fstab

I am using this to mount drive at startup /dev/sda5 /media/virtual ntfs defaults,umask=700,uid=1 0 0 This is working fine but i need things 1)By this method all the folders inside the virtual ...
0
votes
1answer
338 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 ...
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 ...
0
votes
2answers
2k views

Mount a samba share as root using smbfs in fstab

I'm trying to mount a samba share using smbfs as root (on ubuntu-server), but every time I mount it it's mounted as root:dialout Here is the fstab entry (line breaks added for presentation) ...
0
votes
1answer
888 views

CIFS volume not mounting automatically

My CIFS volume is not mounting automatically while boot (like other partitions). This is relevant part of my /etc/fstab: //leonidas/files /media/photos cifs ...
0
votes
1answer
549 views

Replacing a static mount with AutoFS

My /etc/fstab looks something like this: files:/var/files/emails /var/www/emails nfs rw 0 0 files:/var/files/images /var/www/images nfs rw 0 0 My /etc/auto.master looks like this: /net ...