[CentOS] Support for add disk SCSI

John R Pierce pierce at hogranch.com
Tue Sep 8 20:45:33 UTC 2009


Alan Hodgson wrote:
> On Tuesday 08 September 2009, Luis campo <lcr_2505 at hotmail.com> wrote:
>   
>> Another supplementary question, because CentOS 4.7 only recognizes 273GB 
>> if the disk is 300GB?
>>     
>
> CentOS recognizes the full size of the disk. Your disconnect is between what 
> the manufacturer sells as 300GB, and the actual size of the disk. 
>   


disk drives are sold by decimal gigabytes, so "300GB" is 300,000,000,000 
bytes.

software tends to use binary gigabytes, so 273GB is 273 * 1024 * 1024 * 
1024,  or 293,131,517,952 bytes, which is *about* 300GB (decimal)


btw, in an earlier email, I believe you said you had a HP 
DL-something.... if that has an HP "SmartArray" hardware raid 
controller, its quite likely using the 'cciss' driver (/dev/cciss/c0t0d0 
..) and I'm not sure the previously-offered advise of cat "...." > 
/proc/scsi/scsi is applicable.





More information about the CentOS mailing list