Networking Forums

Networking Forums > Computer Networking > Linux Networking > how to make an nfs share not mount automatically at boot ?

Reply
Thread Tools Display Modes

how to make an nfs share not mount automatically at boot ?

 
 
Tom Van Overbeke
Guest
Posts: n/a

 
      11-23-2005, 06:54 AM
Hi,

subject line says it all. In solaris, there's a vfstab parameter 'mount at
boot' that can be set to no if you don't want the share to be mounted
automatically?

But how can i do it in linux ? i can't find a suitable parameter to put in
fstab.

thx,
tom


 
Reply With Quote
 
 
 
 
Raqueeb Hassan
Guest
Posts: n/a

 
      11-23-2005, 07:38 AM
<snip>

> But how can i do it in linux ?


For Solaris,

# /etc/vfstab
-------------------------------------------->mount at boot
server:/path/to/share - /mount/point - yes rw,soft

For Linux,

Remove the associated entry regarding that nfs mount or comment out the
same in /etc/fstab.

So the entry in fstab will look like ...

server:/path/to/share /mount/point nfs defaults 0 0

Now, to check that out ....

# mount | grep nfs




--
Raqueeb Hassan
Bangladesh

 
Reply With Quote
 
Raqueeb Hassan
Guest
Posts: n/a

 
      11-23-2005, 07:49 AM
<snip>

> Try 'noauto'.


Oh, yes! You are right. He just asked for a suitable parameter.

---------------------------------------------->
server:/share /mount/point nfs noauto,ro 0 0

Thanks Hans.


--
Raqueeb Hassan
Bangladesh

 
Reply With Quote
 
Johannes Beekhuizen
Guest
Posts: n/a

 
      11-23-2005, 08:21 AM
Hallo Tom,

Op 23 Nov 05 schreef Tom Van Overbeke aan All:

TVO> But how can i do it in linux ? i can't find a suitable parameter to put
TVO> in fstab.

Try 'noauto'.

Groetjes,

Hans.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Solution to have a persistent VPN start automatically on boot. Kevin Cotreau Windows Networking 1 07-27-2007 04:49 AM
How do I make make a network boot floppy? Boe Windows Networking 3 05-23-2006 11:37 PM
is it possible to make a software raid of two mount points? Christian Maier Linux Networking 2 02-06-2006 11:33 AM
Samba mount from /etc/fstab fails at boot R Kannan Linux Networking 1 07-10-2005 01:04 PM
NFS mount won't mount at boot, but mount -a works fine. BT Linux Networking 2 09-23-2004 09:37 PM



1 2 3 4 5 6 7 8 9 10 11