| PLEX86 | ||
|
SAMBA automatic remountingOn Fri, 31 Mar 2006 11:13:05 -0500, John-Paul Stewart staggered into the Black Sun and said: ReExporting NFS mounts under RHEL ES 3 I have a scenario where I have three linux hosts. Host A is on a production network. Host B has two... No idea, though there's got to be something you can do. Periodic pinging of the machine will let you know if it's on the LAN or not. Periodic attempts to stat a file shared via SMB will let you know if SMB is up. FWIW, the behavior Ignoramus wanted wrt SMB may be automatic. On an older Linux machine here, I have an fstab line like so: -prod2-d mnt-prod2 smbfs auto,user=prod1,pbuttword=SECRET, workgroup=workgroup,uid=1000,gid=100 0 0 ...PROD2 is running an up-to-date 'Doze2K. Cutting off sharing on PROD2-D made all attempts to accessmnt-prod2 from the Linux machine fail (of course). Turning sharing back on made things work OK on the Linux machine, and I didn't have to remount anything. I don't have time to reboot prod2 right now though. It's highly likely that the Samba developers allowed for the possibility that Windows machines would have to be rebooted occasionally, and made recovery from that as transparent as possible. ICBW. -- Matt GThere is no Darkness in Eternity-But only Light too dim for us to see Brainbench MVP for Linux Admin mail: TRAP + SPAN don't belong ----------------------------- penguins, is Tux." --MegaHAL
|
||||
ReExporting NFS mounts under RHEL ES 3 Linux groups from Newsgroups The #1 Usenet Provider on the Internet
|
||||