APM: checking stale nfs mounts with PERL
Wayne Walker
wwalker at bybent.com
Tue Oct 29 10:22:42 CST 2002
On Tue, Oct 29, 2002 at 07:08:53AM -0800, Martie Knauss wrote:
> I'm modifying a script that copies files to a mounted
> file system. For some reason, the file system mount
> point goes stale and prevents the script from
> successfully copying the file out. I've added some
> error checking in the code to make sure the file
> system is there and write-able but I'd like to just
> re-mount the file system if it's gone stale and go
> ahead and copy the file out. Any suggestions?
Just always run:
mount -o remount /mnt/foo
Can't remember if that will really work for stale NFSs or not. Don't
have any NFS where I am right now.
>
> __________________________________________________
> Do you Yahoo!?
> HotJobs - Search new jobs daily now
> http://hotjobs.yahoo.com/
> _______________________________________________
> Austin mailing list
> Austin at mail.pm.org
> http://mail.pm.org/mailman/listinfo/austin
--
Wayne Walker
www.broadq.com :) Bringing digital video and audio to the living room
And the "Wizard of Bill" says "Please ignore the crash behind the Windows."
More information about the Austin
mailing list