- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: mount all disk in the system at startup
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-18-2011 08:08 AM
тАО02-18-2011 08:08 AM
where is the correct place to do this.
any better place than user login.com ?
Scotty
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2011 08:16 AM
тАО02-18-2011 08:16 AM
SolutionPersonally, I would have a call from SYLOGICALS.COM to a MOUNT_DISK procedure with a P1 of something like MIN
So that even when a conversational boot is performed those disks that are needed for the system to fucntion (e.g. if the SYSUAF file is off the system disk) are still accessible.
Then I would have another call in SYSTARTUP_VMS.COM with a P1 of ALL or FULL which mounts the MIN disks (if not already mounted) and then the remaining disks.
HTH
Craig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2011 08:24 AM
тАО02-18-2011 08:24 AM
Re: mount all disk in the system at startup
thanks for reply
#MOUNT_DISK procedure
this is done so that all the code is in one place instead ot
embedding it in two command procedures ?
how to know which disks are there is system. should i hard code it ?
once i hard code, if that disk is not present will the code fail and cause boot
problem ?
#Then I would have another call in SYSTARTUP_VMS.COM
why another call, can this can be done in SYLOGICALS.COM itself ?
Scotty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2011 08:34 AM
тАО02-18-2011 08:34 AM
Re: mount all disk in the system at startup
See the SYS$EXAMPLES:MSCPMOUNT.COM template, as one potential starting point. That's intended to run continuously in a cluster, and bring the disks back online as nodes come and go within a cluster. Probably more than you need here, but something to review regardless.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2011 08:38 AM
тАО02-18-2011 08:38 AM
Re: mount all disk in the system at startup
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2011 08:55 AM
тАО02-18-2011 08:55 AM
Re: mount all disk in the system at startup
#Ian Miller
yes. for test systems where there is lot change, i wanted a generic method.
i will read the file Hoff has mentioned.
Scotty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2011 01:16 PM
тАО02-18-2011 01:16 PM
Re: mount all disk in the system at startup
/Guenther
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2011 01:32 PM
тАО02-18-2011 01:32 PM
Re: mount all disk in the system at startup
> i wanted a generic method.
There is no universal generic method, as there are too many possibilities for how a particular disk is mounted. Consider shadow sets, volume sets, different labels, protections etc...
You can hunt for disk devices using F$DEVICE. Here's an example:
$ HeadLoop: dsk=F$DEVICE("*","DISK")-"_"-":"
$ IF dsk.NES.""
$ THEN
$! Skip devices that are not mounted or are shadow set members
$ IF F$GETDVI(dsk,"MNT").AND.-
.NOT.F$GETDVI(dsk,"SHDW_MEMBER")
$ THEN
$ c=c+1
$ dsk'c'=dsk ! Save disk name
$ WRITE out "[DS]''dsk'Max" ! Column heading
$ ENDIF
$ GOTO HeadLoop
$ ENDIF
This is an extract from a procedure which generates disk usage in T4 format. Note that it checks if the found disk is mounted using F$GETDVI. In your case you probably want the opposite test. You then have to work out a MOUNT command, and in particular a label. One possibility is to choose a labelling scheme based on the device name. As long as all your devices are mounted the same way you're all set.
Another possibility is a table driven mechanism. You maintain a data file which describes the disks, labels, and how they're mounted. Write a procedure that reads the file, interprets the desciptions and generates appropriate MOUNT commands. This might be easier than hard coding the complete commands, and it would make it simpler to make general changes to the way disks are mounted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2011 06:35 PM
тАО02-18-2011 06:35 PM
Re: mount all disk in the system at startup
# /NOASSIST
if mounting of the disk fails then it should not ask for
operator assistance as the boot will get stalled.
it should skip that disk and continue.
is this the purpose ?
#John Gillings
thanks for detailed response.
that helps.
Scotty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2011 08:17 PM
тАО02-18-2011 08:17 PM
Re: mount all disk in the system at startup
/Guenther