Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2000 10:38:02 -0500
From:      "J. Seth Henry" <jshenry@net-noise.com>
To:        <questions@FreeBSD.org>
Subject:   re: vinum preparation
Message-ID:  <002801c00d18$206e4e50$0e01a8c0@guinevere>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Sorry for the delay, I've been playing with the kernel configuration as
well.

I was able to successfully create a stripe set using the following:

"/etc/vinum.conf"
>
drive subdisk1 device /dev/da1s1e
drive subdisk2 device /dev/da2s1e
drive subdisk3 device /dev/da3s1e
drive subdisk4 device /dev/da4s1e
drive subdisk5 device /dev/da5s1e
drive subdisk6 device /dev/da6s1e

volume mmvolc
plex org striped 1024b
sd length 2033m drive subdisk1
sd length 2033m drive subdisk2
sd length 2033m drive subdisk3
sd length 2033m drive subdisk4
sd length 2033m drive subdisk5
sd length 2033m drive subdisk6
<

However, when I try to create a RAID5 array, I get an error that one of the
plexes doesn't have enough subdisks and there are two plexes, mmvolc.p0 and
mmvolc.p1, rather than just the one plex, mmvolc.p0.

I simply changed the plex line to read "plex org raid5 1024b"

The volumes are partitioned to fill the entire space (dangerously dedicated)
and I created equal slices of 4165120 blocks on each disk. The leftover
space was left unallocated.

I would prefer the safety factor of a RAID array, given that these are old
disks, so this is a bit problematic. Any help would be appreciated.

I am still migrating from Linux, which is why I've been playing with the
kernel. I need EXT2 support for a little while. Once I get the data on those
volumes moved around and backed up again, I will supply the create
log from vinum.

Thanks,
Seth Henry
jshenry@net-noise.com




----- Original Message -----
From: "Greg Lehey" <grog@lemis.com>
To: "J. Seth Henry" <jshenry@net-noise.com>
Cc: <questions@FreeBSD.ORG>
Sent: Thursday, August 17, 2000 7:41 PM
Subject: Re: vinum preparation


> [Format recovered--see http://www.lemis.com/email/email-format.html]
>
> Please don't write one line per paragraph.
>
> On Thursday, 17 August 2000 at 10:21:39 -0500, J. Seth Henry wrote:
> > I have a pile of 2Gb (more or less) SCSI hard disks laying around
> > that I would like to bolt together into a RAID5 array using
> > vinum. The trick is, all of the drives have slightly different sizes,
> > varying from 2033Mb to 2048Mb. I know that the subvolumes have to be
> > exactly the same size, but is that the partition, or the slice?
>
> No.
>
> > I currently have them all dangerously dedicated to the full size of
> > the drive, and I set the slices to be the same size.
> >
> > I have read all of the documentation I could get my hands on
> > regarding vinum, but so far, I've found nothing that covers
> > this. When I try to start the array, three of the disks come online,
> > but the other three fail due to a size mismatch. From this, I would
> > assume the partitions must be equally sized and the slices set to
> > fill the partitions.
>
> No, this isn't correct.  Your subdisks need to be the same size, but
> Vinum should automatically trim the ones which are too large.  Please
> show (without mutilating the text!) the output from 'vinum create'.
>
> Greg
> --
> When replying to this message, please copy the original recipients.
> 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



[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Sorry for the delay, I've been playing with the kernel configuration 
as<BR>well.<BR><BR>I was able to successfully create a stripe set using the 
following:<BR><BR>"/etc/vinum.conf"<BR>&gt;<BR>drive subdisk1 device 
/dev/da1s1e<BR>drive subdisk2 device /dev/da2s1e<BR>drive subdisk3 device 
/dev/da3s1e<BR>drive subdisk4 device /dev/da4s1e<BR>drive subdisk5 device 
/dev/da5s1e<BR>drive subdisk6 device /dev/da6s1e<BR><BR>volume mmvolc<BR>plex 
org striped 1024b<BR>sd length 2033m drive subdisk1<BR>sd length 2033m drive 
subdisk2<BR>sd length 2033m drive subdisk3<BR>sd length 2033m drive 
subdisk4<BR>sd length 2033m drive subdisk5<BR>sd length 2033m drive 
subdisk6<BR>&lt;<BR><BR>However, when I try to create a RAID5 array, I get an 
error that one of the<BR>plexes doesn't have enough subdisks and there are two 
plexes, mmvolc.p0 and<BR>mmvolc.p1, rather than just the one plex, 
mmvolc.p0.<BR><BR>I simply changed the plex line to read "plex org raid5 
1024b"<BR><BR>The volumes are partitioned to fill the entire space (dangerously 
dedicated)<BR>and I created equal slices of 4165120 blocks on each disk. The 
leftover<BR>space was left unallocated.<BR><BR>I would prefer the safety factor 
of a RAID array, given that these are old<BR>disks, so this is a bit 
problematic. Any help would be appreciated.<BR><BR>I am still migrating from 
Linux, which is why I've been playing with the<BR>kernel. I need EXT2 support 
for a little while. Once I get the data on those<BR>volumes moved around and 
backed up again, I will supply the create<BR>log from 
vinum.<BR><BR>Thanks,<BR>Seth Henry<BR><A 
href="mailto:jshenry@net-noise.com">jshenry@net-noise.com</A><BR><BR><BR><BR><BR>----- 
Original Message -----<BR>From: "Greg Lehey" &lt;<A 
href="mailto:grog@lemis.com">grog@lemis.com</A>&gt;<BR>To: "J. Seth Henry" 
&lt;<A href="mailto:jshenry@net-noise.com">jshenry@net-noise.com</A>&gt;<BR>Cc: 
&lt;<A 
href="mailto:questions@FreeBSD.ORG">questions@FreeBSD.ORG</A>&gt;<BR>Sent: 
Thursday, August 17, 2000 7:41 PM<BR>Subject: Re: vinum 
preparation<BR><BR><BR>&gt; [Format recovered--see <A 
href="http://www.lemis.com/email/email-format.html">http://www.lemis.com/email/email-format.html</A>]<BR>&gt;<BR>&gt; 
Please don't write one line per paragraph.<BR>&gt;<BR>&gt; On Thursday, 17 
August 2000 at 10:21:39 -0500, J. Seth Henry wrote:<BR>&gt; &gt; I have a pile 
of 2Gb (more or less) SCSI hard disks laying around<BR>&gt; &gt; that I would 
like to bolt together into a RAID5 array using<BR>&gt; &gt; vinum. The trick is, 
all of the drives have slightly different sizes,<BR>&gt; &gt; varying from 
2033Mb to 2048Mb. I know that the subvolumes have to be<BR>&gt; &gt; exactly the 
same size, but is that the partition, or the slice?<BR>&gt;<BR>&gt; 
No.<BR>&gt;<BR>&gt; &gt; I currently have them all dangerously dedicated to the 
full size of<BR>&gt; &gt; the drive, and I set the slices to be the same 
size.<BR>&gt; &gt;<BR>&gt; &gt; I have read all of the documentation I could get 
my hands on<BR>&gt; &gt; regarding vinum, but so far, I've found nothing that 
covers<BR>&gt; &gt; this. When I try to start the array, three of the disks come 
online,<BR>&gt; &gt; but the other three fail due to a size mismatch. From this, 
I would<BR>&gt; &gt; assume the partitions must be equally sized and the slices 
set to<BR>&gt; &gt; fill the partitions.<BR>&gt;<BR>&gt; No, this isn't 
correct.&nbsp; Your subdisks need to be the same size, but<BR>&gt; Vinum should 
automatically trim the ones which are too large.&nbsp; Please<BR>&gt; show 
(without mutilating the text!) the output from 'vinum create'.<BR>&gt;<BR>&gt; 
Greg<BR>&gt; --<BR>&gt; When replying to this message, please copy the original 
recipients.<BR>&gt; For more information, see <A 
href="http://www.lemis.com/questions.html">http://www.lemis.com/questions.html</A><BR>&gt; 
Finger <A href="mailto:grog@lemis.com">grog@lemis.com</A> for PGP public 
key<BR>&gt; See complete headers for address and phone 
numbers<BR><BR></DIV></BODY></HTML>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002801c00d18$206e4e50$0e01a8c0>