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

df shows incorrect size for ext3 RAID 6 partition



I am running etch on a new RAID storage server with an Adaptec RAID 31605
controller. The setup is using RAID 6 with 500GB drives. The actual size
of the RAID 6 partition is 5832719MB but when mounted df shows is at as
1.3TB which is incorrect. Is there some option that I am missing some
option which might be causing this. Any help on this is appreciated.

dmesg output:

[  101.209427] scsi 6:0:0:0: Direct-Access     Adaptec  RAID
V1.0 PQ
: 0 ANSI: 2
[  101.209588] sd 6:0:0:0: [sdc] Very big device. Trying to use READ
CAPACITY(16
).
[  101.209619] sd 6:0:0:0: [sdc] 11392225280 512-byte hardware sectors
(5832819 
MB)
[  101.209623] sd 6:0:0:0: [sdc] Assuming Write Enabled
[  101.209626] sd 6:0:0:0: [sdc] Assuming drive cache: write through
[  101.209784] sd 6:0:0:0: [sdc] Very big device. Trying to use READ
CAPACITY(16
).
[  101.209811] sd 6:0:0:0: [sdc] 11392225280 512-byte hardware sectors
(5832819 
MB)
[  101.209814] sd 6:0:0:0: [sdc] Assuming Write Enabled
[  101.209815] sd 6:0:0:0: [sdc] Assuming drive cache: write through
[  101.209821]  sdc: sdc1
[  101.297629] success

output of "df -hT"

/dev/sdc1     ext3    1.3T  379G  870G  31% /raid

Thanks,

Bharath

---
Bharath Ramesh       <bramesh@vt.edu>       http://people.cs.vt.edu/~bramesh



Reply to: