Skip to main content

Hi Community,

I had recently moved a mountpoint to and existing drive. The move mountpoint job had completed successfully, but the data from the old mountpoint has not been purged. The size is approx. 12TB.

What can I do to purge the old data, as there is another requirement for the provided LUN.

 

 

Hi @Murtaza,

 

It takes 24 hours from the completion time on move mount path operation to prune the data on the source path. If it has been more than 24 hours and data is still nor pruned then we will have to take a look at CVMA.log on the same client and copy the file “.obsolete” to the folder where it is missing and the data should be pruned.

 

note: have attached .obsolete file 

 

Regards,

Suleman


Hi @SMD,

This is the error message shown in the CVMA.log.

 

5212  167c  05/28 13:29:18 -------  SERVICE  C  ]  Received CVMA_CLEANUP_FILES_REQ
5212  242c  05/28 13:29:18 ####### CleanDDBMountPath() - Mount path cleanup process
5212  242c  05/28 13:29:18 ####### CleanDDBMountPath() - CleanUp Request->transferId = a24]
5212  242c  05/28 13:29:18 ####### CleanDDBMountPath() - CleanUp Request->transferStreamId = e24]
5212  242c  05/28 13:29:18 ####### CleanDDBMountPath() - CleanUp Request->Source MA = g1922]
5212  242c  05/28 13:29:18 ####### CleanDDBMountPath() - CleanUp Request->Source Path = gJ:\DnD_DLs\PMA02\BDL01\MP12 Temp\3F732M_04.20.2024_14.53]
5212  242c  05/28 13:29:18 ####### MoveMountPath::DeleteStore()() - Going to remove the directory mJ:\DnD_DLs\PMA02\BDL01\MP12 Temp\3F732M_04.20.2024_14.53]
5212  242c  05/28 13:29:18 ####### MoveMountPath::DeleteStore()() - Considering only folders,File Name l.obsolete] skipped
5212  242c  05/28 13:29:18 -------  WORKER   9  ]  Cannot delete the file ]J:\DnD_DLs\PMA02\BDL01\MP12 Temp\3F732M_04.20.2024_14.53\CV_MAGNETIC\V_2618079\CHUNK_17043198\SFILE_CONTAINER_080], error=0xECCC000D:{RealMagneticFS::DeleteFileA(1613)} + {CQiFile::Delete(1450)} + {CQiUTFOSAPI::unlink(463)/ErrNo.13.(Permission denied)}
5212  242c  05/28 13:29:18 ####### FXFile::RemoveFolder(331) - error=0x80070020:{FXFile::RemoveFolder(330)/W32.32.(The process cannot access the file because it is being used by another process. (32))-Failed to delete file, File=-\\?\J:\DnD_DLs\PMA02\BDL01\MP12 Temp\3F732M_04.20.2024_14.53\CV_MAGNETIC\V_2618079\CHUNK_17043198\SFILE_CONTAINER_080], AccessedBy=E\Device\HarddiskVolume4\Program Files\Commvault\ContentStore\Base\CVMountd.exe (5212)]}
5212  242c  05/28 13:29:18 ####### FXFile::RemoveFolder(331) - error=0x80070020:{FXFile::RemoveFolder(330)/W32.32.(The process cannot access the file because it is being used by another process. (32))-Failed to delete file, File=)\\?\J:\DnD_DLs\PMA02\BDL01\MP12 Temp\3F732M_04.20.2024_14.53\CV_MAGNETIC\V_2618079\CHUNK_17043198\SFILE_CONTAINER_080], AccessedBy=I\Device\HarddiskVolume4\Program Files\Commvault\ContentStore\Base\CVMountd.exe (5212)]}
5212  242c  05/28 13:29:18 -------  WORKER   0  ]  Cannot remove the directory J:\DnD_DLs\PMA02\BDL01\MP12 Temp\3F732M_04.20.2024_14.53\CV_MAGNETIC\V_2618079\CHUNK_17043198], error=0x80070091:{RealMagneticFS::DeleteDirectory(1555)} + {CQiDirectory::Remove(501)/Folder= J:\DnD_DLs\PMA02\BDL01\MP12 Temp\3F732M_04.20.2024_14.53\CV_MAGNETIC\V_2618079\CHUNK_17043198]} + {FXFile::RemoveFolder(358)/W32.145.(The directory is not empty. (145))-Failed to delete folder, Folder=4\\?\J:\DnD_DLs\PMA02\BDL01\MP12 Temp\3F732M_04.20.2024_14.53\CV_MAGNETIC\V_2618079\CHUNK_17043198]}
5212  242c  05/28 13:29:18 -------  WORKER   4  ]  Cannot walk the directory OJ:\DnD_DLs\PMA02\BDL01\MP12 Temp\3F732M_04.20.2024_14.53\CV_MAGNETIC], error=0x80070091:{CQiDirectory::Walk(430)} + {CQiDirectory::Walk(444)} + {MoveMountPath::DeleteTreeWalkerStatic(5085)} + {MoveMountPath::DeleteTreeWalker(5066)} + {RealMagneticFS::DeleteDirectory(1555)} + {CQiDirectory::Remove(501)/Folder=1J:\DnD_DLs\PMA02\BDL01\MP12 Temp\3F732M_04.20.2024_14.53\CV_MAGNETIC\V_2618079\CHUNK_17043198]} + {FXFile::RemoveFolder(358)/W32.145.(The directory is not empty. (145))-Failed to delete folder, Folder=t\\?\J:\DnD_DLs\PMA02\BDL01\MP12 Temp\3F732M_04.20.2024_14.53\CV_MAGNETIC\V_2618079\CHUNK_17043198]}
5212  242c  05/28 13:29:18 ####### MoveMountPath::DeleteStore()() - Error: Directory oJ:\DnD_DLs\PMA02\BDL01\MP12 Temp\3F732M_04.20.2024_14.53\CV_MAGNETIC] removal failure.
5212  242c  05/28 13:29:18 ######

 

 


5212  242c  05/28 13:29:18 ####### MoveMountPath::DeleteStore()() - Cleanup: Directory yJ:\DnD_DLs\PMA02\BDL01\MP12 Temp\3F732M_04.20.2024_14.53] failure. Skipping (.obsolete) file deletion

 


Hi @Murtaza ,

 

Please confirm if you see .obsolete file on the path “J:\DnD_DLs\PMA02\BDL01\MP12 Temp\3F732M_04.20.2024_14.53”.

 

If it is not present then you can copy the fle and place it.

 

If the path is present already, mark MA for maintenance and restart MA service. Monitor CVMA.log for error’s.

 

5212  242c  05/28 13:29:18 -------  WORKER   -  ]  Cannot delete the file J:\DnD_DLs\PMA02\BDL01\MP12 Temp\3F732M_04.20.2024_14.53\CV_MAGNETIC\V_2618079\CHUNK_17043198\SFILE_CONTAINER_080], error=0xECCC000D:{RealMagneticFS::DeleteFileA(1613)} + {CQiFile::Delete(1450)} + {CQiUTFOSAPI::unlink(463)/ErrNo.13.(Permission denied)}
5212  242c  05/28 13:29:18 ####### FXFile::RemoveFolder(331) - error=0x80070020:{FXFile::RemoveFolder(330)/W32.32.(The process cannot access the file because it is being used by another process. (32))-Failed to delete file, File= \\?\J:\DnD_DLs\PMA02\BDL01\MP12 Temp\3F732M_04.20.2024_14.53\CV_MAGNETIC\V_2618079\CHUNK_17043198\SFILE_CONTAINER_080], AccessedBy=R\Device\HarddiskVolume4\Program Files\Commvault\ContentStore\Base\CVMountd.exe (5212)]}

 

Regards,

Suleman


Hi @SMD 

The .obsolete file is present in the mentioned path. I will restart the services for the media agent (marking media agent offline)  and then monitor the CVMA logs.

 

Regards,

Murtaza


Hi @SMD ,

I can see the folders are being deleted now through the CVMA.logs. 

Thank you so much for your help.

Also, considering the size is approx 12 TB, how much time would it take to purge all the files from the mountpoint?

 

Regards,

Murtaza


Hi @Murtaza ,

 

There is no estimate to know how long it will take as the data is chunked and stored. Deletion will happen file by file . This might take long time. 

 

regards,

Suleman


Thanks @SMD ,

 

The mounpoints are cleared are ready to be surrendered.

 

Thanks & Regards,

Murtaza


Reply