1827863 Members
2367 Online
109969 Solutions
New Discussion

mount cdrom

 
Gene Kenny
Regular Advisor

mount cdrom

I am trying to install a Data Protector agent on VMS. I am having an issue with mounting the cdrom.

When I try $ mount/foreign/media_format=cdrom DQA0:
I am prompted for a label name I have tried cdrom and a few other names I always get
“incorrect volume label” what is the correct label for a CDROM?

I attempted $ mount/foreign/media_format=compaction DQA0:
The cdrom appears to mount put I then go set def dqa0: and try dir I get
Error opening DQA0:[sysmgr] *.*:* as input
Device is mounted foreign

How do I mount the cdrom and see the directories on the cdro
6 REPLIES 6
Steve Nimr
Advisor

Re: mount cdrom

Gene,
You can always mount it by doing
mount/override=identification
Which will give you the volume label. Then look at the directory structure or dismount and then mount/foreign
Bojan Nemec
Honored Contributor

Re: mount cdrom

Gene,

Use the mount/overide=identification as Steve suggested.

mount/foreign mounts the device without file system. It is something like a raw device in *NIXes. So you can not see directories when the device is mounted foreign.

Bojan
Robert Gezelter
Honored Contributor

Re: mount cdrom

Gene,

I haven't looked at Data Protector, but you can mount the CDROM by using:

$ MOUNT/OVERRIDE=IDENTIFICATION/NOWRITE DQA0:

You should then be able to access it from your process. You will also get an informational message with the volume label. If you need to mount the volume system-wide, you will need to specify the volume name on the MOUNT/SYSTEM command.

I hope that the above is helpful.

- Bob Gezelter, http://www.rlgsc.com
Jan van den Ende
Honored Contributor

Re: mount cdrom

Gene,


set def dqa0: and try dir I get
Error opening DQA0:[sysmgr] *.*:* as input


Like Bojan said, a Foreign mounted device is not presented file-structured, and a DIR will not work.
Like Robert said, you can MOUNT/OVER=ID. This presents a directory-structured device, gives the label name, and if you wish you can now DISMOUNT and MOUNT/SYSTEM with that label.

But even then you will get your same error:
Since you SET DEF to a device only, the directory part of your DIR request is taken from your current default, which obviously was SYS$MANAGER.
And [SYSMGR] does not exist as a top directory on the CD...

hth.

Proost.

Have one on me.

Jan
Don't rust yours pelled jacker to fine doll missed aches.
Ian Miller.
Honored Contributor

Re: mount cdrom

or if its ISO format CD you may have to
$ MOUNT/OVERRIDE=ID/MEDIA_FORM=CDROM DQA0:
____________________
Purely Personal Opinion
Uwe Zessin
Honored Contributor

Re: mount cdrom

Attached is an example using the V5.5 for Windows CD.
.