also check on the "cleanup archdir" command... it will get rid of all those extra entries
CLEAN ARCHDIR <node_name> {DELETEDUPLICATES | SHOWSTATS | RESETDESCR | 1DELETDIRS } [FORMAT=S|D] [WAIT=NO|YES] Dwight -----Original Message----- From: Lawson, Jerry W (ETSD, IT) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 11:56 AM To: [EMAIL PROTECTED] Subject: Archive Question Date: June 26, 2002 Time: 12:34 PM From: Jerry Lawson The Hartford Insurance Group 860 547-2960 [EMAIL PROTECTED] ---------------------------------------------------------------------------- - I have seen some strange behavior with Archives that I can't explain - looks like a bug to me. I archive some access logs for a period of 60 days. I also use the -deletefiles option to have TSM scratch the files after they are archived. I enter the following command: Dsmc archive -archmc=60days -deletefiles /opt/file/directory/seven/layers/deep/log.* There are 2 files to be archived that match the log.* criteria each night. The first strange thing that I see is that the archive process, even with one command, runs twice - one for each log file, and it archives the file and the 7 individual levels of the directory structure. Thus I have 8 items archived - the 7 directory entries, and the file itself. When the second file runs, it again does 8 items, even though the seven directories were being done again. The second strange occurrence occurs when the 60 day retention is up. When I go look on the server, what I see are entries for the days that are more than 60 days past. When I look in one of the entries, what I see are the 7 levels of directories, but when I get to the last level, there are no files there. Why weren't the directory entries deleted when all of the files in the structure were deleted? The structure is indeed empty. As it stands now, I have thousands of extra entries archived for no (apparent) good reason. ---------------------------------------------------------------------------- - Jerry Insanity is doing the same thing over and over....and expecting the results to be different - Anon. This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies.