- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- How to reset the error count of 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
тАО12-03-2006 05:34 PM
тАО12-03-2006 05:34 PM
How to reset the error count of disk.
$ sh dev dsa6012:
Device Device Error Volume Free Trans Mnt
Name Status Count Label Blocks Count Cnt
DSA6012: Mounted 0 VAX_app12 32 2 2
$4$DUA3300: (UKMH4D) ShadowSetMember 46 (member of DSA6012:)
$4$DUA3200: (UKMH3F) ShadowSetMember 2 (member of DSA6012:)
If I analyze the error log i will get this error.
DEVICE SUMMARY LOGGED BY SID 17000201
ERRORS TIMEOUTS UCB ERROR UCB OPERATION
[HARD] [SOFT] [HARD] [SOFT] COUNT COUNT
_$4$DUA3200:
""
0. 2. 0. 0. 0. 0.
------- ------- ------- ------- ------------ -------------
TOTALS 0. 2. 0. 0. 0. 0.
_$4$DUA3300:
""
0. 30. 0. 0. 0. 0.
------- ------- ------- ------- ------------ -------------
TOTALS 0. 30. 0. 0. 0. 0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2006 06:03 PM
тАО12-03-2006 06:03 PM
Re: How to reset the error count of disk.
For older versions (and for VAXen) you may use the ZDEC utility (found on the Freeware V8).
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2006 06:04 PM
тАО12-03-2006 06:04 PM
Re: How to reset the error count of disk.
will reset the error counter on recent Vms versions. For older versions, various hacks can be found on comp.os.vms for example.
Use with caution
:-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2006 06:14 PM
тАО12-03-2006 06:14 PM
Re: How to reset the error count of disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2006 06:20 PM
тАО12-03-2006 06:20 PM
Re: How to reset the error count of disk.
You find it here:
http://h71000.www7.hp.com/freeware/freeware80/zdec/
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2006 06:23 PM
тАО12-03-2006 06:23 PM
Re: How to reset the error count of disk.
You should analyze the errors with $ ANAL/ERROR without using /SUMMARY. Then decide based upon the error detail information, what should be done. Resetting the error count does not make the underlying HW problems go away.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2006 09:07 PM
тАО12-04-2006 09:07 PM
Re: How to reset the error count of disk.
If you feel adventurous, you may write
a program to reset the error count.
A quick (and dirty) approach would be:
* assign a channel to the device.
* Call ioc$chan_to_ccb to get the CCB
* Get the address of the UCB from CCB$L_UCB
* set UCB$L_ERRCNT to 0
Guy Peleg
BRUDEN-OSSG
http://www.brudenossg.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2006 09:18 PM
тАО12-04-2006 09:18 PM
Re: How to reset the error count of disk.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2006 09:30 PM
тАО12-04-2006 09:30 PM
Re: How to reset the error count of disk.
before accessing the UCB. IOC$CHAN_TO_CCB
can be called from user mode.
fwiw,
Guy Peleg
BRUDEN-OSSG
http://www.brudenossg.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2006 09:42 PM
тАО12-04-2006 09:42 PM
Re: How to reset the error count of disk.
However using zdec or clear_errors is a better idea.
http://h71000.www7.hp.com/freeware/freeware80/clear_errors/
Purely Personal Opinion