GeekInterview.com
Series: Subject: Topic:
Question: 113 of 183

What is difference between Hard and Soft mount?

Asked by: Interview Candidate | Asked on: Jul 9th, 2006
Showing Answers 1 - 5 of 5 Answers
Jayakrishnan G Naik

Answered On : Aug 25th, 2006

Hard mount  in unix in the normal filesystem mount mainly used to mount local filesystems. The filesystem will be in the mounted state until you unmount it manually.

Soft mount is an option that is very useful for mounting network filesystems say nfs filesystem so that soft mount will allow automatic unmount if the filesystem is idle for a specified time period

Eg. can be used with autofs

  
Login to rate this answer.

Hardmount in Unix is is the same as the normal filesystem mount used mainly for mounting local filesysytems.Once a filesystem is hard mounted you should use umount command to unmount it.It remains mounted till you umount itSoft mount on the other hand allows automatic unmounting if the filesystem is idle for a specified timeout period. It is mainly used for network filesystems like NFS It can be configured using Autofs and the network filesystem can be soft mounted.

Yes  1 User has rated as useful.
  
Login to rate this answer.
goyalratan

Answered On : Sep 16th, 2006

View all answers by goyalratan

in file system mounted with hard mount  option its try to mount the filesystem forever in soft mount option its try to mount filesystem few time and then give error  

  
Login to rate this answer.
msrao

Answered On : Oct 2nd, 2007

If a remote file system is hard mounted on a server, in some case the server is down,
While boot the server checks the hard mount of the remote file sytem the boot, if remote systm also down, at the particular junction server can not boot. To over this kind of problems soft mount of remote file systems developed.

  
Login to rate this answer.
Petratch

Answered On : Aug 24th, 2011

NFS supports two types of mounts -- hard mounts and soft mounts. If a mount is a hard mount, an NFS request affecting any part of the mounted resource is issued repeatedly until the request is satisfied (for example, the server crashes and comes back up at a later time). When a mount is a soft mount, an NFS request returns an error if it cannot be satisfied (for example, the server is down), then quits.

site:

http://uw714doc.sco.com/en/NET_nfs/nfsT.mount_cmd.html

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.