[CentOS] how to unmount an NFS share when the NFS server is unavailable?

Wed Jan 26 13:48:23 UTC 2011
Les Mikesell <lesmikesell at gmail.com>

On 1/26/11 5:35 AM, Rudi Ahlers wrote:
> On Wed, Jan 26, 2011 at 12:41 PM, Lorenzo Quatrini
> <lorenzo.quatrini at gmail.com>  wrote:
>> Rudi Ahlers ha scritto:
>>> On Wed, Jan 26, 2011 at 10:32 AM, Edo<ml2edwin at gmail.com>  wrote:
>>>
>>> How does one mount an NFS share, to avoid system timeouts when the
>>> remove NFS server is offline?
>>>
>> I would use a different approach: use autofs, then the share is mounted "on the
>> fly" only when needed, and unmounted after a while of not using it anymore.
>> Is this fine with your environment?
>>
>
>
> That won't really work. The NFS clients run cPanel and we need a way
> for end-users to have full access to their backups all the time. We
> used to run backup over FTP, but then when a client wanted to restore
> data one of the techs first had to download it from the backup server
> and then let the client restore it. So I'm trying to cut down on
> unnecessary support tasks.

I don't see why the automounter wouldn't work for this, but you can mount with 
the soft,bg options to keep from hanging.

-- 
   Les Mikesell
    lesmikesell at gmail.com