Solaris 9: no Serial Number for non SUN sd hardware

  • Follow


Hi,

we figured out, that the serial number of a sd disk isn't available, if the
hardware is not from SUN. This check is done in the sd driver by comparing
the inquiry data against the Vendor SUN.
Is there a bypass for this check of the inquiry data, to get the serial
number?

Thanks a lot,

Uli



0
Reply Ulrich 12/15/2003 9:57:05 AM


Ulrich Clement wrote:

> Hi,
> 
> we figured out, that the serial number of a sd disk isn't available, if the
> hardware is not from SUN. This check is done in the sd driver by comparing
> the inquiry data against the Vendor SUN.
> Is there a bypass for this check of the inquiry data, to get the serial
> number?
> 
> Thanks a lot,
> 
> Uli
> 
> 
> 

Have you tried iostat -En?

snip on one of my host

c3t2d0          Soft Errors: 4 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU  Product: MAJ3182M SUN18G  Revision: 0804 Serial No: 
03P32662
Size: 18.11GB <18110967808 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 4 Predictive Failure Analysis: 0
c3t3d0          Soft Errors: 4 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU  Product: MAJ3182M SUN18G  Revision: 0804 Serial No: 
03P33127
Size: 18.11GB <18110967808 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 4 Predictive Failure Analysis: 0
c3t4d0          Soft Errors: 4 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE  Product: ST318203LSUN18G  Revision: 034A Serial No: 
LR30479200001008
Size: 18.11GB <18110967808 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 4 Predictive Failure Analysis: 0


Shivakanth

0
Reply Shivakanth 12/15/2003 12:28:12 PM


Ulrich Clement <ucle@gmx.de> wrote:
> we figured out, that the serial number of a sd disk isn't available, if the
> hardware is not from SUN. This check is done in the sd driver by comparing
> the inquiry data against the Vendor SUN.

Not at all.  Solaris will return the serial number as returned by a
SCSI inquiry command.  Most hardware returns a serial number here, some
(generally non-standard) things don't.

  Scott.
0
Reply Scott 12/15/2003 12:42:27 PM

Shivakanth Mundru wrote:
> 
> 
> Ulrich Clement wrote:
> 
>> Hi,
>>
>> we figured out, that the serial number of a sd disk isn't available, 
>> if the
>> hardware is not from SUN. This check is done in the sd driver by 
>> comparing
>> the inquiry data against the Vendor SUN.
>> Is there a bypass for this check of the inquiry data, to get the serial
>> number?
>>
>> Thanks a lot,
>>
>> Uli
>>
>>
>>
> 
> Have you tried iostat -En?
> 
> snip on one of my host
> 
> c3t2d0          Soft Errors: 4 Hard Errors: 0 Transport Errors: 0
> Vendor: FUJITSU  Product: MAJ3182M SUN18G  Revision: 0804 Serial No: 
> 03P32662
> Size: 18.11GB <18110967808 bytes>
> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
> Illegal Request: 4 Predictive Failure Analysis: 0
> c3t3d0          Soft Errors: 4 Hard Errors: 0 Transport Errors: 0
> Vendor: FUJITSU  Product: MAJ3182M SUN18G  Revision: 0804 Serial No: 
> 03P33127
> Size: 18.11GB <18110967808 bytes>
> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
> Illegal Request: 4 Predictive Failure Analysis: 0
> c3t4d0          Soft Errors: 4 Hard Errors: 0 Transport Errors: 0
> Vendor: SEAGATE  Product: ST318203LSUN18G  Revision: 034A Serial No: 
> LR30479200001008
> Size: 18.11GB <18110967808 bytes>
> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
> Illegal Request: 4 Predictive Failure Analysis: 0
> 
> 
> Shivakanth
> 

This unfortunately does not help the OP (i'm  sure he has tried iostat). 
All of your disks have Sun product details, and thus return serial 
numbers. In my config, I have a mix of disks - the Sun products return 
serial numbers, the non-Sun do not.

I unfortunately cannot get scsiinfo to build under S9 or Express, so 
cannot try that :-(

0
Reply Beardy 12/15/2003 1:11:34 PM

Hi again,

 I tried this with iostat -En,  too, my output is ok for Solaris 8, but on
Solaris 9 the Serial No. is missing:

SunOS erld130x 5.9 Generic_112233-10 sun4us sparc FJSV,GPUZC-L
c0t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0

Vendor: FUJITSU Product: MAP3735NC Revision: 3701 Serial No:

Size: 73.49GB <73494536192 bytes>

Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0

Illegal Request: 0 Predictive Failure Analysis: 0

c1t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0

Vendor: FUJITSU Product: MAP3735NC Revision: 3701 Serial No:

Size: 73.49GB <73494536192 bytes>

Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0

Illegal Request: 0 Predictive Failure Analysis: 0

Bye,
Uli
"Shivakanth Mundru" <smundru@cox-internet.com> schrieb im Newsbeitrag
news:vtra6uaqi3h5f1@corp.supernews.com...
>
>
> Ulrich Clement wrote:
>
> > Hi,
> >
> > we figured out, that the serial number of a sd disk isn't available, if
the
> > hardware is not from SUN. This check is done in the sd driver by
comparing
> > the inquiry data against the Vendor SUN.
> > Is there a bypass for this check of the inquiry data, to get the serial
> > number?
> >
> > Thanks a lot,
> >
> > Uli
> >
> >
> >
>
> Have you tried iostat -En?
>
> snip on one of my host
>
> c3t2d0          Soft Errors: 4 Hard Errors: 0 Transport Errors: 0
> Vendor: FUJITSU  Product: MAJ3182M SUN18G  Revision: 0804 Serial No:
> 03P32662
> Size: 18.11GB <18110967808 bytes>
> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
> Illegal Request: 4 Predictive Failure Analysis: 0
> c3t3d0          Soft Errors: 4 Hard Errors: 0 Transport Errors: 0
> Vendor: FUJITSU  Product: MAJ3182M SUN18G  Revision: 0804 Serial No:
> 03P33127
> Size: 18.11GB <18110967808 bytes>
> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
> Illegal Request: 4 Predictive Failure Analysis: 0
> c3t4d0          Soft Errors: 4 Hard Errors: 0 Transport Errors: 0
> Vendor: SEAGATE  Product: ST318203LSUN18G  Revision: 034A Serial No:
> LR30479200001008
> Size: 18.11GB <18110967808 bytes>
> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
> Illegal Request: 4 Predictive Failure Analysis: 0
>
>
> Shivakanth
>


0
Reply Ulrich 12/15/2003 1:22:56 PM

4 Replies
610 Views

(page loaded in 0.422 seconds)

Similiar Articles:













7/24/2012 2:50:19 AM


Reply: