[SSI-devel] Re: Error with mount and fstab?
Brought to you by:
brucewalker,
rogertsang
From: Andreas <ro...@co...> - 2004-05-27 11:36:05
|
Hello Andreas wrote: > Hello. > > I think I have found a bug with the use of fstab: > > > /dev/1/hda7 /cluster/node1/boot ext3 defaults,node=1 0 0 > /dev/2/hda7 /cluster/node2/boot ext3 defaults,node=2 0 0 > > Node 1 is the initnode. I have a symbolic link > > /boot --> /cluster/node{nodenum}/boot > > > After node 1 comes up the lokal hda7 is mounted correctly. After I boot > node 2 it says: > > mount: /dev/2/hda7 already mounted on /cluster/node2/boot The problem with the already mounted is that the UUIDs of the lokal partitions are the same. > > but it isn't. If I call > > mount /cluster/node2/boot > > > on node 2 it works. After that I called But why does it work, if I mount it later? Andreas > > umount /boot > > > and it works, too! The directory /boot points to is empty now. But df > shows still, that /dev/2/hda7 ist mounted to /cluster/node2/boot. > > umount /cluster/node2/boot > > says > > umount: /dev/2/hda7 ist nicht eingehängt // is not mounted > umount: /dev/2/hda7 ist nicht eingehängt // is not mounted > > After that df tells the same, that it is not mounted any longer. I do > not know if that should work, but > > mount /boot > > does not. Mount does not follow the link. But if that is so shouldn't > umount behave the same? And if it umounts the directory the link points > to I think it should remove the entry in mtab, too. > > Andreas > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click |