Why LSI SAS 3442E can't detect 3TB drive capacity on CentOS 4.9?

General support questions including new installations
Post Reply
sscn2011
Posts: 3
Joined: 2011/07/25 02:38:35

Why LSI SAS 3442E can't detect 3TB drive capacity on CentOS 4.9?

Post by sscn2011 » 2011/08/02 12:24:41

Hi,

I used one LSI SAS3442E-R HBA card to attach one 3TB Drive but got 2.2TB capacity on CentOS 4.9. However, the intel MB SATA port could detect 3TB drive correctly. Even I updated the LSI latest RHEL4 driver from its website, there was still no luck on LSI SAS 3442E-R.

======

1) Kernel message

mptbase: Initiating ioc0 bringup
ioc0: SAS1068E: Capabilities={Initiator}
scsi4 : ioc0: LSISAS1068E, FwRev=011a0000h, Ports=1, MaxQ=266, IRQ=169
Vendor: ATA Model: WDC WD30EZRS-00J Rev: 0A80
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sdb: 4294967294 512-byte hdwr sectors (2199023 MB)
SCSI device sdb: drive cache: write back
SCSI device sdb: 4294967294 512-byte hdwr sectors (2199023 MB)
SCSI device sdb: drive cache: write back
sdb: unknown partition table
Attached scsi disk sdb at scsi4, channel 0, id 70, lun 0
Fusion MPT SPI Host driver 3.12.29.00rh

2) fdisk info

root@localhost fusion]# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 19457 156183930 8e Linux LVM

Disk /dev/sdb: 2199.0 GB, 2199023254528 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table
[root@localhost fusion]#

[root@localhost 3tb]# uname -a
Linux localhost.localdomain 2.6.9-101.ELsmp #1 SMP Thu Jul 21 17:28:56 EDT 2011 i686 i686 i386 GNU/Linux
[root@localhost 3tb]#

======

Could anyone know the possible reason behind?

Thanks in advance,

SSCN

sscn2011
Posts: 3
Joined: 2011/07/25 02:38:35

Re: Why LSI SAS 3442E can't detect 3TB drive capacity on CentOS 4.9?

Post by sscn2011 » 2011/08/02 12:29:56

More details...

If use Intel MB SATA ports, OS can detect 3TB drive correctly

======

1) Kernel message

Vendor: ATA Model: WDC WD30EZRS-00J Rev: 80.0
Type: Direct-Access ANSI SCSI revision: 05
sdb : very big device. try to use READ CAPACITY(16).
SCSI device sdb: 5860533168 512-byte hdwr sectors (3000593 MB)
SCSI device sdb: drive cache: write back
sdb : very big device. try to use READ CAPACITY(16).
SCSI device sdb: 5860533168 512-byte hdwr sectors (3000593 MB)
SCSI device sdb: drive cache: write back
sdb: unknown partition table
Attached scsi disk sdb at scsi1, channel 0, id 1, lun 0
ata_piix 0000:00:1f.5: MAP [ P0 -- P1 -- ]
ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 177
PCI: Setting latency timer of device 0000:00:1f.5 to 64
ata3: SATA max UDMA/133 cmd 0x1888 ctl 0x183E bmdma 0x1870 irq 177
ata4: SATA max UDMA/133 cmd 0x1880 ctl 0x183A bmdma 0x1878 irq 177
scsi2 : ata_piix
scsi3 : ata_piix
device-mapper: 4.5.5-ioctl (2006-12-01) initialised: dm-devel@redhat.com

2) fdisk info

[root@localhost ~]# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 19457 156183930 8e Linux LVM

Disk /dev/sdb: 3000.5 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table
[root@localhost ~]#

======

Thanks...

foxb
Posts: 1924
Joined: 2006/04/20 19:03:33
Location: Montreal/QC

Why LSI SAS 3442E can't detect 3TB drive capacity on CentOS

Post by foxb » 2011/08/02 15:44:26

Is 3TB drive validated for your controller? Did you upgrade to latest BIOS?

http://kb.lsi.com/KnowledgebaseArticle16481.aspx?Keywords=3TB

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Why LSI SAS 3442E can't detect 3TB drive capacity on CentOS 4.9?

Post by pschaff » 2011/08/02 18:24:19

It looks like the disk is recognized. Are you aware that you must use a GPT partition table and tools other than the standard fdisk for > 2TB? See [url=http://www.cyberciti.biz/tips/fdisk-unable-to-create-partition-greater-2tb.html]Creating a Partition Size Larger than 2TB[/url] and other results from a google on [url=http://www.google.com/search?q=fdisk+gpt&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&safe=active]fdisk gpt[/url].

sscn2011
Posts: 3
Joined: 2011/07/25 02:38:35

Re: Why LSI SAS 3442E can't detect 3TB drive capacity on CentOS 4.9?

Post by sscn2011 » 2011/08/03 11:51:21

Hi,

Thanks for your nice input. I basically confirm that LSI SAS 3442E-R could not see 3TB Drive full capacity for its BIOS/FW limitation.

Also, there is no luck to use GNU parted to have OS to detect 3TB Drive correctly via LSI SAS HBA card.

BUT I can see 3TB correctly if use smartctl -a. Does it mean I can access 3TB drive fully. i.e. I can write/read every LBA on 3TB drive???

------

[root@localhost sscn]# fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 2199.0 GB, 2199023254528 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 267350 2147483646+ ee EFI GPT

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 104391 83 Linux
/dev/sdb2 14 19457 156183930 8e Linux LVM

[root@localhost sscn]# smartctl -i /dev/sda
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model: WDC WD30EZRS-00J99B0
Serial Number: WD-WCAWZ0247848
Firmware Version: 80.00A80
User Capacity: 3,000,592,982,016 bytes
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 8
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Wed Aug 3 19:48:00 2011 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

[root@localhost sscn]#

------

Thanks again,

SSCN

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Why LSI SAS 3442E can't detect 3TB drive capacity on CentOS 4.9?

Post by pschaff » 2011/08/03 12:44:18

The fdisk output told you - use GNU parted.

Post Reply

Return to “CentOS 4 - General Support”