Operating System - OpenVMS
1748164 Members
3660 Online
108758 Solutions
New Discussion юеВ

Re: Disk compatibility with VMS

 
SOLVED
Go to solution
owilliams
Frequent Advisor

Re: Disk compatibility with VMS

Thanks. I am getting this error when I attempt to create a directory:
CREATE/DIR CLUSTERDISK2:[CONRES]
%CREATE-E-DIRNOTCRE, CLUSTERDISK2:[CONRES] directory file not created
-SYSTEM-W-NOSUCHDEV, no such device available
Volker Halle
Honored Contributor

Re: Disk compatibility with VMS

What's CLUSTERDISK2 supposed to be - a logical name ?

$ SHOW LOG CLUSTERDISK2

It's probably not defined or does not point to a valid device.

Did you do a MOUNT/SYSTEM dev: label CLUSTERDISK2 ?

Volker.
owilliams
Frequent Advisor

Re: Disk compatibility with VMS

I did not do that. I did a
Mount/system

then it asked me for a label and I entered CLUSTERDISK2.

owilliams
Frequent Advisor

Re: Disk compatibility with VMS

Please see the attachment.
Volker Halle
Honored Contributor

Re: Disk compatibility with VMS

OpenVMS MOUNT creates a logical DISK$label automatically, if you do not specify the 3rd parameter on the MOUNT command line.

So in this case, try CRE/DIR DISK$CLUSTERDISK2:[CONRES]

or specify:

$ MOUNT/SYSTEM disk CLUSTERDISK2 CLUSTERDISK2

Volker.
owilliams
Frequent Advisor

Re: Disk compatibility with VMS

$ MOUNT/SYSTEM disk CLUSTERDISK2 CLUSTERDISK2
%MOUNT-F-VOLALRMNT, another volume of same label already mounted
owilliams
Frequent Advisor

Re: Disk compatibility with VMS

$ CRE/DIR DISK$CLUSTERDISK2:[CONRES]
$ set def clusterdisk2:[conres]
$ dir
%DIRECT-E-OPENIN, error opening CLUSTERDISK2:[CONRES]*.*;* as input
-RMS-F-DEV, error in device name or inappropriate device type for operation
owilliams
Frequent Advisor

Re: Disk compatibility with VMS

$ set def disk$clusterdisk2:[conres]
$ dir
%DIRECT-W-NOFILES, no files found
$
Volker Halle
Honored Contributor

Re: Disk compatibility with VMS

Yes, you cannot mount 2 disks with the same label system-wide...

So if no files are currently open on this disk, do a DISMOUNT $1$DGA1550: first.

Volker.
Volker Halle
Honored Contributor

Re: Disk compatibility with VMS


$ set def disk$clusterdisk2:[conres]
$ dir
%DIRECT-W-NOFILES, no files found


You just successfully created a new directory. What do you expect to find in there except no files ?!

Volker.