Date: Thu, 8 Sep 2005 13:59:27 +0200 From: Stijn Hoop <stijn@win.tue.nl> To: Tomas Palfi <tpalfi@phoenixmedical.co.uk> Cc: freebsd-stable@freebsd.org Subject: Re: vinum or gvinum Message-ID: <20050908115927.GG20229@pcwin002.win.tue.nl> In-Reply-To: <119D03CDAA26274786799627855EC43D403548@indy.enzo.phoenixmedical.co.uk> References: <119D03CDAA26274786799627855EC43D403548@indy.enzo.phoenixmedical.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--ftEhullJWpWg/VHq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, First: do _NOT_ use vinum on 5.4, use gvinum. On Thu, Sep 08, 2005 at 12:43:01PM +0100, Tomas Palfi wrote: > I am still struggling to set up a one way mirror on two 72GB disks on > 5.4 intel platform, however, there seems to be a lot of confusion about > what to use in the first place. this is vinum v gvinum. gvinum. Just to be safe you could move the vinum command and kernel modules out of the way. > Tried to configure the same with gvinum replicating the vinum.conf, > however, still nothing. Did you start from scratch by wiping the former configuration without loadi= ng gvinum? Use # dd if=3D/dev/zero of=3D/dev/da0 bs=3D1m count=3D128 to be sure. Do this WITHOUT loading any of the vinum modules. > You know, when you are creating the vinum > volume in bsdlabel and offsetting it with 16 blocks giving it vinum > format, do you change this for gvinum as well??? my config would not > have it, I can save it? I don't understand this. Here is my gvinum.conf for my mirrored system at home: %%% drive pain device /dev/ad4s1e drive panic device /dev/ad6s1e volume root plex org concat sd length 192m drive pain plex org concat sd length 192m drive panic volume swap plex org concat sd length 2080m drive pain plex org concat sd length 2080m drive panic volume usr plex org concat sd length 6g drive pain plex org concat sd length 6g drive panic volume var plex org concat sd length 256m drive pain plex org concat sd length 256m drive panic volume local plex org concat sd length 0 drive pain plex org concat sd length 0 drive panic %%% Be aware that gvinum's configuration syntax only allows the short forms for many keywords. /dev/ad4s1 and /dev/ad6s1 have this label: %%% [stijn@firsa] <~> sudo bsdlabel ad4s1 # /dev/ad4s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 393216 281 4.2BSD 0 0 0 c: 156249009 0 unused 0 0 # "raw" part, don'= t edit e: 156248993 16 vinum %%% > I also tried the geom_vinum_load=3D"YES" in the /boot/loader.conf, > however, should I have vinum.autostart=3D"YES" there as well for the > gvinum?? No, vinum.autostart is for legacy vinum. > On another occasion I have edited /etc/rc.d/vinum changing the > start_cmd to "gvinum start" - nothing happened??? Don't do that, it's not necessary to edit anything in /etc/rc.d. > Also in the vinum.conf file that I laboriously create each time I try, > is the=20 >=20 > drive Master device /dev/da0s1h=20 >=20 > with the h which is the slice which I create in the bsdlabel or is it > the device name /dev/da0s1a for the root volume?? Non of it worked for > me. Use only vinum BSD partitions for gvinum drive declarations. > Help me out from here please. This is supposed to be a production > server and I have spent two days on it already. =20 Keep at it until it makes sense, that's what I did. There are a lot of concepts to get until it clicks. HTH, --Stijn --=20 My server has more fans than Britney. -- Steve Warwick, from a posting at questions@freebsd.org --ftEhullJWpWg/VHq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDICeeY3r/tLQmfWcRAosbAJ48QIvoNJCfFNCVwkTNJtryAWvz1gCdFHPr bMPmY9rpZ9Ayna9QFZkXUH0= =pjIB -----END PGP SIGNATURE----- --ftEhullJWpWg/VHq--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050908115927.GG20229>