hdds physically


 
Thread Tools Search this Thread
Operating Systems HP-UX hdds physically
# 1  
Old 04-21-2006
Question hdds physically

Hi,

I've a HP-UX 10x running on HP9000 box and also I have 3 scsi hdd(9Gb),
one of them is working. I need to check the other 2 hdd physically.

Is there an utility to check them from unix or another way to do it?

Thanks....
# 2  
Old 04-21-2006
Not sure what you want to check for. One idea is to use dd to read from the disk and write to /dev/null.
# 3  
Old 04-21-2006
Hi,

I want to check if the hdd hasn't a physical damage (bad cluster or sectors).
# 4  
Old 04-21-2006
Then use dd to read the whole thing and see if that works.
# 5  
Old 04-22-2006
MySQL Hi

Here is Steps,

#ioscan -fnCdisk
the disk will displayed as /dev/dsk/c#t#d#
identify the disk which you need to check
use dd command to identify the disk as well as check for bad blocks
#dd if=/dev/dsk/c#t#d# of=/dev/null bs=512 (The disk will start blinking once i/o operations will start)

Regards,

Awadhesh
# 6  
Old 04-28-2006
I would rather dd from the raw device and read bigger chunks
e.g.
dd if=/dev/rdsk/c?t?d? of=/dev/null bs=1024k

If your disk is defunct then the command would probably hang and could not be killed.
Therefore better start it as a batch job,
or if run from the console run tsm before
to have another virtual terminal to leave you a prompt.

You could also let the device try to identify

diskinfo -v /dev/rdsk/c?t?d?

If not all fields are populated there might be a problem with the disk.

Also see if ioscan reports loss of hardware

/usr/sbin/ioscan -fCdisk|grep NO_HW

If you have OnlineDiag installed (swlist OnlineDiag)
you could run stm and read info logs of disk.

If you have EMS running you should check its log for any
monitoring events
more /var/opt/resmon/logs/event.log
But if you had it should have warned you by some notification email.
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. AIX

IBM AIX 5.2 cloning Hdds

I have an old IBM Power 5 9111-520 that has data on it but the system is failing. I need to move it to a more reliable server. The current system has two drives and no raid. I would like to setup my "newer" system with raid and two partitions then clone my setup over. What is the best way to do... (2 Replies)
Discussion started by: BDC80
2 Replies

2. Solaris

SPARC T4-1/Solaris 11/Add 2 new HDDs in RAID 0 configuration

Hi, Couple of sentences for background: I'm a software developer, whose task was to create a server software for our customer. Software is ready for deployment and customer has a new T4-1 SPARC, but somehow it also became my task also to setup the server. I have managed to get the server is up... (13 Replies)
Discussion started by: julumme
13 Replies

3. Solaris

Physically identify hard disk.

Hi, I have a failed hard disk in my Sun Fire V240. Unfortunately it does not show up in 'cfgadm -al' or in the format command so I cannot unconfigure it and illuminate the blue light on the front to identify it. Is there any way of iluminating the blue lights on the other disks so I can at... (3 Replies)
Discussion started by: sparcman
3 Replies

4. Solaris

How to check if rsc is physically exist

I have a bunch of servers that cant connect via rsc, but supposingly they can connect... Any chance I can check if the rsc card is physically exist in the server by some command? Some of the machines are in overseas, and I won't go datacenter to check anyways... Many Thanks! (6 Replies)
Discussion started by: nicole0404
6 Replies
Login or Register to Ask a Question