HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Commands for reviewing disk health
Operating System - HP-UX
1834814
Members
2367
Online
110070
Solutions
Forums
Categories
Company
Local Language
back
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
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
08-05-2007 07:25 AM
08-05-2007 07:25 AM
what commands could i use to verify if a disk is bad or not?
what kind of errors would appear?
thanks.
what kind of errors would appear?
thanks.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2007 07:44 AM
08-05-2007 07:44 AM
Solution
Hi Manuales:
I know from an earlier post that you have STM and EMS installed and they will often alert you to a failing device.
For mirrored logical volumes, look for any "stale" extents with 'lvdisplay'.
If you suspect a bad disk, you can test it thusly:
# dd if=/dev/rdsk/cXtYdZ of=/dev/null bs=1024k count=1000
Note the use of the RAW disk device to bypass the LVM layer. This command will read 1,000 blocks of 1024k bytes. If there are no errors, you will see an equal number of input and output record counts:
1000+0 records in
1000+0 records out
The above is a quick test. A more exhaustive one is to let 'dd' run until it gets an EOF condition.
Regards!
...JRF...
I know from an earlier post that you have STM and EMS installed and they will often alert you to a failing device.
For mirrored logical volumes, look for any "stale" extents with 'lvdisplay'.
If you suspect a bad disk, you can test it thusly:
# dd if=/dev/rdsk/cXtYdZ of=/dev/null bs=1024k count=1000
Note the use of the RAW disk device to bypass the LVM layer. This command will read 1,000 blocks of 1024k bytes. If there are no errors, you will see an equal number of input and output record counts:
1000+0 records in
1000+0 records out
The above is a quick test. A more exhaustive one is to let 'dd' run until it gets an EOF condition.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2007 08:17 AM
08-05-2007 08:17 AM
Re: Commands for reviewing disk health
Hi James ..
yeap, i remember you told me about STM and EMS , but also i want to learn commands on line ......
thanks for the command, i will verify it and also i will study about STM and EMS .. thanks a lot !!!!
Regrads, Dani.
yeap, i remember you told me about STM and EMS , but also i want to learn commands on line ......
thanks for the command, i will verify it and also i will study about STM and EMS .. thanks a lot !!!!
Regrads, Dani.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP