cvs commit: src/sys/amd64/conf GENERIC src/sys/i386/conf GENERIC src/sys/ia64/conf GENERIC src/sys/pc98/conf GENERIC src/sys/powerpc/conf GENERIC src/sys/sparc64/conf GENERIC src/sys/sun4v/conf GENERIC

Dag-Erling Smørgrav des at des.no
Sun Feb 25 14:54:22 UTC 2007


Brooks Davis <brooks at FreeBSD.org> writes:
>   Log:
>   Include GEOM_LABEL in GENERIC.  It's very useful and not well publicized
>   enough.

Bad idea.  GEOM_LABEL can lead to filesystem corruption when used in
conjunction with mirrored disks.  You mount /dev/ufs/root thinking it
corresponds to /dev/ar0s1a, when in fact it corresponds to /dev/ad0s1a
(in most cases, if ad0 is a component of RAID 1 array ar0, ad0s1a will
be tasted before ar0s1a, and GEOM_LABEL does not handle multiple
identically labeled providers gracefully).

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-src mailing list