Mount smb shares on domUs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux