Operating System - HP-UX
1752353 Members
6576 Online
108787 Solutions
New Discussion юеВ

Re: Hard drive running HP-UX 10.20

 
lrf_2
New Member

Hard drive running HP-UX 10.20

Is there a command I can send to a server to identify the hard drive?
7 REPLIES 7
Pete Randall
Outstanding Contributor

Re: Hard drive running HP-UX 10.20

"ioscan -fnCdisk" will give some information, like manufacture and model. "diskinfo" will also provide details.


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: Hard drive running HP-UX 10.20

Hi:

There's the old "watch-the-lights" method:

# dd if=/dev/rdsk/cXtYdZ of=/dev/null bs=1024k

...which will read the target device. Kill it when you are done with control-C.

Regards!

...JRF...
lrf_2
New Member

Re: Hard drive running HP-UX 10.20

Thanks folks. I looked at the man pages for ioscan cmd and am concerned that I may impact a production server. Is ioscan -fnCdisk intrusive; potenitally impact or change the server?
Pete Randall
Outstanding Contributor

Re: Hard drive running HP-UX 10.20

No, no and no. Not intrusive, no impact and no change. Inquiry only - it just reports what it sees.


Pete

Pete
Bill Hassell
Honored Contributor

Re: Hard drive running HP-UX 10.20

And rather than scan every possible disk address on the system, you can get an immediate result from the kernel with -k:

ioscan -knfC disk

Zero impact to the system.


Bill Hassell, sysadmin
lrf_2
New Member

Re: Hard drive running HP-UX 10.20

Thanks folks!
Viktor Balogh
Honored Contributor

Re: Hard drive running HP-UX 10.20

There is also a diskinfo command which displays the type of the disk, you should feed it with a raw device name.
****
Unix operates with beer.