UUID is not recognized

Incident: library.xml file was deleted. Please try to recover with uuid <identifier>

Cause: The library.xml file contains the original UUID for the library. Because the library was deleted and created again, the library has a new UUID.

Action: Update the library.xml file with the new UUID.

  1. Edit the library.xml file.

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <LibraryData>
        <IsReadOnly>false</IsReadOnly>
        <UserFriendlyName>Local Storage Library (xvmsrv-005)</UserFriendlyName>
        <Description>Default virtual image local library</Description>
        <CreationTime>1382430667160</CreationTime>
        <ModificationTime>1382430667160</ModificationTime>
        <SemanticTags/>
        <UUID>d46372fa-1f39-4152-b082-7e501fda459d</UUID>
    </LibraryData>
     
    
  2. Change the UUID to the UUID displayed in the incident.

  3. Save and close the file.

  4. Run the OCDoctor utility to verify the library.xml file is in the correct state:

    /var/opt/sun/xvm/OCDoctor/toolbox/library-check.sh 
    
  5. If the OCDoctor output indicates a problem with the library, use the following command to associate the new UUID with the library's location:

    /var/opt/sun/xvm/OCDoctor/toolbox/library-check.sh -f <path/to/library>