Gandi.net Groups

Hosting expert mode: Re: Disk NOT mounted

In topic: Disk NOT mounted

You should be logged in to post new messages. Create an account.

Hi David,

I did exactly what you said and it is working now.

However,


mic2574661@alpha:~$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/xvda1            2.4G  707M  1.6G  31% /
tmpfs                 385M     0  385M   0% /lib/init/rw
udev                   10M   24K   10M   1% /dev
tmpfs                 385M  4.0K  385M   1% /dev/shm
/dev/xvdb              15G  166M   14G   2% /srv/d_alpha
/dev/xvdb              15G  166M   14G   2% /data
/dev/xvdb              15G  166M   14G   2% /srv/d_alpha

How do I get rid of the two superfluous entries in /srv

Thanks
Mary.

On Feb, 20 2008 22:29 CET, David Barnwell wrote:
I had a similar problem in January. I went to this page:
https://www.gandi.net/admin/hosting/disk/4...
and created the disk, and then attached it to my server.

This process created a new device /dev/xvdb and mounted it at
/srv/data1
by some magic (I thought that only I had root access!). 

The mount appeared in /etc/mtab, but not in /etc/fstab. I feared that
without an entry in fstab, it would be unlikely to survive a reboot. I
also wanted to change the mount point, so I mounted it instead at
/data,
and added this line to fstab:
/dev/xvdb /data ext3 rw,noatime 0 0