John Andersen wrote:
On Sat, Mar 7, 2009 at 10:27 PM, Marc Chamberlin
wrote: Well I didn't get a reply so guess I will submit my query again and hope some knowledgeable Linux/SuSE guru will notice it this time.. ;-) Thanks in advance for any advice and help offered...
Trouble is two fold. during boot up, if the automount process finds one computer that does not exist, it times out and seems to give up on mounting any of the rest of the computers in the list. I would like to get around this without having to endure a long timeout for each failed mount attempt also so that the boot up process can be accomplished in a reasonable amount of time.
Marc: 1st: What Kai said. This is why people invented servers, the ad-hoc network structure just does not work well.
2nd: Assuming you have been forced into this and can't get around it, look at man mount and see if the -F parameter might speed the process. You will still get the wait, but only one wait, as all mounts will be done in parallel.
You might also be able to foist the "hotplug" option with the -o option.
Many thanks John, Kai and Dave for your replies... Kai you probably hit it on the head, a Win's like automount would probably do the trick and yeah I have tried most of the mount options you guys mentioned... What would be really cool is if there was a way to automagically discover all the computers on a network, much like Windoz does, and then I could create a list to work from... Your suggestions however has got me thinking and I think you have put me on a path that might work, at least for Linux/SuSE systems.. (I will worry about Windoz separately....) I am now trying to write a script that will periodically run via a cron job. It will ping and test to see if each computer, on a list of known computers on our network, can be found. Depending on the results, this script will dynamically modify the contents of fstab within a specially comment delineated region. (I DO love sed, grep, vi and emacs macros!! How do Windoz admins survive without such tools?) Upon logout the script will clear this list from the fstab file. So in effect this script will run at boot up, periodically while each computer is active, and on shutdown... Part of the scripts job will also be to update the list of known/valid computers which it can get from a master list on one of the desktops... Hopefully this will also solve the complaint about long delays when someone clicks on the SuSE start menu in the kicker bar. I have discovered, rather empirically, that these delays are caused by the kicker task trying to do a full mount of all the mount points defined in fstab... Kai - to answer your questions, my network consists mostly of laptops that come and go and some desktops. All are dual booted to either Windoz or Linux, users choice. Our DHCP server does know their names and does assign a fixed static internal network address to each one. So that simplifies the problem a lot. Also we have a static file system structure that must be set up on each system so we can work with that. We use software that will allow each user to push files to other computers automatically, when they update a particular file, and not use a pull system, such as what rcs, cvs or svn databases offer.. And yes we manage synchronization issues by allowing user to only update a certain part of the common file structure that they have been given access to... So that is the basis for what I am trying to accomplish. As for network admins... guess who is it? ;-) (I am NOT a Linux guru either, just the best we have so am learning as I go...) Now to figure out where the hooks are to inject my scripts into the boot up and shutdown processes... I think I know - /etc/rc.d looks promising... Marc.. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org