Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[bash] mount nfs
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
abaddon83
Guru
Guru


Joined: 17 Jan 2004
Posts: 494

PostPosted: Mon Dec 13, 2004 6:28 pm    Post subject: [bash] mount nfs Reply with quote

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
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Mon Dec 13, 2004 8:10 pm    Post subject: Re: [bash] mount nfs Reply with quote

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
View user's profile Send private message
abaddon83
Guru
Guru


Joined: 17 Jan 2004
Posts: 494

PostPosted: Mon Dec 13, 2004 10:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
abaddon83
Guru
Guru


Joined: 17 Jan 2004
Posts: 494

PostPosted: Wed Dec 15, 2004 5:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum