Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Aug 2000 09:20:51 -0400
From:      "Kevin J. Menard, Jr." <kmenard@cisco.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: vinum beginner
Message-ID:  <39900933.DB93CA7E@cisco.com>
References:  <200008071616.AAG59766@bucket.cisco.com> <20000808101009.C92263@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Oops.  I fluffed up a little.  I'm too young to be losing my memory.  Oh well.
I have / = 50M, /var = 20M, swap = 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 / =
> > 20M, /var = 50M, swap = 777M, and /usr = 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39900933.DB93CA7E>