From owner-freebsd-questions Tue Aug 8 11:13: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from funnel.cisco.com (funnel.cisco.com [161.44.131.24]) by hub.freebsd.org (Postfix) with ESMTP id ABF0C37C01F for ; Tue, 8 Aug 2000 11:12:39 -0700 (PDT) (envelope-from kmenard@cisco.com) Received: from bucket.cisco.com (mirapoint@bucket.cisco.com [161.44.131.26]) by funnel.cisco.com (8.8.5-Cisco.1/8.6.5) with ESMTP id OAA01768 for ; Tue, 8 Aug 2000 14:12:38 -0400 (EDT) Received: from kmenard (ch-dhcp207-90.cisco.com [171.69.207.90]) by bucket.cisco.com (Mirapoint) with SMTP id AAG66309; Tue, 8 Aug 2000 14:22:05 -0400 (EDT) Message-ID: <008901c0017c$bb3689e0$5acf45ab@cisco.com> From: "Kevin J. Menard, Jr." To: Subject: vinum and /usr Date: Tue, 8 Aug 2000 14:07:58 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0086_01C00142.0E5EFF70" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0086_01C00142.0E5EFF70 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sorry for the repost. But I figured that the topic in the last past = really didn't represent the issue I'm having now, as this one is a new = one, as opposed to my last post which was a Re: of my original issue :-P Oops. I fluffed up a little. I'm too young to be losing my memory. Oh = well. I have / =3D 50M, /var =3D 20M, swap =3D 773M, and /usr takes up the = remaing 8900M or so. I didn't arbitrarily pick these values -- I let /stand/sysinstall do = that for me. I have a total of 6 IDE drives. All of which are 10GB in size. I want = to have two striped plexes of 3 subdisks each. The second plex mirroring the = first. Working well into the morning, I think I made some serious headway. I = can create 5 of the 6 drives from my physical HDDs. The one that fails (vinum told = me so) is the main HDD. I'm guessing I'm having trouble making /usr part of a plex = because it is in use at the time. I persevered regardless, and built the volume, and = then it segfaulted and FreeBSD restarted. I'm assuming this is because that = first drive was never really initialized as a drive. Hope I provided sufficient information to get a useful answer :-) Thanks again, -Kevin Greg Lehey wrote: > On Monday, 7 August 2000 at 12:07:22 -0400, Kevin Menard wrote: > > Hi, > > > > I have thoroghly RTFM, but still have a question about vinum. I = realize that / > > cannot be mirroredd. I would imagine I would not want to mirror = swap space and > > /var, simply because they change so frequently and that would put = unneeded > > stress on the CPU. > > If you lose swap, you can crash your system. > > > Plus it really just doesn't make all that much sense to mirror > > temporary data. > > That depends on how important it is while it's there. > > > My question is this though. If I have a 9770M drive, with a / =3D > > 20M, /var =3D 50M, swap =3D 777M, and /usr =3D the rest, how would I = go > > about mirroring the rest of the drive? > > With 20 MB /, I don't think you'd get that far. Take at least 40 MB. > And I'd be interested to know how you know that you need exactly 50 MB > /var. > > > I mean, there's about 9 gigs of /usr data that could be mirrored. > > How many disks do you have? For mirroring you need at least 2. > Mirroring on the same drive doesn't buy you much, just the possibility > to recover from uncorrectable sector data errors. It does > *significantly* add to the I/O time. > > > And if I changed the fs type for /usr to vinum, will that mess up > > any other programs that might store data to /usr? > > The fs type relates to a partition, not a file system. > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message -------------------------------------------------------------------------= ------- www@FreeBSD.org ------=_NextPart_000_0086_01C00142.0E5EFF70 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Sorry for the repost.  But I = figured that the=20 topic in the last past really didn't represent the issue I'm having now, = as this=20 one is a new one, as opposed to my last post which was a Re: of my = original=20 issue :-P
 
Oops.  I fluffed up a little.  I'm =
too young to be losing my memory.  Oh well.
I have / =3D 50M, /var =3D 20M, swap =3D 773M, and /usr takes up the =
remaing 8900M or so.
I didn't arbitrarily pick these values -- I let /stand/sysinstall do =
that for me.

I have a total of 6 IDE drives.  All of which are 10GB in size.  I want =
to have two
striped plexes of 3 subdisks each.   The second plex mirroring the =
first.

Working well into the morning, I think I made some serious headway.  I =
can create 5
of the 6 drives from my physical HDDs.  The one that fails (vinum told =
me so) is the
main HDD.  I'm guessing I'm having trouble making /usr part of a plex =
because it is
in use at the time.  I persevered regardless, and built the volume, and =
then it
segfaulted and FreeBSD restarted.  I'm assuming this is because that =
first drive was
never really initialized as a drive.

Hope I provided sufficient information to get a useful answer :-)

Thanks again,
-Kevin



Greg Lehey wrote:

> On Monday,  7 August 2000 at 12:07:22 -0400, Kevin Menard wrote:
> > Hi,
> >
> > I have thoroghly RTFM, but still have a question about vinum.  =
I realize that /
> > cannot be mirroredd.  I would imagine I would not want to =
mirror swap space and
> > /var, simply because they change so frequently and that would =
put unneeded
> > stress on the CPU.
>
> If you lose swap, you can crash your system.
>
> > Plus it really just doesn't make all that much sense to mirror
> > temporary data.
>
> That depends on how important it is while it's there.
>
> > My question is this though.  If I have a 9770M drive, with a / =
=3D
> > 20M, /var =3D 50M, swap =3D 777M, and /usr =3D the rest, how =
would I go
> > about mirroring the rest of the drive?
>
> With 20 MB /, I don't think you'd get that far.  Take at least 40 =
MB.
> And I'd be interested to know how you know that you need exactly 50 =
MB
> /var.
>
> > I mean, there's about 9 gigs of /usr data that could be =
mirrored.
>
> How many disks do you have?  For mirroring you need at least 2.
> Mirroring on the same drive doesn't buy you much, just the =
possibility
> to recover from uncorrectable sector data errors.  It does
> *significantly* add to the I/O time.
>
> > And if I changed the fs type for /usr to vinum, will that mess =
up
> > any other programs that might store data to /usr?
>
> The fs type relates to a partition, not a file system.
>
> Greg
> --
> When replying to this message, please copy the original recipients.
> For more information, see http://www.lemis.com/questio=
ns.html
> Finger grog@lemis.com for PGP public key
> See complete headers for address and phone numbers



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




www@FreeBSD.org
------=_NextPart_000_0086_01C00142.0E5EFF70-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message