- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to dentify bad disk
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2005 04:44 AM
тАО06-21-2005 04:44 AM
How to dentify bad disk
Is there away to send a signal that will make a disk bad/good flash so that it is easliy identified? This would be on a local scsi disk on an rx7620.
thanks
diane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2005 04:46 AM
тАО06-21-2005 04:46 AM
Re: How to dentify bad disk
It will show NO_HW if the disk has power but has failed.
I've attached a script that does what you need.
Please make sure you change the email address in this script. If not it will email me at my old job, which I no longer have.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2005 04:47 AM
тАО06-21-2005 04:47 AM
Re: How to dentify bad disk
dd if=/dev/rdsk/cxtxdx of=/dev/null bs=1024k
man dd for details.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2005 04:58 AM
тАО06-21-2005 04:58 AM
Re: How to dentify bad disk
But how do I id the disk if there is more than 1 on the local system? Let's say
you have /dev/dsk/c0t6d0 and /dev/dsk/c3t6d0. And I know that c3t6d0 is bad. Now I go out to the system and look at it. Which one is the broken one? Can I make the led flash on the good drive so I don't accidentally replace it.
I guess dd will work if I'm standing in front of the system and watch for disk activity.
Thanks again.
ps All my disk are running, I'm just curious if there's a command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2005 05:24 AM
тАО06-21-2005 05:24 AM
Re: How to dentify bad disk
hwmgr locate component -id 56 -time 30
diane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2005 05:34 AM
тАО06-21-2005 05:34 AM
Re: How to dentify bad disk
There is no way to flash an LED or do something to the same meaning that you can do from the HPUX. Even though dd (with a read from this drive and write to null, i.e., if=/dev/rdsk/cXtXdX of=/dev/null) can give an indication but for a totally powerfailed drive or on a busy system, where all the drives are being hammered by constant access, this dd may not be trusted.
The trust comes from knowing the device h/w paths. Unfortunately, there is no single document I could find which identifies every system/model of PA-RISC or Itanium systems' h/w paths. You may need to dig that up from your HP support engineers or from the owners of other systems.
when you run ioscan, you see the h/w paths as something like 0/0/1/1.0.0 from the following example:
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 1 0/0/1/1.0.0 sdisk CLAIMED DEVICE SEAGATE ST336704LC
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
this hardware paths directly identifies one single drive and depending on your server's particular model you can tell which device is this one.
On the newer servers, there are even inscribed markings of drive paths and/or scsi id's to tell you which drive is which if the drive is externally accesible.
Hope this helps
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2005 05:40 AM
тАО06-21-2005 05:40 AM
Re: How to dentify bad disk
Thank you for all the help.
diane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2005 05:41 AM
тАО06-21-2005 05:41 AM