Sadly, I think it's more complicated, but that might be it.  I had lots of fun 
w/ the sector size reporting.  I went around and around w/ the Toshiba for 
days.  This was in conjunction w/ getting an RMA from HGST which replaced a 512 
sector drive w/ a 4k sector drive.  I *did* get that to work w/ Sol 10_u8 , but 
it was a huge effort. I recall I fiddled w/ sd.conf a lot trying to get the 
Toshiba pool to align properly.  I was on the verge of cutting the Toshiba 
enclosure open so I could attach to the SATA port when I figured out how to 
make it work.

It's entirely possible that I labeled the Toshiba on Linux and then created the 
zpool on 151a7.  I know I labeled and formatted the disk on Linux several times 
and was very frustrated that it worked w/ Linux but not OI.

I find the blank partition table a bit disturbing.  I was trying a lot of 
different things trying to find a way to make it work and making lots of noise 
on the list in the process.  I might even have written something coherent.  Not 
likely, but it might not hurt to search the list archives.

We  got  a solid sheet of 2-3" of sleet on the ground last night, so I'm not 
going anywhere.  I'll see if I can find any other bread crumbs.  Please suggest 
anything you'd like me to try, as long as it's not something that will wipe the 
drive ;-)

It used to be that my canonical test for admin experience was to mention 
modems.  If they cringed, I knew they were experienced.  Now I think I'd 
mention attaching a 6 TB disk.

Have Fun!
Reg


--------------------------------------------
On Mon, 2/16/15, Andrew Gabriel <[email protected]> wrote:

 Subject: Re: [OpenIndiana-discuss] HP Proliant Microserver N54L Upgrade
 To: "Reginald Beardsley" <[email protected]>, "Discussion list for 
OpenIndiana" <[email protected]>
 Date: Monday, February 16, 2015, 9:12 AM
 
 Your drive is claiming to
 be 4kB/sector, which would increase the max 
 drive size up to 16TB, if the 12 byte SCSI
 command limitation applies 
 (which is just
 my speculation).
 
 So this
 would indicate a work-a-round for the 2TB limit is to use a
 
 drive which reports a real 4k sector
 size.
 
 
 Reginald Beardsley via openindiana-discuss
 wrote:
 > I got a 3 TB Toshiba Canvio USB
 drive to format using 151a7 on an N40L.
 >
 > >From my notes:
 >
 > "The key to
 formatting the 3 TB drive was to use "format -e",
 supply LBA pseudo geometry and create an EFI label.  NB
 must run fdisk from within format"
 >
 > However, it's not
 clear this was the USB drive rather than a bare 3 TB SATA
 drive.  I was battling several things and a few years later
 it's not as clear as it seemed when I wrote it.  I
 vividly recall I had a lot of trouble getting it to work
 properly, and considered just giving the drive to a friend
 to use on his Mac.
 >
 >
 But yes, it can be made to work.  I use it to save
 incrementals from  my backup server.
 >
 > The following  is w/
 the drive imported to my 151a8 internet access host.
 >
 >  # zpool get all
 tosh_pool
 > NAME   
    PROPERTY           
    VALUE                  SOURCE
 > tosh_pool  size               
    2.72T                  -
 > tosh_pool  capacity           
    49%                    -
 > tosh_pool  altroot               
 -                      default
 > tosh_pool  health             
    ONLINE                 -
 > tosh_pool  guid               
    556785976751203449     default
 > tosh_pool  version               
 -                      default
 > tosh_pool  bootfs             
    -                      default
 > tosh_pool  delegation         
    on                 
    default
 > tosh_pool 
 autoreplace            off                 
   default
 > tosh_pool  cachefile   
           -                      default
 > tosh_pool  failmode           
    wait               
    default
 > tosh_pool 
 listsnapshots          off                   
 default
 > tosh_pool  autoexpand     
        off                   
 default
 > tosh_pool  dedupditto     
        0                     
 default
 > tosh_pool  dedupratio     
        1.00x                  -
 > tosh_pool  free               
    1.36T                  -
 > tosh_pool  allocated             
 1.36T                  -
 >
 tosh_pool  readonly               off   
                 -
 > tosh_pool 
 comment                -                 
     default
 > tosh_pool  expandsize 
            0                     
 -
 > tosh_pool  freeing           
     0                      default
 > tosh_pool  feature@async_destroy 
 enabled                local
 >
 tosh_pool  feature@empty_bpobj 
   enabled                local
 >
 tosh_pool  feature@lz4_compress   disabled 
              local
 >
 >
 > and:
 >
 > format> verify
 >
 > Volume name = < 
       >
 > ascii name  =
 <Toshiba-External USB 3.0-3704-2.73TB>
 > bytes/sector    =  4096
 > sectors = 732566645
 >
 accessible sectors = 732566640
 > Part 
     Tag    Flag     First Sector     
    Size         Last Sector
 >   0 unassigned    wm     
            0           0   
            0    
 >   1 unassigned    wm     
            0           0   
            0    
 >   2 unassigned    wm     
            0           0   
            0    
 >   3 unassigned    wm     
            0           0   
            0    
 >   4 unassigned    wm     
            0           0   
            0    
 >   5 unassigned    wm     
            0           0   
            0    
 >   6 unassigned    wm     
            0           0   
            0    
 >   7 unassigned    wm     
            0           0   
            0    
 >   8 unassigned    wm     
            0           0   
            0    
 >
 >
 > Which looks wrong, so
 I'm not sure what's going on.  I had loads of fun
 w/ the sector alignment.  You should look at the ZFS
 pages.  Klimov and I tried to document some of this
 stuff.  George Wilson's writeup proved quite important,
 so make sure you read that also.
 >
 > http://wiki.illumos.org/display/illumos/ZFS+and+Advanced+Format+disks
 >
 > I did this on the
 N40L which is powered down at the moment, but there is
 probably more info on that.  The notes quoted above are
 from my log book.
 >
 >
 Reg
 >
 >
 --------------------------------------------
 > On Mon, 2/16/15, Andrew Gabriel <[email protected]>
 wrote:
 >
 >  Subject:
 Re: [OpenIndiana-discuss] HP Proliant Microserver N54L
 Upgrade
 >  To: "Discussion list for
 OpenIndiana" <[email protected]>
 >  Date: Monday, February 16, 2015, 5:20
 AM
 >  
 >  Marion
 Hakanson wrote:
 >  > Has anyone out
 there actually got a drive > 2TB
 > 
 working via USB on
 >  > an illumos
 distribution?  My attempts so far have
 >  failed (oi151a7, oi151a9,
 >  > and XStreamOS), with my 3TB drive
 in a USB-SATA
 >  enclosure appearing
 as
 >  > a 2TB drive.  The same
 drive/enclosure works
 >  perfectly when
 attached
 >  > to MacOS-X via USB, and
 the same drive/enclosure works
 >  fine
 when attached
 >  > by its eSATA
 connection to my illumos-based systems.
 >  >
 >  > 
 >https://www.mail-archive.com/[email protected]
 >  > stbox.com/msg00499.html
 >  [2nd attempt - first vanished into a
 black hole]
 >  
 >  I
 had a quick look through scsa2usb.c (not that it's an
 area
 >  I know), 
 > 
 and I can only see it using Group 5 (12 byte) SCSI
 commands.
 >  This will 
 >  limit the addressing to 2^32 blocks,
 which is 2TB for a
 >  512byte/sector
 disk.
 >  
 >  So if
 I'm right, this is a limitation of USB-connected
 >  drives on Illumos.
 >  
 >  -- 
 >  Andrew
 >  
 > 
 _______________________________________________
 >  openindiana-discuss mailing list
 >  [email protected]http://openindiana.org/mailman/listinfo/openindiana-discuss
 >  
 >
 >
 _______________________________________________
 > openindiana-discuss mailing list
 > [email protected]
 > http://openindiana.org/mailman/listinfo/openindiana-discuss
 > .
 >
 >   
 
 

_______________________________________________
openindiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to