[CentOS] how to unmount an NFS share when the NFS server is unavailable?
Edo
ml2edwin at gmail.com
Wed Jan 26 11:26:15 UTC 2011
Hi,
On Jan 26, 2011, at 5:50 PM, Rudi Ahlers <Rudi at SoftDux.com> wrote:
> On Wed, Jan 26, 2011 at 10:32 AM, Edo <ml2edwin at gmail.com> wrote:
>> Hi,
>>
>> On 1/26/11 5:23 PM, Rudi Ahlers wrote:
>>> Hi All,
>>>
>>> How do I unmount an NFS share when the NFS server is unaivalable?
>>>
>>> I tried "umount /bck" but it "hangs" indefinitely
>>> "umount -f /bck" tells me the mount if busy and I can't unmount it:
>>
>> Try:
>>
>> umount -f -l /bck
>>
>> HTH,
>>
>> --
>>
>
> Thanx, that worked :)
>
> How does one mount an NFS share, to avoid system timeouts when the
> remove NFS server is offline?
>
Mount? Or unmount?
If unmount, then, just create a simple script that will ping the
server and then run the above command if it doesn’t respond.
HTH,
--
- Edwin - mailto:ml2edwin at gmail.com
“The generous soul will itself be made fat, and the one freely watering
[others] will himself also be freely watered.”―Proverbs 11:25
More information about the CentOS
mailing list