remote mount hangs sysstem

2003-11-23 Thread RYAN vAN GINNEKEN
Is there a way to mount a cdrom or  remote file systems using fstab but 
not having it crash out the system.  example if i have a nfs share set 
up to another machine and that machine goes down the next time i reboot  
my system the machine hangs when it cannot find the share and will not 
allow me to do anything and i have to hook up a monitor and keyboard to 
get it back the same happens when there is an error on a cd rom

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: remote mount hangs sysstem

2003-11-23 Thread paul beard
On Nov 23, 2003, at 12:13 PM, RYAN vAN GINNEKEN wrote:

Is there a way to mount a cdrom or  remote file systems using fstab 
but not having it crash out the system.  example if i have a nfs share 
set up to another machine and that machine goes down the next time i 
reboot  my system the machine hangs when it cannot find the share and 
will not allow me to do anything and i have to hook up a monitor and 
keyboard to get it back the same happens when there is an error on a 
cd rom

make sure the entry on /etc/fstab is set to noauto: then the client 
won't try to mount the filesystem on boot.
--
Paul Beard
paulbeard.no-ip.org/movabletype/
paulbeard [at] mac.com

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: remote mount hangs sysstem

2003-11-23 Thread Scott W
RYAN vAN GINNEKEN wrote:

Is there a way to mount a cdrom or  remote file systems using fstab 
but not having it crash out the system.  example if i have a nfs share 
set up to another machine and that machine goes down the next time i 
reboot  my system the machine hangs when it cannot find the share and 
will not allow me to do anything and i have to hook up a monitor and 
keyboard to get it back the same happens when there is an error on a 
cd rom

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

Use the background (-b or bg) and interruptible (-i or intr) options, 
along with a reasonable timeout.  See
man mount_nfs for the specifics.

Scott

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: remote mount hangs sysstem

2003-11-23 Thread RYAN vAN GINNEKEN
So if i set to noauto does it still get mounted or do i have to execute 
a command later

paul beard wrote:

On Nov 23, 2003, at 12:13 PM, RYAN vAN GINNEKEN wrote:

Is there a way to mount a cdrom or  remote file systems using fstab 
but not having it crash out the system.  example if i have a nfs 
share set up to another machine and that machine goes down the next 
time i reboot  my system the machine hangs when it cannot find the 
share and will not allow me to do anything and i have to hook up a 
monitor and keyboard to get it back the same happens when there is an 
error on a cd rom

make sure the entry on /etc/fstab is set to noauto: then the client 
won't try to mount the filesystem on boot.
--
Paul Beard
paulbeard.no-ip.org/movabletype/
paulbeard [at] mac.com

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: remote mount hangs sysstem

2003-11-23 Thread paul beard
On Nov 23, 2003, at 1:31 PM, RYAN vAN GINNEKEN wrote:

So if i set to noauto does it still get mounted or do i have to 
execute a command later

sure, just use mount /mount/point If the fstab works now, you won't 
need to do anything else. There may be more sophisticated ways 
(automounters and such that mount the filesystem as you traverse into 
it) but I've never used them.

man 8 amd, for example.

DESCRIPTION
 Amd is a daemon that automatically mounts filesystems whenever a 
file or
 directory within that filesystem is accessed.  Filesystems are 
automati-
 cally unmounted when they appear to be quiescent.

--
Paul Beard
paulbeard.no-ip.org/movabletype/
paulbeard [at] mac.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: remote mount hangs sysstem

2003-11-23 Thread RYAN vAN GINNEKEN
this is my fstabs file could you please explain where i enter and set 
values for the -R and -b options

# See the fstab(5) manual page for important information on automatic mounts
# of network filesystems before modifying this file.
#
# DeviceMountpoint  FStype  Options Dump
Pass#
/dev/ad0s2b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/ad0s4e /usrufs rw  2   2
/dev/ad0s3e /varufs rw  2   2
proc/proc   procfs  rw  0   0

#--
#remote mounts
#--
v21.higcoup.ca:/usr/src /mnt/v21.highcoup.ca/usr/src
nfs r noauto0   0
v21.higcoup.ca:/usr/local/ect /mnt/v21.highcoup.ca/usr/local/etc
nfs r noauto0   0

#--

Scott W wrote:

RYAN vAN GINNEKEN wrote:

Is there a way to mount a cdrom or  remote file systems using fstab 
but not having it crash out the system.  example if i have a nfs 
share set up to another machine and that machine goes down the next 
time i reboot  my system the machine hangs when it cannot find the 
share and will not allow me to do anything and i have to hook up a 
monitor and keyboard to get it back the same happens when there is an 
error on a cd rom

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

Use the background (-b or bg) and interruptible (-i or intr) options, 
along with a reasonable timeout.  See
man mount_nfs for the specifics.

Scott

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: remote mount hangs sysstem

2003-11-23 Thread Scott W
RYAN vAN GINNEKEN wrote:

this is my fstabs file could you please explain where i enter and set 
values for the -R and -b options

# See the fstab(5) manual page for important information on automatic 
mounts
# of network filesystems before modifying this file.
#
# DeviceMountpoint  FStype  Options 
DumpPass#
/dev/ad0s2b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/ad0s4e /usrufs rw  2   2
/dev/ad0s3e /varufs rw  2   2
proc/proc   procfs  rw  0   0

#-- 

#remote mounts
#-- 

v21.higcoup.ca:/usr/src 
/mnt/v21.highcoup.ca/usr/srcnfs r 
noauto0   0
v21.higcoup.ca:/usr/local/ect 
/mnt/v21.highcoup.ca/usr/local/etcnfs r noauto
0   0

change this:
v21.higcoup.ca:/usr/src /mnt/v21.highcoup.ca/usr/src
nfs r noauto0   0

to:
v21.higcoup.ca:/usr/src /mnt/v21.highcoup.ca/usr/src
nfs   r,bg,intr   0   0

and likewise for the second NFS entry...you should still specifiy a 
timeout, but you'll have to decide on one..and the system will boot with 
those options with the NFS server down..

Scott



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]