From owner-freebsd-questions Tue Jan 18 8:49: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp7.xs4all.nl (smtp7.xs4all.nl [194.109.127.50]) by hub.freebsd.org (Postfix) with ESMTP id 375DF14C7F for ; Tue, 18 Jan 2000 08:48:55 -0800 (PST) (envelope-from rene@xs4all.nl) Received: from 10.67.192.9 (adsl-196-149.adsl.xs4all.nl [194.109.196.149]) by smtp7.xs4all.nl (8.9.3/8.9.3) with ESMTP id RAA17350; Tue, 18 Jan 2000 17:48:39 +0100 (CET) From: rene@xs4all.nl Date: Tue, 18 Jan 2000 17:53:16 +0100 X-Mailer: The Bat! (v1.38e) S/N B56A3CE9 / Personal Reply-To: rene@xs4all.nl Organization: XS4ALL Internet B.V. Nederland X-Priority: 3 (Normal) Message-ID: <6745.000118@xs4all.nl> To: Greg Lehey Cc: questions@freebsd.org Subject: Re[2]: vinum question : automatic mounting at boot, NFS? In-reply-To: <20000118163530.D777@mojave.worldwide.lemis.com> References: <20000118163530.D777@mojave.worldwide.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hija Greg, Tuesday, January 18, 2000, 12:05:30, you seem to have written: GL> On Monday, 17 January 2000 at 14:17:59 +0100, rene@xs4all.nl wrote: >> Hija Olaf, >> >> Sunday, January 16, 2000, 23:53:48, you seem to have written: >>> On Sun 16 Jan 2000 at 20:54:03 +0100, rene@xs4all.nl wrote: >>> >>> Since it looks like the only thing that you really do by hand is: >>> >>>> bash-2.02# mount /dev/vinum/myvol /mnt/large >>> >>> putting it in /etc/fstab should be enough. Something like >>> >>> # filesys mount point type access dump fsck >>> # location + opts freq pass >>> >>> /dev/vinum/myvol /mnt/large ffs rw 1 2 >>> >>> should do it. Unless maybe this tries to mount it too early in the boot >>> sequence. In that case, make it >>> >>> /dev/vinum/myvol /mnt/large ffs rw,noauto 1 2 >>> >>> so that the initial mount -a will not try to mount it yet, and put the >>> following in /etc/rc.local: >>> >>> mount /mnt/large >>> >>> -Olaf (none of this is vinum-sprecific, by te way). >> >> Thanx for your reply. However, it didn't quite fix it; (after booting) >> >> bash-2.02# mount /mnt/large >> mount: exec mount_ffs not found in /sbin, /usr/sbin: No such file or directory >> >> if I change the type field in /etc/fstab to 'ufs' instead of 'ffs', I >> get a filesystemcheck error; /dev/vinum/rmyvol: device not configured >> >> this is probably coz at that time, vinum hasn't started yet. GL> Correct. You should set start_vinum in your rc.conf. messenger:/usr/home/rene # cat /etc/rc.conf # This file now contains just the overrides from /etc/defaults/rc.conf # please make all changes to this file. # -- sysinstall generated deltas -- # gateway_enable="YES" nfs_server_enable="YES" network_interfaces="xl0 lo0" ifconfig_xl0="inet 194.109.23.212 netmask 255.255.255.240" defaultrouter="194.109.23.209" hostname="messenger" domainname="outerheaven.net" inetd_enable="NO" portmap_enable="NO" nfs_client_enable="NO" rpc_statd_enable="NO" syslogd_flags="-s" start_vinum="YES" >> for completeness, the line from fstab: >> >> /dev/vinum/myvol /mnt/large ufs rw,noauto 1 2 GL> Was that a complete statement? I don't quite understand your question... Greetings, rene To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message