[Info-vax] SHO DEV xxx/FILE on LD devices

Johnny Billquist bqt at softjar.se
Tue Jul 5 19:28:38 EDT 2011


On 2011-07-05 23.46, Hans Vlems wrote:
> On 5 jul, 23:37, Jan-Erik Soderholm<jan-erik.soderh... at telia.com>
> wrote:
>> Bob Koehler wrote 2011-07-05 19:30:
>>
>>
>>
>>> In article<iuutf2$cq... at news.albasani.net>, Jan-Erik Soderholm<jan-erik.soderh... at telia.com>    writes:
>>>> Hi.
>>>> Can someone tell why the below happens.
>>
>>>> $ dism/abo $1$lda1:
>>>> %DISM-W-CANNOTDMT, $1$LDA1: cannot be dismounted
>>>> %DISM-W-INSTIMAGE, 2 images installed on volume
>>
>>>> $ sh dev $1$lda1:/file
>>
>>>> Files accessed on device $1$LDA1: (OSSBY1) on  5-JUL-2011 13:29:49.84
>>
>>>> Process name      PID     File name
>>>>                    00000000  [000000]INDEXF.SYS;1
>>>> $
>>
>>>      Are you using a prvilegdge account, or at least one that has access
>>>      to the directory path and files?
>>
>>>      I'm not sure about this one, but some VMS utilities will not show
>>>      the names of files that a particular user doesn't have access to.
>>
>> It was SYSTEM. But I think it was simply the fact that the files
>> had never been opened since installed. And thus didn't show up
>> as an opened file. But on the other hand, I *thought* that *all*
>> installed files showed up as files with no process-name in the
>> SHO DEV/FILE list...
>>
>> Anyway, this is not an issue.
>
> Contact Jur van den Burg at www.digiater.nl: he's the author and
> maintains LD.

This has nothing to do with the LD device. It's a standard behavior of VMS.
"Opened file" means open right now. Not "have been opened sometimes in 
tne past", nor "installed". It means it's currently open by a process. 
An installed file is an installed file, which is something else.
You must remove files from being installed before you are allowed to 
dismount a device. If a file is open on the device, VMS can either 
complain, or else mark the device for dismount, which will be completed 
when all files have been closed. I don't remember which way VMS actually 
do it.
But what was shown by the original post is completely natural, and to be 
expected if usage matches.

	Johnny




More information about the Info-vax mailing list