- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Erase-on-delete -- how to determine via $getdvi
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
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
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
тАО02-17-2005 04:16 AM
тАО02-17-2005 04:16 AM
How does one determine whether erase_on_delete is set for a volume? Am I missing or overlooking something obvious?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2005 04:21 AM
тАО02-17-2005 04:21 AM
Re: Erase-on-delete -- how to determine via $getdvi
$ SET VOLUME/NOERASE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2005 04:27 AM
тАО02-17-2005 04:27 AM
Re: Erase-on-delete -- how to determine via $getdvi
It would be interesting to know how to determine the state of the erase_on_delete characteristic for a given volume. SHOW DEVICE certainly knows how, and DELETE knows how, and I'd like to know how.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2005 04:49 AM
тАО02-17-2005 04:49 AM
SolutionVCB$B_STATUS2
bit 3 set means erase on delete.
The VCB address is in the UCB at UCB$L_VCB
In SDA
sda> READ SYS$LOADABLE_IMAGES:SYSDEF
sda> SHOW DEV DKxxx
sda> EXAM VCB+VCB$B_STATUS2
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2005 05:04 AM
тАО02-17-2005 05:04 AM
Re: Erase-on-delete -- how to determine via $getdvi
the ERASE-bit is not a DEVICE characteristics, but a VOLUME characteristic.
The VCB$V_ERASE bit is stored in the VCB (Volume Control Block). Visible with SDA>SHOW DEVIVE Dxxx
...
--- Volume Control Block (VCB) 82773B80 ---
Volume: TOOLS Lock name: TOOLS
Status: A0 extfid,system
Status2: 1C mountver,erase,nohighwater
...
There does not seem to exist a F$GETDVI lexical function argument to obtain this characteristic of a volume (even V7.3-2 VOLCHAR does not do it).
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2005 06:19 AM
тАО02-17-2005 06:19 AM
Re: Erase-on-delete -- how to determine via $getdvi
if you really want it in DCL without running SDA, capturing the output, and parsing it, then there are some crazy tricks that can be done.
Look at
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=746158
and find the explanations by John Gillings.
If you understand enough of that to be able to use that as a blueprint, together with Ian's answer, then go ahead.
If it is not sufficiently clear what he is doing, and why, then you are probably wiser by not using it, but even then it is very instructive of some of the workings.
Have fun, and if you DO venture, please inform us of your results!
Proost.
Have one on me.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2005 11:46 AM
тАО02-20-2005 11:46 AM
Re: Erase-on-delete -- how to determine via $getdvi
Over 20 new $GETDVI item codes have been added for V8.2 (both Alpha and I64). Please see the System Services reference manual for more details.
For your coding pleasure, among the new item codes added is dvi$_erase_on_delete.
--Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2005 08:41 AM
тАО05-31-2005 08:41 AM
Re: Erase-on-delete -- how to determine via $getdvi
Additionally, the lexical function F$GETDVI has a new argument, ERASE_ON_DELETE, returning True or False to indicate whether the eraee-on-delete volume characteristic hsa been set.
Good things come to those who wait...thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2005 08:42 AM
тАО05-31-2005 08:42 AM