On 23/05/2011 10:48, Ed W wrote:
[...]
Pardon what is probably a very ignorant question, but someone earlier in
this thread claimed that some adaptors report the size of the disk
slightly differently? Wouldn't this potentially cause problems if you
needed to move the disks to a different controller?
Yup. RAID cards will use some of the disc for their own metadata. The
amount used, and the location of it, is probably different for different
controllers. This would be one reason why using a RAID controller with
BBWC and exporting the drives as single-drive RAID0 volumes is a bit
icky, and liable to tie you to one manufacturer.
There is a possibility (handwaving here) that using a RAID controller in
JBOD mode would be similar. You may need to flash your controller to
non-RAID firmware to avoid it, at which point you probably ought to have
bought an HBA in the first place.
There is a similar problem on some OEMs' BIOSes that will set a
"host-protected area" that will reduce the visible size of drives.
Additionally if you needed to replace the disk then some new batch might
be some few sectors smaller? This seems to be the biggest reason for
wanting to add a partition table and then deliberately partition some
10s MB smaller? (Think I saw this exact problem come up several times in
the last few weeks alone?)
For spinning rust discs this hasn't been the case for several years
since we passed about 160GB; all the manufacturers signed up to an
industry standard[1] making all their discs a consistent number of
sectors for any given marketing size.
It's probably a problem again now with SSDs, though.
Cheers,
John.
[1] I can't remember what the standard or standards group is, and I
can't be bothered looking it up. But of course it's a standard. We love
standards, that's why we have so many of them![2]
[2] Sorry if I'm a bit grumpy this morning. Too many standards and not
enough coffee make John a grumpy boy.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html