Re: hang problem when umount a nfs point

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2012/11/7 Martín Cigorraga <msx@xxxxxxxxxxxx>:
> On Mon, Nov 5, 2012 at 10:27 PM, Jack Wang <jack.wang.usish@xxxxxxxxx>
> wrote:
>>
>> Hi all,
>>
>> Anyone who can kindly give some suggestion? or we just put question to
>> the wrong list?
>>
>> Thanks.
>>
>> Jack
>>
>> 2012/11/1 dahai_tian <dahai_tian@xxxxxxxxx>:
>> > Hi all:
>> >         I mount a local directory to a nfs server. When nfs server is
>> > stopped
>> > for some accidental cause, I try to umount the mount point, the umount
>> > command will hang and 'time out' messages are continually printed in the
>> > terminal. How can I avoid hanging in this case? BTW, This issue does not
>> > exist when I changed nfs version from 4 to 3.
>> >         Look forward to your response, thanks!

>
> Hi Jack, use the -l (lazy) switch:
> # umount -l {your mounted nfs share}
>
> Also, I wouldn't recommend 'just to kill' the NFS proces(ses) as it (them)
> may leave shared memory a mess.
> (And I would like to see how do you make to mount any NFS share again
> without booting)

Thanks Martin for kindly help.

umount -l did work, but why nfsv3 do not have this problem?

Jack
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux