I had the following mount option defined on my system. In the event of any storage outage would these (bg,hard,nointr)
causes to lock the console access?
storage:/vol/myvol on /test type nfs (rw,bg,hard,nointr,rsize=65536,wsize=65536,tcp,nfsvers=3,timeo=600)
What combination of nfs options are consider right practice?
ls
will usestat()
if you give it the-l
,-t
,-u
,-F
, or-C
options. So when you typels -C /
,ls
will do a stat on every file and directory in the/
directory, before printing out anything. When it doesstat("/test")
, if that NFS server is down,ls
will hang until the server comes back up. And because it's mounted withnointr
, Control-C cannot interrupt it. You need to go to another window and usekill -9
to kill it. – Mark Plotnick Jul 29 '14 at 22:56pwd
fail less often.. – Mark Plotnick Sep 02 '20 at 19:20