Operating System - OpenVMS
1753461 Members
4973 Online
108794 Solutions
New Discussion юеВ

Re: Device not being dismounted

 
SOLVED
Go to solution
Swain
Regular Advisor

Device not being dismounted

$ dismount ALPHA$DKB600:
%DISM-W-CANNOTDMT, ALPHA$DKB600: cannot be dismounted
%DISM-W-INSTIMAGE, 5 images installed on volume
$ dismount/over=checks ALPHA$DKB600:
%DISM-I-INSTIMAGE, 5 images installed on volume
%DISM-I-MARKEDDMT, ALPHA$DKB600: has been marked for dismount
$ dismount/over=checks ALPHA$DKB600:
%SYSTEM-F-DEVNOTMOUNT, device is not mounted
$ mount/for ALPHA$DKB600:
%MOUNT-F-DEVMOUNT, device is already mounted

Why is it so, could someone explain?

Thanks,
Amaresh
9 REPLIES 9
Mike Kier
Valued Contributor

Re: Device not being dismounted

$Help Dismount /Override=Checks will give you the answer

Specifically: "Note also that the file system cannot dismount a volume while any known file lists associated with it contain entries."

Until the 5 images are INSTALL REMOVEd, the disk is not fully dismounted.
Practice Random Acts of VMS Marketing
Rich Hearn
Regular Advisor

Re: Device not being dismounted


Amaresh,

You should do a "install list" to see what's installed. Also, try doing a "show dev/file Alpha$Dkb600:" to see what that will show you.

You will have to un-install the images to have the disk dismount, but that may not be possible depending on what images are. You may need to shutdown the system.

Rich
Hoff
Honored Contributor

Re: Device not being dismounted

$ help /message /facility=dism INSTIMAGE


INSTIMAGE, 'n' images installed on volume

Facility: DISM, DISMOUNT Command

Explanation: The specified number of images have been installed on the
volume.

User Action: Use the Install utility's REMOVE or DELETE commands to remove
or delete the installed images.
Swain
Regular Advisor

Re: Device not being dismounted

Sorry, none did help anyway.

please explain in detail.

Thanks,
Amaresh
H.Becker
Honored Contributor

Re: Device not being dismounted

>>>
Sorry, none did help anyway.
<<<
None of what?

INSTALL REMOVE/DELETE makes the image unknown to subsequent image activations. Currently running images may have a reference to that (shareable) image. INSTALL REMOVE will only deinstall the image, if it is not referenced. In any other case it is "marked for deinstall". At image rundown there is a check if the reference count for such images became zero. If that's the case then, the image is deinstalled. Then you can dismount the disk.

INSTALL LIST does not list images "marked for deinstall".
Peter Zeiszler
Trusted Contributor
Solution

Re: Device not being dismounted

show dev /files ALPHA$DKB600:
install list

Then from that information:
install remove blah blah
Swain
Regular Advisor

Re: Device not being dismounted

$ show dev /files ALPHA$DKB600:

Files accessed on device ALPHA$DKB600: on 17-JUL-2009 00:04:29.67

Process name PID File name
00000000 [000000]INDEXF.SYS;1
00000000 [RS1R4.BIN]RS1ALL.EXE;2
00000000 [RS1R4.BIN]RS1.EXE;2
00000000 [RS1R4.BIN]RS1SHARE.EXE;2
00000000 [RS1R4.BIN]RS1WS.EXE;2
00000000 [RS1R4.BIN]RS1SERV.EXE;2


if this could help?
Karl Rohwedder
Honored Contributor

Re: Device not being dismounted

Amaresh,

us ing your data you should try e.g.
$ INSTALL REMOVE ALPHA$DKB600:[RS1R4.BIN]RS1ALL
...

regards Kalle
Swain
Regular Advisor

Re: Device not being dismounted

The following worked.

show dev /files ALPHA$DKB600:
install list
INSTALL REMOVE

Thanks a lot to all!
Amaresh