Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Aug 2000 14:07:58 -0700
From:      "Kevin J. Menard, Jr." <kmenard@cisco.com>
To:        <freebsd-questions@freebsd.org>
Subject:   vinum and /usr
Message-ID:  <008901c0017c$bb3689e0$5acf45ab@cisco.com>

next in thread | raw e-mail | index | archive | help
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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Sorry for the repost.&nbsp; 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</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><PRE>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:

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



</PRE>
<HR>

<ADDRESS><A=20
href=3D"http://docs.freebsd.org/mailto.html">www@FreeBSD.org</A><BR></ADD=
RESS></FONT></DIV></BODY></HTML>

------=_NextPart_000_0086_01C00142.0E5EFF70--



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?008901c0017c$bb3689e0$5acf45ab>