- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: How to define the system disk logical to anoth...
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
тАО06-16-2004 03:10 PM
тАО06-16-2004 03:10 PM
Could I define the system disk logical name to another one?
For example, after installation,the default logical name define to sys$sysdevice, could I add another logical name to system disk, such as "DRA0"?
B/R
Charles Song
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2004 03:16 PM
тАО06-16-2004 03:16 PM
SolutionYou can define as many logicals as you wish to
point to the system disk (or any other disk).
Is this because of hard coded logicals in your
application?
Assuming that DRA0 is not a valid device on the
system then doing
$ define/system dra0 sys$sysdevice:
should work. You may also want to add /EXEC.
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2004 03:27 PM
тАО06-16-2004 03:27 PM
Re: How to define the system disk logical to another one
I try and successfully.
Charles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2004 06:29 PM
тАО06-16-2004 06:29 PM
Re: How to define the system disk logical to another one
Define/sys/exe dra0 sys$sysdevice:
should do the trick
By any chance if you do a mistake and need to delete the logical, then use the following
deassign/sys/exe sys$sysdevice
regards
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2004 06:42 PM
тАО06-16-2004 06:42 PM
Re: How to define the system disk logical to another one
using define you can make a little joined filesystem, for example:
$ DEFINE/SYSTEM DRA0 DKA0:,DKA100:
in prior example every file accessed in DRA0 is searched in DKA0 and then in DKA100
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2004 06:59 PM
тАО06-16-2004 06:59 PM
Re: How to define the system disk logical to another one
deassign/sys/exe sys$sysdevice
I wouldn't do that, for this, or any other SYS$-logical.
All these logicals are setup within the startup procedure, and I believe that quite some software relies on the existence of these logicals - and a proper definition.
There is not any proplem to make another logical (whatever one) referring to the very same device.
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2004 07:08 PM
тАО06-16-2004 07:08 PM
Re: How to define the system disk logical to another one
I don't think your advice is correct. With the 'define' command you create a logical name 'DRA0' in the system table with the equivalence name of 'SYS$SYSDEVICE:'. It will be the logical name translation services that first translate 'DRA0', find 'SYS$SYSDEVICE' and then translate this name unless you create a logical name with the /TRANSLATION_ATTRIBUTES=TERMINAL.
If you put a wrong equivalence string into 'DRA0', then you need to deassign this name! Or just do a new DEFINE command overwriting the previous assignment. You must not deassign the eqivalence string!!
You are lucky here, because the system will not have a logical name "SYS$SYSDEVICE:" (note the colon at the end):
$ deassign /system /executive_mode sys$sysdevice:
%SYSTEM-F-NOLOGNAM, no logical name match
$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2004 07:20 PM
тАО06-16-2004 07:20 PM
Re: How to define the system disk logical to another one
like Willem wrote, you can define (nearly) as many logicals as you want, BUT (as David implied, but I want to stress that strongly):
Do NOT define a logical name that is also the device-name of ANY device in your system/cluster!
Willem already warned you NOT to deassign any SYS$ logical.
I would add to also NOT re-define any, unless you are VERY sure of what you are doing, and then, first do a VERY thorough testing on a system that is NOT important if it still has more consequences than you expect!
In short: SYS$ logicals are the heart of VMS, and tampering with them is like performing open-heart surgery. Leave it to specialised surgeons, or become one yourself.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2004 11:46 PM
тАО06-16-2004 11:46 PM
Re: How to define the system disk logical to another one
I understand the question but I think you mean: How can I define another logical to the systemdisk ?
The logical SYS$SYSDEVICE cannot be moved.
AvR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2004 01:25 AM
тАО06-17-2004 01:25 AM
Re: How to define the system disk logical to another one
Redefing sys$sysdevice is, as most have said, not a great idea.
Digital's naming convention is that the "$" is reserved to VMS. The "_" is reserved for us as system managers and in this case we can use it in place of the "$". So how about a
$ define/sys/exe sys_sysdevice "$1$dga101:,$1$dga102:,..."
?
The names are very similar so that is a draw back but it does adhere to naming standards for VMS.
Maybe that helps.
john