[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Antwort: Re: [hobbit] Antwort: [hobbit] Monitor CIFS mount on Linux client?
- To: hobbit (at) hswn.dk
- Subject: Antwort: Re: [hobbit] Antwort: [hobbit] Monitor CIFS mount on Linux client?
- From: thorsten.erdmann (at) daimler.com
- Date: Thu, 19 Nov 2009 08:34:33 +0100
- Encrypted: No
> Thanks! Although this script won't work for testing the already-mounted
> CIFS filesystem, I can perhaps use it as an architectural model for such
a
> test on the CIFS FS mount. But I'm now thinking that anything I do to
> check the status will hang, blocked on IO, unkillable, just like the df
> does, so the effort may be pointless. Purple may be the best I can do.
That is the exact reason why I did this script. All access to a mounted
network filesystem (CIFS and NFS) totally blocks if the server is not
responsible and so the test would hang and get purple. I never understand
why Unix have no timeout for such situations.
But if you access the cifs share via the smbclient it will not block but
give an error if the server/share is unreachable. I also have the tested
filesystem already mounted but test it via my smbclient script anyway.
That works fine for me. You even see when the password for the CIFS access
is expired or locked.
Greetings
Thorsten
If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation.