Subject: Re: discovering underlying drive names
To: None <kre@munnari.OZ.AU>
From: Havard Eidnes <he@NetBSD.org>
List: tech-kern
Date: 02/14/2006 19:59:31
> There has been talk, at various stages, of a method that should
> be developed to allow the actual drives (spindles) that underly
> a filesystem (device upon which a filesystem may reside) to
> be located.
>
> I've been wanting this for ages - my typical use of a pair of
> larg(ish) drives is to take approx 2/3 of each, and make that
> a raid1 (ie: mirror), and take the other 1/3 or each, and make
> that a raid0 (ie: strip).
>
> Then I put "junk" filesystems on the raid0 (/usr/obj, ...) and
> "real" filesystems (/home, ...) on the raid1.
>
> All this stuff works just fine - except, fsck sees filesystems on
> raid0? and raid1?, decides they are different physical drives, and
> proceeds to run parallel checks on the those two devices, both
> of which then hammer the underlying real drives.

Hm, isn't the low-tech solution to this particular problem to
deviate from the comments in fstab(5), and use different pass
numbers in fstab for the file systems which have different
devices but actually use the same underlying spindles?

Regards,

- H=E5vard