Help setting up Vinum mirror
drew at mykitchentable.net
Thu Sep 29 12:59:23 PDT 2005
On 9/29/2005 10:04 AM FreeBSD usergroup wrote:
> On 29 sep 2005, at 13:28, Peter Clutton wrote:
>> Hi, I have gone through the docs on this but am just missing a
>> couple of points
>> conceptually, and would be grateful for any help.
>> Basically i have created two slices on two IDE drives and mounted them
>> (through fdisk, label etc), and had that all up and running correctly.
>> I then went into Vinum in interactive mode and (hopefully) created a
>> mirror by typing
>> mirror -d /dev/ad0s2d /dev/ad1s1d . It then gave me successful
>> messages and gave the drive a name and said it's "up".
>> I'm just wondering after this point, can i just type quit and it's up
>> and running? I noticed on reboot the directories that were my mount
>> point for these partitions say they are "not a directory" now. Do i
>> need to go on and mount the mirror? Or did i make a mistake mounting
>> these partitions before creating the mirror. How do i utilize it after
>> issuing the mirror command.
>> Many thanks in advance.
> Which FBSD release do you use?
> basically (FBSD < 5.3)
> for vinum you just have to type:
> vinum start
> after a reboot and it'll read the config from the disks and put the
> volume in /dev/vinum/
> from there you can mount it manually or add a line to /etc/fstab
Neither of this is probably necessary. Vinum started automatically when
'vinum' was typed on the console to create the mirror. Once the mirror
was created and shown as 'up', the volume was created in /dev/vinum.
However there is something you need to add to /etc/rc.conf to have vinum
start automatically upon booting and thus make your volume available for
mounting. Seems it was 'vinum_enable = "yes"' or something like that.
Search /etc/defaults/rc.conf for the exact line.
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!
More information about the freebsd-questions