Point me at some Dtrace code and I'll see what I can learn.

Marion


Sent from my employer's iPad

> On Dec 9, 2014, at 8:23 PM, "Garrett D'Amore" <[email protected]> wrote:
> 
> Seems like it isn't using the right scsi commands to access the whole drive.  
> This might indeed be a bug in the scsa2usb layer. Investigation needed. 
> 
> Sent from my iPhone
> 
>> On Dec 9, 2014, at 8:07 PM, Marion Hakanson via illumos-discuss 
>> <[email protected]> wrote:
>> 
>> Greetings,
>> 
>> I'm trying out a 3TB SATA drive in one of those SATA-dock units
>> which plugs into either an eSATA port or a USB port.  The drive
>> works as I'd expect when connected to my 64-bit oi151a7 machine
>> via eSATA, I can "zpool create", etc., normally, seeing the full
>> capacity of the drive.
>> 
>> However, if I use USB, some problems show up.  This particular unit
>> claims to support up to 4TB drives, and things like "fdisk", "rmformat -l",
>> and "format -e" show a label describing all 3TB.  However, there are a
>> lot of these warnings in /var/adm/messages:
>> 
>> Dec  9 14:50:18 myhost scsi: [ID 107833 kern.warning] WARNING: 
>> /pci@0,0/pci1028,2da@1d/hub@1/storage@4/disk@0,0 (sd13):
>> Dec  9 14:50:18 myhost         Request rejected: too large for CDB: 
>> lba:0x15d506110  len:0x00000010
>> 
>> I'm able to "zpool import" a pool via USB that was created via eSATA,
>> despite the above messages, and the pool ("zfs list", etc.) appears
>> to be the right size.  But a "zdb -l" can only read the first two
>> labels from the drive when connected by USB, failing to read the
>> last two (and said failures correspond with new instances of the
>> above warnings appearing in /var/adm/messages).
>> 
>> I should also mention that the same error messages occur when connected
>> by USB to a machine running XStreamOS Desktop beta-3, which is a much
>> fresher release of illumos than my old oi151a7 system.
>> 
>> So, I'm curious if others have seen this with >2TB drives connected
>> by USB to illumos-based systems.  It's possible that I've just got a bad
>> USB-to-SATA device here, and if so, I'd appreciate hearing of specific
>> devices that others have had success with in connecting these larger
>> drives via USB to illumos.
>> 
>> Thanks and regards,
>> 
>> Marion
>> 
>> 
>> 
>> 
>> -------------------------------------------
>> illumos-discuss
>> Archives: https://www.listbox.com/member/archive/182180/=now
>> RSS Feed: https://www.listbox.com/member/archive/rss/182180/22003744-9012f59c
>> Modify Your Subscription: https://www.listbox.com/member/?&;
>> Powered by Listbox: http://www.listbox.com


-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to