what is soft mount and hard mount? i have to make permanent
nfs mount permanent what shall i do?

Answers were Sorted based on User's Feedback



what is soft mount and hard mount? i have to make permanent nfs mount permanent what shall i do?..

Answer / ajit mohan b

This is a UNIX terminology as to what the client does when
it can't talk to an NFS Server. If you just mount a file
system without specifying hard or soft, the default is a
hard mount. Hard mounts are preferable because of the
stateless nature of NFS. If a client sends an I/O request to
the server (such as an ls -la), and the server gets
rebooted, the client will wait until the server comes back
on line. This preserves data transfers in the event of a
server failure. There are disadvantages to this, as a simple
mount request could hang. A soft link will return with an
error and fail. This kills the wait time, but can cause
problems with data transfers.

To make permanent nfs mount, the above answer is right

Is This Answer Correct ?    41 Yes 3 No

what is soft mount and hard mount? i have to make permanent nfs mount permanent what shall i do?..

Answer / amit kumar ghosh

soft mount is to mount for limited time or temporary,
whereas hard mount is mount permanently.

To make nfs permanent mount go to /etc/fstab & put the entry
& run a cmd to make it mount permanent #mount -a.

Is This Answer Correct ?    18 Yes 3 No

what is soft mount and hard mount? i have to make permanent nfs mount permanent what shall i do?..

Answer / susheel

Soft mount:-

[root@susheel ~]# showmount -e 192.168.0.105
Export list for 192.168.0.105:
/nfs *

[root@susheel ~]# mount 192.168.0.105:/nfs/ /mnt/

Hard Mount (Parmanent mounting):-

[root@susheel ~]# vim /etc/fstab


192.168.0.105:/nfs /mnt nfs
defaults 0 0

:wq!

[root@susheel ~]# mount -a

Note: After mount -a u will be able to see share file
in /mnt path

Is This Answer Correct ?    3 Yes 2 No

what is soft mount and hard mount? i have to make permanent nfs mount permanent what shall i do?..

Answer / kk.utnoor

to make permanent nfs mount, write it into /etc/fstab
server<ip> nfsmount mountpoint filesystem defaults 0 0
192.168.0.1 /var/ftp/pub /mnt nfs defaults 0 0

Is This Answer Correct ?    17 Yes 17 No

Post New Answer

More Linux Commands Interview Questions

In order to display the last five commands you have entered using the fc command, you would type?

0 Answers  


How do I run a script in linux?

0 Answers  


What is the command to see the installed rpm's in the linux system.

4 Answers  


What is the Difference between 'su' and 'su-' ?

5 Answers   Fujitsu, Locuz,


How do I find the process id in linux?

0 Answers  






In /boot/grub/grub.conf file there is a line kernel /vmlinuz-version ro root=/dev/sda2, What is the meaning of "/" before vmlinuz? Pls explain?

1 Answers   HCL,


The command ‘umask -S’

0 Answers  


How do I find previous commands in linux?

0 Answers  


What is makefile in unix?

0 Answers  


How do I permanently set ulimit in linux?

0 Answers  


How do you ask politely?

0 Answers  


You want to copy the user’s home directories to a new location. Which of the following commands will accomplish this?

0 Answers  


Categories