Re: df shows incorrect size for ext3 RAID 6 partition
On Wed, Nov 21, 2007 at 11:15:31AM -0500, Bharath Ramesh wrote:
> 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
you can not have partitions larger than 2TB with a DOS partition table.
2^32 512byte sectors is max. You have to use an EFI partition table
(GDT I think it is called) to use larger partitions.
So repartition with the new partition format (which probably means you
can't boot from the drive using a BIOS, only an EFI machine), then
reformat the partition and put the data back.
parted can make the new partition tables. For some info see:
http://www.cyberciti.biz/tips/fdisk-unable-to-create-partition-greater-2tb.html
--
Len Sorensen
Reply to: