Dear Sir,
I just got a refurbished Tape drive to replace a broken one. When I
was doing backup for OpenVMS. The system prompted me something like
MKA400 not ready or not mounted. MKA400 is the Tape drive.
Secondly, When I wanted to delete archived files. The system prompted
me some errors, none of the files were deleted on the system. The
error messages are as below.
%DELETE-W-FILNOTDELETE , error deleting USER:[.....]
-RMS-E-MKD, ACP could not mark file for deletion ....
-SYSYEM-F-DIRNOTEMPTY, directory file is not empty ....
I would very much appreciated if someone can instruct me to solve the
above mentioned problems. Thank You.
|
|
0
|
|
|
|
Reply
|
chewep (4)
|
8/14/2008 10:39:31 AM |
|
In article <99bc26e2-f723-4965-ad87-9a22d8b79455@v13g2000pro.googlegroups.com>, chewep@gmail.com writes:
>Dear Sir,
>
>I just got a refurbished Tape drive to replace a broken one. When I
>was doing backup for OpenVMS. The system prompted me something like
>MKA400 not ready or not mounted. MKA400 is the Tape drive.
>
If MKA400 was the name assigned to the old tapedrive make sure that the
replacement refurbished tape drive has its unit number set to 4.
>Secondly, When I wanted to delete archived files. The system prompted
>me some errors, none of the files were deleted on the system. The
>error messages are as below.
>
>%DELETE-W-FILNOTDELETE , error deleting USER:[.....]
>-RMS-E-MKD, ACP could not mark file for deletion ....
>-SYSYEM-F-DIRNOTEMPTY, directory file is not empty ....
>
If you are deleting a directory tree with something like
DEL USER:[username...]*.*;*
then you will get this error message because VMS will not delete directories
which aren't empty - however the command will have deleted files in those
directories. If you rerun the command multiple times it will then delete the
directories (The number of times you need to rerun it depends upon how many
levels of directories contained within directories you have).
David Webb
Security team leader
CCSS
Middlesex University
>
>I would very much appreciated if someone can instruct me to solve the
>above mentioned problems. Thank You.
|
|
0
|
|
|
|
Reply
|
david20
|
8/14/2008 10:59:13 AM
|
|
On Thu, Aug 14, 2008 at 6:39 AM, <chewep@gmail.com> wrote:
> Dear Sir,
>
> I just got a refurbished Tape drive to replace a broken one. When I
> was doing backup for OpenVMS. The system prompted me something like
> MKA400 not ready or not mounted. MKA400 is the Tape drive.
Did you reboot your system after changing the tape drive?
>
> Secondly, When I wanted to delete archived files. The system prompted
> me some errors, none of the files were deleted on the system. The
> error messages are as below.
>
> %DELETE-W-FILNOTDELETE , error deleting USER:[.....]
> -RMS-E-MKD, ACP could not mark file for deletion ....
> -SYSYEM-F-DIRNOTEMPTY, directory file is not empty ....
VMS will, normally, not delete a directory that is not empty.
To solve the above, make sure that the directory is empty before
trying to delete the directory file itself.
Please give us more details -- what version of VMS are you running?
Ken
|
|
0
|
|
|
|
Reply
|
kenrbnsn4 (250)
|
8/14/2008 11:05:21 AM
|
|
chewep@gmail.com wrote:
> Dear Sir,
>
> I just got a refurbished Tape drive to replace a broken one. When I
> was doing backup for OpenVMS. The system prompted me something like
> MKA400 not ready or not mounted. MKA400 is the Tape drive.
>
> Secondly, When I wanted to delete archived files. The system prompted
> me some errors, none of the files were deleted on the system. The
> error messages are as below.
>
> %DELETE-W-FILNOTDELETE , error deleting USER:[.....]
> -RMS-E-MKD, ACP could not mark file for deletion ....
> -SYSYEM-F-DIRNOTEMPTY, directory file is not empty ....
>
>
> I would very much appreciated if someone can instruct me to solve the
> above mentioned problems. Thank You.
I'm assuming that the refurb'd tape drive allows you to set the SCSI ID.
The refurb tape drive is probably not set to SCSI ID 4. Try to ask
the seller how to set the SCSI ID, or post more details, including tape
drive model number, and someone here might be able to help.
For the second problem, you need to keep repeating the DELETE command,
to delete the directory files that are emptied by the "previous" delete
command. Delete does not delete directories "automatically".
You seem to be new to the "game". Check out FAQ's and training
resources for inexperienced folks. Searching the archives of this
newsgroup will bring many helpful pointers. Google Groups maintains an
extensive archive.
|
|
0
|
|
|
|
Reply
|
bradhamilton (257)
|
8/14/2008 11:14:42 AM
|
|
<chewep@gmail.com> wrote in message
news:99bc26e2-f723-4965-ad87-9a22d8b79455@v13g2000pro.googlegroups.com...
> Dear Sir,
>
> I just got a refurbished Tape drive to replace a broken one. When I
> was doing backup for OpenVMS. The system prompted me something like
> MKA400 not ready or not mounted. MKA400 is the Tape drive.
>
> Secondly, When I wanted to delete archived files. The system prompted
> me some errors, none of the files were deleted on the system. The
> error messages are as below.
>
> %DELETE-W-FILNOTDELETE , error deleting USER:[.....]
> -RMS-E-MKD, ACP could not mark file for deletion ....
> -SYSYEM-F-DIRNOTEMPTY, directory file is not empty ....
>
> I would very much appreciated if someone can instruct me to solve the
> above mentioned problems. Thank You.
As far as the second one is concerned, it is what VMS is telling you. You
can't delete a directory file if the directory isn't empty. You need to
delete the files within the directory first, then you can delete the
directory.
--
David Biddulph
|
|
0
|
|
|
|
Reply
|
David
|
8/14/2008 11:51:11 AM
|
|
chewep@gmail.com wrote:
> Dear Sir,
>
> %DELETE-W-FILNOTDELETE , error deleting USER:[.....]
> -RMS-E-MKD, ACP could not mark file for deletion ....
> -SYSYEM-F-DIRNOTEMPTY, directory file is not empty ....
>
>
> I would very much appreciated if someone can instruct me...
VMS can help you :
$ help /message DIRNOTEMPTY
DIRNOTEMPTY, directory file is not empty
Facility: SYSTEM, System Services
Explanation: The directory you attempted to delete cannot be
deleted because it contains files.
User Action: Be certain that you want to delete the directory.
Then, delete all the files in the directory first.
If the directory is corrupt, use the DCL command
SET FILE/NODIRECTORY to remove its status as a
directory.
|
|
0
|
|
|
|
Reply
|
jan-erik.soderholm (2508)
|
8/14/2008 11:59:42 AM
|
|
chewep@gmail.com wrote:
>
> Dear Sir,
>
> I just got a refurbished Tape drive to replace a broken one. When I
> was doing backup for OpenVMS. The system prompted me something like
> MKA400 not ready or not mounted. MKA400 is the Tape drive.
>
> Secondly, When I wanted to delete archived files. The system prompted
> me some errors, none of the files were deleted on the system. The
> error messages are as below.
>
> %DELETE-W-FILNOTDELETE , error deleting USER:[.....]
> -RMS-E-MKD, ACP could not mark file for deletion ....
> -SYSYEM-F-DIRNOTEMPTY, directory file is not empty ....
>
> I would very much appreciated if someone can instruct me to solve the
> above mentioned problems. Thank You.
As others have mentioned, you need to empty the directories first before
you can delete them.
This command will delete all the files in the tree without complaining
about non-empty directories:
$ DELETE [...]*.*;*/EXCLUDE=*.DIR
Then, you can try deleting the directories. Since it always starts from
the top of the tree, you really can't avoid the DIRNOTEMPTY errors
without doing some scripting.
I can post my DELTREE.COM file, if you want it, or Google this group for
DELTREE to find multiple options.
David J Dachtera
(formerly dba) DJE Systems
|
|
0
|
|
|
|
Reply
|
djesys.no (1536)
|
8/15/2008 2:30:27 AM
|
|
|
6 Replies
59 Views
(page loaded in 0.141 seconds)
Similiar Articles: backup problem - file reached 2GB - comp.unix.sco.misc... tar > 2GB file - comp.sys.hp.hpux I think most "tars ... hpux tar > 2GB file - comp.sys.hp.hpux Tar problem, large file ... ... Emacs backup files in ... find and delete ... Best way to delete old files? find & exec VS find & xargs - comp ...You could solve this problem by queueing up the entire list of directories to ... What's a fast way to delete file by inode ? - comp.unix.shell ... Best way to delete ... How to delete files two days older from system - comp.unix.admin ...Hi, I have database backup which is running daily basis and storeing in some directory. I want to keep two current consecutive days backup file and w... find and delete files but exclude specific dirs - comp.unix ...I would like to delete all files ... Scripting Recipes: A Problem-Solution ... tar some directory , I just want tar my home ... Emacs backup files in ... find and delete ... tar > 2GB file - comp.sys.hp.hpuxbackup problem - file reached 2GB - comp.unix.sco.misc hi i use SCO server 5.0.5 and I ... Tar transfer and delete files - comp.unix.solaris tar > 2GB file - comp.sys.hp ... Quickest way to bulk copy many files from one disk cluster to ...The problem I have, is that this is not one file, There's actually about 7 million ... are recreated as they are, otherwise a copy of the original file is created. --delete ... How to remove file entries without vi or > null - comp.unix ...... not to move the active logfile but to copy it. so ... be generated once weblogic start. > > The problem the file had ... What's a fast way to delete file by inode ? - comp.unix ... How the hell do I delete files on ZFS when file system is full ...Copy-on-write thwarts this ... How the hell do I delete files on ZFS ... sys.matlab How the hell do I delete files on ZFS when file system is full ... I've got a problem ... problem deleting a lock file - comp.unix.programmerHi all, I have problem removing a locked file (locked using lockf()) I am trying to ... Can't delete that file because Windows says it's in use? The Geeks are Sexy ... Copying, moving, renaming files in ooRexx - comp.lang.rexx ...Copying, moving, renaming files in ooRexx - comp.lang.rexx ... copy a file while it is actively being written - comp.os.linux ... Copying, moving, renaming files in ooRexx ... How to Delete Backup Files in Windows XP | eHow.comIn most cases it is not necessary to keep backup files in Windows XP. The latest backup of the hard drive or individual files is the only backups you will normally ... Download Can't delete a file in Windows XP? Here's the simple way ...Step 1: Locate the name of the file that is causing your problems. Step 2: Decide if you want to copy, move or delete the file. Step 3. Choose a destination for moving ... 7/14/2012 9:46:13 AM
|