Operating System - HP-UX
1751854 Members
5684 Online
108782 Solutions
New Discussion юеВ

How to find SCSI serial number of a disk drive?

 
Brendan Choi
Occasional Contributor

How to find SCSI serial number of a disk drive?

The diskinfo -v command shows some useful info on a disk drive, but it doesn't show the drive's serial number.

VxVM has vxdmpinq which does this. Is there a command in HP-UX which can do the same?
4 REPLIES 4
KCS_1
Respected Contributor

Re: How to find SCSI serial number of a disk drive?

Hi,

In my case, I have experienced the same problem on command prompt.

The answer was to use the mstm or cstm which are easy way to find that.

# mstm -> select 'disk' -> infomation -> run




Best Regards.

Patrick



Easy going at all.
Rajeev  Shukla
Honored Contributor

Re: How to find SCSI serial number of a disk drive?

run
echo "selclass qualifier hard;info;wait;infolog"|cstm that will give you info about all disks and if you just want serial number then
echo "selclass qualifier hard;info;wait;infolog"|cstm|grep "Serial Number"
But remember you need to have diagnostics loaded for stm to run
Suresh Patoria
Super Advisor

Re: How to find SCSI serial number of a disk drive?

Hi,

Use the lssf <> to find the SCSI serial no.

Thanx
I.Delic
Super Advisor

Re: How to find SCSI serial number of a disk drive?

You can use XSTM to if you have x server running.
Just select your disk en you wil get all inforamtion you need

success

Idriz