View previous topic :: View next topic |
Author |
Message |
abaddon83 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/102238270240a0a024321ae.gif)
Joined: 17 Jan 2004 Posts: 494
|
Posted: Mon Dec 13, 2004 6:28 pm Post subject: [bash] mount nfs |
|
|
Ciao a tutti sto creando uno script per monatare e smontare ogni tot tempo delle partizioni nfs remote. il problema sta nel mount, se infatti l'host è down sta in attesa ore... sapete dirmi come settare il timeout del mount? leggendo il man non ci sono riuscito
grazie _________________ Abaddon's House
Jabber account: abaddon@jabber.linux.it
Last edited by abaddon83 on Wed Dec 15, 2004 5:20 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
randomaze Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/191195238462262e08ea92.jpg)
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Mon Dec 13, 2004 8:10 pm Post subject: Re: [bash] mount nfs |
|
|
abaddon83 wrote: | leggendo il man non ci sono riuscito |
man mount wrote: | Mount options for nfs
...
soft This option allows the kernel to time out if the nfs server is not responding for some time. The time can be specified with timeo=time. This option might be useful if your nfs server sometimes doesn't respond or will be rebooted while some process tries to get a file from the server. Usually it just causes lots of trouble. |
Qual'é il problema? _________________ Ciao da me! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
abaddon83 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/102238270240a0a024321ae.gif)
Joined: 17 Jan 2004 Posts: 494
|
Posted: Mon Dec 13, 2004 10:57 pm Post subject: |
|
|
c'è che "per far prima" mi ero letto il man in italiano su pluto... e dice un'altra cosa..
Quote: |
soft
Se un operazione NFS su un file ha un timeout principale allora si restituisce un errore di I/O al programma chiamante. Il default è di continuare a riprovare le operazioni su file NFS indefinitivamente.
|
-_-'
grazie mille _________________ Abaddon's House
Jabber account: abaddon@jabber.linux.it |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
abaddon83 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/102238270240a0a024321ae.gif)
Joined: 17 Jan 2004 Posts: 494
|
Posted: Wed Dec 15, 2004 5:20 pm Post subject: |
|
|
mount -t nfs -o soft -o timeo=1 192.168.1.253:/home/ftp /mnt/192.168.1.253
ho riprovato ma resta in attesa ancora una cifra... _________________ Abaddon's House
Jabber account: abaddon@jabber.linux.it |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|