- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- drive testing from comand line -mediainit help
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
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
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
10-21-2004 05:33 AM
10-21-2004 05:33 AM
drive testing from comand line -mediainit help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 05:41 AM
10-21-2004 05:41 AM
Re: drive testing from comand line -mediainit help
Only test that I believe in is the 'dd' . Do the dd continuously and if you don't get any IO errors, then you can call it a good disk.
dd if=/dev/rdsk/cxtydz of=/dev/null bs=1024k
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 05:44 AM
10-21-2004 05:44 AM
Re: drive testing from comand line -mediainit help
WE do not use mediainit anymore. WE hardly run into problems. Most of the time, once the disk allocation is done, we go ahead and start using it (adding to VG and creating lvs etc). Till date i wasn't required to do stm exercise on it even once.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 06:02 AM
10-21-2004 06:02 AM
Re: drive testing from comand line -mediainit help
If you really want to do serious disk drive testing, go for ODE (Offline Diagonstics Environment).
dd does just a plain read of the drive, which is OK in most of the cases.
ODE can do extensive pattern reading/writing tests, after which you can be dead sure the drives are OK.
The only disadvantage with ODE I see is that it is labor intensive. you will have to reboot the system, get in to the ISL prompt, load ODE and run the tests. You can not script it or something.
Let me know if this is something you want to look at. I can point you the directions.
- Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 06:38 AM
10-21-2004 06:38 AM
Re: drive testing from comand line -mediainit help
There's something wrong with adding the drives into volume groups if you're getting errors that do not show up with STM. vgcreate, lvcreate and newfs do almost nothing to the disk (a few sectors are written) so errors at that point means that addressing is wrong or something strange is happening with the LVM commands.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 07:00 AM
10-21-2004 07:00 AM
Re: drive testing from comand line -mediainit help
Thanks everyone for the replys!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 08:18 AM
10-21-2004 08:18 AM
Re: drive testing from comand line -mediainit help
Refer the Offline Diagnostics section in http://docs.hp.com/hpux/diag/index.html
You can use ODE in couple of ways
1) Copy ODE utils to the boot disk and boot from it.
/usr/sbin/diag/lif/updatediaglif* files contain the ODE lif volumes and utilities. Use mkboot to copy them to the boot disk.
2) Boot from the support plus CD and use ODE from the CD. The ODE tools available from the LIF volume mentioned above are "non-destructive" tools. The ODE tools in the Support plus CD also include destructive tools.
- Sundar