Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2000 09:12:26 +0930
From:      Greg Lehey <grog@lemis.com>
To:        "Kevin J. Menard, Jr." <kmenard@cisco.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: vinum beginner
Message-ID:  <20000809091226.I13974@wantadilla.lemis.com>
In-Reply-To: <39900933.DB93CA7E@cisco.com>; from kmenard@cisco.com on Tue, Aug 08, 2000 at 09:20:51AM -0400
References:  <200008071616.AAG59766@bucket.cisco.com> <20000808101009.C92263@wantadilla.lemis.com> <39900933.DB93CA7E@cisco.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday,  8 August 2000 at  9:20:51 -0400, Kevin J. Menard, Jr. wrote:
> 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.
>
> 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 :-)

No.

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?20000809091226.I13974>