Date: Tue, 9 Sep 2003 08:29:18 -0700 From: Greg Lehey <grog@lemis.com> To: Simon Strandgaard <qj5nd7l02@sneakemail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: vinum: no drives found && partitiontype=vinum ? Message-ID: <20030909152918.GA6224@adelaide.lemis.com> In-Reply-To: <1062927100.3117.18.camel@server.neoneye.home> References: <1062927100.3117.18.camel@server.neoneye.home>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, 7 September 2003 at 11:31:41 +0200, Simon Strandgaard wrote:
> one question; Why does vinum not start at system startup ?
>
> At the bottom of my rc.conf file, I have added:
> start_vinum="YES"
>
> When I reboot the system, all I see in dmesg is:
> vinum: no drives found
>
>
> I can start it manualy:
>
> server# vinum create config1
> 2 drives:
> D a State: up /dev/ad1s1c A: 39166/39266 MB (99%)
> D b State: up /dev/ad2s1c A: 229/329 MB (69%)
This is a bug in Vinum. It shouldn't let you start it manually.
>From the man page:
DRIVE LAYOUT CONSIDERATIONS
vinum drives are currently BSD disk partitions. They must be of type
vinum in order to avoid overwriting data used for other purposes. Use
disklabel -e to edit a partition type definition. The following display
shows a typical partition layout as shown by disklabel(8):
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 81920 344064 4.2BSD 0 0 0 # (Cyl. 240*- 297*)
b: 262144 81920 swap # (Cyl. 57*- 240*)
c: 4226725 0 unused 0 0 # (Cyl. 0 - 2955*)
e: 81920 0 4.2BSD 0 0 0 # (Cyl. 0 - 57*)
f: 1900000 425984 4.2BSD 0 0 0 # (Cyl. 297*- 1626*)
g: 1900741 2325984 vinum 0 0 0 # (Cyl. 1626*- 2955*)
In this example, partition ``g'' may be used as a vinum partition. Par-
titions ``a'', ``e'' and ``f'' may be used as UFS file systems or ccd
partitions. Partition ``b'' is a swap partition, and partition ``c''
represents the whole disk and should not be used for any other purpose.
The vinum utility uses the first 265 sectors on each partition for con-
figuration information, so the maximum size of a subdisk is 265 sectors
smaller than the drive.
Choose a different partition, and reset partition c to "unused".
Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply.
For more information, see http://www.lemis.com/questions.html
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030909152918.GA6224>
