Date: Thu, 29 Sep 2005 12:57:12 -0700 From: Drew Tomlinson <drew@mykitchentable.net> To: FreeBSD usergroup <freebsd@amadeus.demon.nl> Cc: Peter Clutton <peterclutton@gmail.com>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Help setting up Vinum mirror Message-ID: <433C4718.6050809@mykitchentable.net> In-Reply-To: <334F213D-52A9-4157-B6B8-E961EF47DC31@amadeus.demon.nl> References: <57416b300509290428dc2bc97@mail.gmail.com> <334F213D-52A9-4157-B6B8-E961EF47DC31@amadeus.demon.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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. HTH, Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, & More! http://www.alchemistswarehouse.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?433C4718.6050809>