No Such File

Management of storage subsystems: SAN, volume shadowing, logical disks, file systems, and more.
Post Reply

Topic author
vmskostoff
Contributor
Posts: 21
Joined: Fri Jun 28, 2019 10:29 am
Reputation: 0
Location: Gary, Indiana
Status: Offline

No Such File

Post by vmskostoff » Wed Dec 11, 2019 1:27 pm

What is the best method or methods, to remove files that come up on a dir as "no such file"?


puder
VSI Expert
Member
Posts: 5
Joined: Thu Aug 29, 2019 1:44 pm
Reputation: 0
Status: Offline

Re: No Such File

Post by puder » Wed Dec 11, 2019 3:41 pm

You could simply DELETE them, but if that somehow fails, try SET FILE/REMOVE.

The only way I've seen directory entries which show "no such file" is when a file has been linked in multiple directories with SET FILE/ENTER and then one of them is DELETEd which leaves the other one dangling.

Summary advice to avoid the problem (if this was the cause): Don't use SET FILE/ENTER unless you (and everyone else with control over those files) will remember the multiply-linked nature of the file(s) and not DELETE one reference when you still have the other. Note that the admonishment against DELETE includes PURGE.


snadow
Newbie
Posts: 4
Joined: Fri Feb 14, 2020 11:10 am
Reputation: 0
Status: Offline

Re: No Such File

Post by snadow » Fri Feb 14, 2020 11:17 am

You could always use

$ ANALYZE/DISK/REPAIR

Or the freeware program (it came from DEC but being freeware, it was not officially supported) DFU - Disk and File Utilities - which is a lot faster than ANALYZE... however I believe that it only supports ODS-2 disks and not ODS-5.

$ DFU/VERIFY/FIX


willemgrooters
Member
Posts: 8
Joined: Fri Jul 12, 2019 1:59 pm
Reputation: 0
Location: Netherlands
Status: Offline
Contact:

Re: No Such File

Post by willemgrooters » Wed Feb 26, 2020 3:42 am

DFU works on ODS5-disks as well.

To get the lastest version, check https://www.digiater.nl

User avatar

martinv
Active Contributor
Posts: 32
Joined: Fri Jun 14, 2019 11:05 pm
Reputation: 0
Location: Goslar, Germany
Status: Offline
Contact:

Re: No Such File

Post by martinv » Wed Feb 26, 2020 7:00 am

It does have some display issues with disks > 1TB - some sizes are displayed as negative numbers.. Otherwise, it's a must-have.
If you think it's expensive to hire a professional, wait until you hire an amateur.

Post Reply