Date: Wed, 31 May 2000 09:14:26 -0700 From: tom <tomb@cgf.net> To: darren@profero.com, freebsd-questions@freebsd.org Subject: Re: vinum and bad pack magic number Message-ID: <39353A62.DDBAB828@cgf.net> References: <002401bfcb06$a3ecf140$a99d24d4@vindaloo.profero.com>
next in thread | previous in thread | raw e-mail | index | archive | help
OK this is what I did to solve the problem. It wasn't obvious from the documentation that the disks too be used had to be formatted in any way, it turns out that they need to be setup as ffs (freebsd native) disks before they can be used for vinum. First install the disks and use the /stand/sysinstall utility to create new bsd (type 165) filesystems on them using the fdisk feature. I also checked them by mounting the disks once they were formatted. If you then run disklabel you will see that the disks are build something like this:: root@garlic#disklabel /dev/da1s1 8 partitions: >>>>>CUT<<<<< # size offset fstype [fsize bsize bps/cpg] c: 8482257 0 unused 0 0 # (Cyl. 0 - 527*) e: 8482257 0 4.2BSD # (Cyl. 0 - 527*) effectivly /dev/da1s1e is now a BSD partition. now you can use disklabel to change the fstype to be vinum. # size offset fstype [fsize bsize bps/cpg] c: 8482257 0 unused 0 0 # (Cyl. 0 - 527*) e: 8482257 0 vinum # (Cyl. 0 - 527*) Once this has been completed build the config (in this case a simple mirror) . See Greg's home page for the best examples. drive a device /dev/da0s1e drive b device /dev/da1s1e volume mirror plex org concat sd length 4140m drive a plex org concat sd length 4140m drive b Finally you will have to tell vinum to start the array, using the "start" command. This appears to be necessary only the first time around. From then on the array will start automatically. Best of luck. Tom 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?39353A62.DDBAB828>