Error while opening the mount path label

Article ID: MM0032 Disk library prematurely fills and backup fails reporting error in opening mount path label.

Symptom

The disk library runs out of space prematurely. An error similar to the following appears in the CVMA.log file:

28532 6f9c 12/05 12:08:45 ------ WORKER [ ] CVMAMagneticWorker.cpp:5479: Error while opening the mount path label [\CV_MAGNETIC\MOUNTPATH_LABEL], error=0xECCC0002:{QiFile.cpp[CQiFile::Open(92)]} + {utfFsUtils.cpp[CQiUTFOSAPI::open(85)]/ErrNo.2.(No such file or directory)-Open failed, File=\\?\F:\CommVault\CV_MAGNETIC\MOUNTPATH_LABEL, OperationFlag=0x8000, PermissionMode=0x100}

Cause

After you upgrade the MediaAgent to Commvault version 10, the mount path label file may go missing from the mount path. This prevents aged data from being pruned.

Resolution

You need to recreate the mount path label file.  Only local mount paths are supported for this procedure. For CIFS mount paths, contact your vendor support.

  1. On the MediaAgent computer, type the following at the command prompt:

    >cd \Base
    >CreateMountPathLabel.exe -report -inst

          Example:  CreateMountPathLabel.exe -report -inst Instance001

  1. A list of mount paths missing mount path labels appears.  The list includes the mount path ID and the mount path name. For example:

    1  E:\DiskLibrary1\MP1\Folder_11.15.2014_11.58\CV_MAGNETIC
    15 E:\DiskLibrary2\Folder_11.20.2014_05.09\CV_MAGNETIC
    54 E:\DiskLibrary3\Folder_12.15.2014_06.44\CV_MAGNETIC

  2. Create an input file (in .txt file format) using the information above and from other sources as described.

    The input file is required to recreate the mount path label. The parameters are separated by a comma with no spaces before or after each comma. Parameters must be entered in the following order:

  • CommCell ID in decimal format (Example: 2D87 hex = 11655 decimal)
  • Complete file path to the mount path (only local file paths are supported) (from Step 1)
  • Library ID (From Library Properties page available from Library and Drive Configuration Tool)
  • Mount path ID (from Step 1)

      Example: 

      11655,E:\DiskLibrary1\MP1\Folder_11.15.2014_11.58\CV_MAGNETIC,7,1

  1. Add a line of parameters for each mount path missing a label file.

    Each input must be entered on a separate line. For example:

    11655,E:\DiskLibrary1\MP1\Folder_11.15.2014_11.58\CV_MAGNETIC,7,1
    11655,E:\DiskLibrary1\MP2\Folder_12.15.2014_11.59\CV_MAGNETIC,7,2

  2. Save the input file to a location on the MediaAgent computer.
  3. Type the following at the command prompt:

    >CreateMountPathlabel.exe -if

    You should receive a message that the operation was successful. 

  4. Restart the MediaAgent services.

When you run a Data Aging job the aged data is pruned as expected and the space on the disk library is reclaimed.