Operating System - HP-UX
1752777 Members
5987 Online
108789 Solutions
New Discussion

Couldn't open MAPFILE "/var/opt/drd/mapfiles/drd00mapfile

 
Aamir14
Regular Advisor

Couldn't open MAPFILE "/var/opt/drd/mapfiles/drd00mapfile

Hi,

 

After run clone drd command its shown error messages:-------

 

=======  09/26/13 13:14:05 IST  BEGIN Clone System Image Preview (user=root)
         (jobid=billdev1)
 
       * Reading Current System Information
       * Selecting System Image To Clone
       * Selecting Target Disk
       * Selecting Volume Manager For New System Image
       * Analyzing For System Image Cloning
 
=======  09/26/13 13:14:14 IST  END Clone System Image Preview succeeded.
         (user=root)  (jobid=billdev1)
 
billdev1#/opt/drd/bin/drd clone -x overwrite=true -v -t /dev/dsk/c0t2d0
 
=======  09/26/13 13:15:07 IST  BEGIN Clone System Image (user=root)
         (jobid=billdev1)
 
       * Reading Current System Information
       * Selecting System Image To Clone
       * Selecting Target Disk
       * Selecting Volume Manager For New System Image
       * Analyzing For System Image Cloning
       * Creating New File Systems
       * Copying File Systems To New System Image
       * Making New System Image Bootable
       * Unmounting New System Image Clone
       * System image: "sysimage_001" on disk "/dev/disk/disk6"
ERROR:   Unmounting the file system fails.
         - Unmounting the clone image fails.
         - The command "/usr/bin/sh -c
           /var/opt/drd/tmp/drdCGuaksPg/.drdvgexportcmd " fails with the return
           code 1. The error message from the command is "vgexport: Couldn't
           open MAPFILE "/var/opt/drd/mapfiles/drd00mapfile".
           vgexport: /var/opt/drd/mapfiles/drd00mapfile: No such file or
           directory
           vgexport: Couldn't export volume group "drd00".
           "
       * Unmounting New System Image Clone failed with 1 error.
       * Cleaning up after clone errors.
       * DRD operation failed, contents of /var/opt/drd/tmp copied to
         /var/opt/drd/save.
 
=======  09/26/13 14:04:05 IST  END Clone System Image failed with 1 error.
         (user=root)  (jobid=billdev1)
 
 
Thanks
Aamir uddin
1 REPLY 1
Ajin_1
Valued Contributor

Re: Couldn't open MAPFILE "/var/opt/drd/mapfiles/drd00mapfile

 

 

 

Unmounting the file system fails.          - Unmounting the clone image fails.          - The command "/usr/bin/sh -c            /var/opt/drd/tmp/drdCGuaksPg/.drdvgexportcmd " fails with the return            code 1. The error message from the command is "vgexport: Couldn't            open MAPFILE "/var/opt/drd/mapfiles/drd00mapfile".            vgexport: /var/opt/drd/mapfiles/drd00mapfile: No such file or            directory            vgexport: Couldn't export volume group "drd00".            "        * Unmounting New System Image Clone failed with 1 error

 

Check the mapfile wether the vg was included

also confirm the fs was accessed by someone this time ,

Thanks & Regards
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.