Subject: Re: RaidFrame Partitioning
To: Louis Guillaume <lguillaume@berklee.edu>
From: Greg Oster <oster@cs.usask.ca>
List: netbsd-users
Date: 02/10/2004 11:16:35
"Louis Guillaume" writes:
> Hello,
> 
> I've seen some conflicting information regarding partitioning of 
> RaidFrame components and partitions and was hoping for some 
> clarification or even just opinions. This is mainly with regards to a 
> mirrored set (raid 1.)
> 
> The NetBSD Guide suggests creating one large "RAID" partition on each 
> drive (i.e. one component per drive) then partitioning this raid device 
> into the desired filesystems.
> 
> Elsewhere (and I can't remember where, sorry) there was suggestion of 
> creating several RAID partitions on each drive, resulting in several 
> components per drive, each of which will house a single filesystem.

'man raidctl' suggests that, among other places.  (My personal 
preference is for one filesystem per RAID set.  Search the mail 
archives or on Google for more info..)

> I initially did things the former way as it seemed simple. But 
> unfortunately I did a poor job of partitioning so now I must 
> re-configure the entire array (this alone may be an argument for the 
> latter.)
> 
> Also I've noticed some filesystem corruption popping up sporadically on 
> the root filesystem such as...
> 
> find: /usr/share/man/cat3/getnetgrent.0: Bad file descriptor
> 
> ... in my daily insecurity output. I've only ever seen this with 
> RaidFrame. It has been happening for some time

For how long, and from what kernel rev(s)?

>  in small, subtle and 
> as-of-yet non-critical ways. Lucky me! This, of course, only gets fixed 
> by fsck-ing. Any idea of what's causing this 

My guess would be bad RAM, but I might be biased...  (There are NO 
bugs (at least that I'm aware of) in RAIDframe that would be causing 
this sort of lossage.)

> or if it could be avoided by configuring Raid differently?

You havn't given any config files, but you shouldn't see filesystem 
lossage from any valid RAIDframe configuration (and if a 
configuration isn't valid, RAIDframe shouldn't allow it).

> What is the better way to partition our raid schemes?
> 
> I'm using -current (1.6ZG) at this time and will probably upgrade to 
> 1.6ZI or higher after re-partitioning.
> 
> Any advice would be most appreciated. Thanks,
> 
> Louis
> 

Later...

Greg Oster