Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jan 2000 17:53:16 +0100
From:      rene@xs4all.nl
To:        Greg Lehey <grog@lemis.com>
Cc:        questions@freebsd.org
Subject:   Re[2]: vinum question : automatic mounting at boot, NFS?
Message-ID:  <6745.000118@xs4all.nl>
In-Reply-To: <20000118163530.D777@mojave.worldwide.lemis.com>
References:  <20000118163530.D777@mojave.worldwide.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <mailto:rene@xs4all.nl>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6745.000118>