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.

On Feb, 21 2008 04:55 CET, Mary Paulraj wrote:
How do I get rid of the two superfluous entries in /srv
Gandi uses some udev tricks for mounting those extra disks and that's
why the disks aren't visible in /etc/fstab by default. Probably you
still have the udev script active and that's the reason why you are
getting additional entries. However, I don't know why you're getting the
same entry twice.

That udev script can be disabled from /etc/rc.local (at least in Debian
and Ubuntu). Comment the line starting with 'udevtrigger'. Then edit the
following 'grep' line a little. By default it's searching for 'srv' from
/proc/mounts. Change that 'srv' to 'xvdb'. If you don't keep that grep
line then you won't see the disk with 'df' but it should still work.