[OpenIndiana-discuss] Seagate 3000GB Drive only shows 746GB

Reginald Beardsley pulaskite at yahoo.com
Fri Sep 28 21:15:23 UTC 2012


There are at least 3 issues here:

1) USB drives can't use format(1m).  The man page for rmformat(1m) suggests it will create an EFI label for disks over 1 TB, but it doesn't appear to work.  See below.

2) The USB mass storage driver may not handle disks over 1 TB.  I know that was the case w/ Sol 10 u7 when I tried to use a 1.5 TB USB disk. In that case, Solaris simply refused to see the device at all even though Linux and Windows did.  

3) As noted, the USB/SATA interface in the enclosure may not handle disks over 1 TB.  A more recent enclosure should solve that problem.
If the disk came in the enclosure, then it should work and it's probably a driver issue.

As an experiment I hooked up the Hitachi drive I'm about to RMA because of SMART warnings about sector reallocation via a USB<->SATA adaptor.


# cat /media/FLASH/hitachi_3tb.dat
#
# New disk/partition type  saved on Sun Jun 12 13:34:11 2011
#
disk_type = "Hitachi 3 TB" \
	 : ctlr = ata : ncyl = 60798 : acyl = 2 : pcyl = 60800 \
	 : nhead = 255 : nsect = 378 : rpm = 7200

partition = "Hitachi 3 TB" \
	 : disk = "Hitachi 3 TB" : ctlr = ata \
	 : 2 =  0, 1565544704 : 6 =  3, 1565062754 : 8 =  0, 96390 \
	 : 9 =  1, 192780

# rmformat
Looking for devices...
     1. Logical Node: /dev/rdsk/c1t0d0p0
        Physical Node: /pci at 0,0/pci10de,cb79 at 4,1/storage at 4/disk at 0,0
        Connected Device: Single   Flash Reader     1.00
        Device Type: <Unknown>
	Bus: USB
	Size: <Unknown>
	Label: <Unknown>
	Access permissions: <Unknown>
     2. Logical Node: /dev/rdsk/c2t0d0p0
        Physical Node: /pci at 0,0/pci10de,cb79 at 6,1/storage at 3/disk at 0,0
        Connected Device: Hitachi  HDS723030ALA640  A3B0
        Device Type: Removable
	Bus: USB
	Size: 764.4 GB
	Label: <None>
	Access permissions: Medium is not write protected.
     3. Logical Node: /dev/rdsk/c4t0d0p0
        Physical Node: /pci at 0,0/pci10de,cb79 at 6,1/storage at 2/disk at 0,0
        Connected Device:          USB Disk         8.07
        Device Type: Removable
	Bus: USB
	Size: 15.4 GB
	Label: <Unknown>
	Access permissions: Medium is not write protected.
# rmformat -b HGST -s /media/FLASH/hitachi_3tb.dat /dev/rdsk/c2t0d0p0
Not a removable media device


fdisk has this to say:

             Total disk size is 48725 cylinders
             Cylinder size is 32130 (512 byte) blocks

                                               Cylinders
      Partition   Status    Type          Start   End   Length    %
      =========   ======    ============  =====   ===   ======   ===
          1       Active    Solaris2          1  48724    48724    100

I tried to tell fdisk the sensible values, but fdisk wasn't buying it.

In this case I don't know if the USB<->SATA interface can handle large disks, but I do know that Sol 10 u8 can create a 2.79 TB pool on the drive using the information in the disk config file if it's connected to the SATA controller in an HP Z400.


I can't say where the problem lies, but because the disk works via a SATA connection but not via USB, I think it's somewhere in the USB<->SATA chain.  Unfortunately that has lots of moving parts :-(

Reg 



More information about the OpenIndiana-discuss mailing list