1832094 Members
3007 Online
110038 Solutions
New Discussion

Disk serial Number??

 
KCS_1
Respected Contributor

Disk serial Number??

Hi,members!
My system is running on L2000 box and hpux11.0. A few days ago, I changed my new external drive cause disk fault from old external drive to new external drive same product and my syster is running on-line service. after changed my disk drive(C6399-63001,ST318404LW,18G),don't know my new disk drive's serial Number. I tried to STM and some kinds of shells on system for got the serial number. They said "serial : 3BT0MMGG00007201JNWN" but, I think , that serial number is longer compare with old serial number. so want to know new disk drive's Serial number exactly. I have no idea how do I do about my problem. please tell me any solution.

p.s

my system has to running continue

thanks for regards
Easy going at all.
7 REPLIES 7
Jeff Schussele
Honored Contributor

Re: Disk serial Number??

Hi,

The sysinfo utility will normally give you the disk serial numbers. Can be had at:

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/

You'll have to download the source & compile it for 11.0.

Soemone may post a link for an 11.0 binary.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Michael Tully
Honored Contributor

Re: Disk serial Number??

You can also use 'mstm' to get the information.

mstm
F2
highlight the disk
select tools from the menu
information --> run

This will display the serial number.

I'm sure this can be scripted though cstm, will this will get it.
Anyone for a Mutiny ?
KCS_1
Respected Contributor

Re: Disk serial Number??

Thanks your your replied.

I have been run "mstm" before but, They said "serial : 3BT0MMGG00007201JNWN" , above mentioned like that.

Do you have any methods?
Easy going at all.
Michael Tully
Honored Contributor

Re: Disk serial Number??

How about using cstm in a script:

# echo "selclass type disk;info;wait;infolog" | cstm >/tmp/disk.out

This will get all disk serial numbers.

Anyone for a Mutiny ?
harry d brown jr
Honored Contributor

Re: Disk serial Number??

if you don't trust "STM" then stop the system, pull the drive out, and physically inspect the serial number, or better YET, check your Bill of Lading!

live free or die
harry
Live Free or Die
Ionut Grigorescu_2
Super Advisor

Re: Disk serial Number??

Hi,

if u have a FC60 you can type

#amdsp -i

and you'll receive a S/N from the disk array, then

#amdsp -a

and you'll have a long list containing also the S/Ns of the disks in the disk array.
If it weren't for STRESS I'd have no energy at all
Jean-Louis Phelix
Honored Contributor

Re: Disk serial Number??

hi,

In a previous post, someone asked to get SN programmatically :

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x39a63a1c04ffd61190050090279cd0f9,00.html

I attached my last C program (just use make to compile it) and give a special file as an argument to get the SN.

Regards.
It works for me (© Bill McNAMARA ...)