2 ms·
I would guess the poster is just lamenting the lack of a straightforward solution. Assume you're doing a mkdir() on an nfs mounted volume. It could hang, for
by tyingq 10y ago
I would guess the poster is just lamenting the lack of a straightforward solution.
Assume you're doing a mkdir() on an nfs mounted volume. It could hang, for quite some time. You would like to set a timeout and error out. There are no terrific solutions. There are workarounds, yes...but largely inelegant.
- loeg 10y agoThere's nothing elegant about unreliable NFS in general. :-)
- bonzini 10y agoIf you set a timeout on NFS operations, you could get an error and yet the mkdir could have succeeded---it could be the response that was delayed. This is really hard to handle, and that's the reason why NFS 's "soft" mount option is considered unsafe.