We have a V480 box running Solaris 9 with NFS volumes on NetApp Filers.
I have these 2 directories in one of the volumes - DirA and DirOLD.
I have a daily job that
1.) deletes DirOLD
2.) renames DirA to DirOLD
3.) creates a new DirA (then backups a bunch of files from other locations into DirA)
So, basically, contents of DirOLD should look more or less like DirA from the previous day.
A couple of nights ago, the job fails at step 1. When I tried to delete DirOLD manually (rm -r DirOLD), I got a "File Exists" error. When I cd into DirOLD, I found it contained no files except for one odd file (normally I expected a whole bunch of familiar files). The one file had a name of .nfs#### (ex: .nfs1234) - I don't remember the exact numbers, but know that it started with ".nfs" and was followed by 3 to 4 digits.
When I couldn't delete the directory, I tried renaming it (to DirOLDOLD), which worked. 2 days later (when I had to time to investigatethe odd file), I found it was no longer in DirOLDOLD. At this point, I'm not sure if it disappeared as soon as I renamed the directory, or sometime after.
At any rate, does anyone know what caused this occurrence to happen?
I have these 2 directories in one of the volumes - DirA and DirOLD.
I have a daily job that
1.) deletes DirOLD
2.) renames DirA to DirOLD
3.) creates a new DirA (then backups a bunch of files from other locations into DirA)
So, basically, contents of DirOLD should look more or less like DirA from the previous day.
A couple of nights ago, the job fails at step 1. When I tried to delete DirOLD manually (rm -r DirOLD), I got a "File Exists" error. When I cd into DirOLD, I found it contained no files except for one odd file (normally I expected a whole bunch of familiar files). The one file had a name of .nfs#### (ex: .nfs1234) - I don't remember the exact numbers, but know that it started with ".nfs" and was followed by 3 to 4 digits.
When I couldn't delete the directory, I tried renaming it (to DirOLDOLD), which worked. 2 days later (when I had to time to investigatethe odd file), I found it was no longer in DirOLDOLD. At this point, I'm not sure if it disappeared as soon as I renamed the directory, or sometime after.
At any rate, does anyone know what caused this occurrence to happen?