[Fedora-xen] Mount smb shares on domUs

Asrai khn asraikhn at gmail.com
Thu Mar 8 16:58:37 UTC 2007


Hi,

Few days back I have asked, how to boots domU in specific order so that a
domU which providing smb (samba) shares to other domu boots before any
other, I tried the approach of putting 'xm create xxx.cfg' in rc.local (not
using xendomines script) and I have put 'sleep 15' so that first one got
some extra time.

But apparently still few domUs sometime 1 or 2 boots before smb providing
domU and unable to mount the share. Actaully samba domU have to start more
services then other domU and this takes more time and i can't reduce these
services on boot coz they are needed.

I am wondering is there anything could be done at domUs side which are
mounting these smb shares so that they tries again if they can't find the
master from where they are mounting the shares.

may be something like ..

while (mount_samba()==unsuccessful) { sleep(5) }

But I am not sure where to stick it :)

Here is the line from /etc/fstab we are using to mount smb share..

//Master-H/samba/domU-b /var/mounthere       cifs
username=xxxx-b,password=xxxxxxx 0 0

Any suggestion will be greatly appreciated.

Thanks. Askar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20070308/65b87fea/attachment.htm>


More information about the Fedora-xen mailing list