tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: total sector size in disklabel != the size of raid (was: full-disc partition)



>> First, using the ``full disk'' devices as RAIDframe components
>> doesn't work, the component size is truncated to the modulo-2^32
>> size.
> That's because "full disk" is just a partition in the disklabel that
> spans the full disk as much as disklabel is capable.

Perhaps are far as the "get size" interface raidframe uses is
concerned.  But it's not _just_ that; see my note upthread about how
the disk drivers treat RAW_PART.  And _nothing_ can be "just a
partition in the disklabel" when there isn't any disklabel.

Note also that using RAW_PART as raidframe members, for some kinds of
RAID and some kinds of label, runs the risk of the RAID pseudo-disk's
label being mistaken for the component disk's label.

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML                mouse%rodents-montreal.org@localhost
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index