<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic unable to create DRD clone after reinstall in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-create-drd-clone-after-reinstall/m-p/4503892#M364995</link>
    <description>Hello, I have an hpux 11.23 rx6600 itanium system. I recently removed and re-installed drd on the system due to earlier errors in trying to create an updated clone disk and mirror. I currently have:&lt;BR /&gt; B.1123.A.3.3.221 Dynamic Root Disk installed.&lt;BR /&gt;&lt;BR /&gt;I am getting the following errors:&lt;BR /&gt; - Start of errors written by /opt/drd/lbin/drdconfigure:&lt;BR /&gt;         -        * Using LVM  for disk 0/4/1/0.0.0.1.0 (c0t1d0s2), group:&lt;BR /&gt;           drd00&lt;BR /&gt;                  * Creating LVM physical volume "/dev/rdsk/c0t1d0s2"&lt;BR /&gt;           (0/4/1/0.0.0.1.0).&lt;BR /&gt;                  * Creating volume group "drd00".&lt;BR /&gt;           ERROR:   Command "/sbin/vgcreate -A n -e 4356 -l 255 -p 16 -s 32&lt;BR /&gt;           /dev/drd00 /dev/dsk/c0t1d0s2" failed.&lt;BR /&gt;&lt;BR /&gt;         - End of errors written by /opt/drd/lbin/drdconfigure&lt;BR /&gt;         - Command "/opt/drd/lbin/drdconfigure" fails with the return code 255.&lt;BR /&gt;           The entire output from the command is given below:&lt;BR /&gt;         - Start of output from /opt/drd/lbin/drdconfigure:&lt;BR /&gt;         - Physical volume "/dev/rdsk/c0t1d0s2" has been successfully created.&lt;BR /&gt;           vgcreate: Volume group "/dev/drd00" could not be created:&lt;BR /&gt;           A volume group is already using this major and minor number.&lt;BR /&gt;           Please check the minor number of the "group" device file.&lt;BR /&gt;&lt;BR /&gt;         - End of output from /opt/drd/lbin/drdconfigure&lt;BR /&gt;       * Creating New File Systems failed with 1 error.&lt;BR /&gt;       * Unmounting New System Image Clone&lt;BR /&gt;       * System image: "sysimage_001" on disk "/dev/dsk/c0t1d0"&lt;BR /&gt;       * Cleaning up after clone errors.&lt;BR /&gt;&lt;BR /&gt;=======  09/28/09 00:34:39 EDT  END Clone System Image failed with 1 error.&lt;BR /&gt;         (user=root)  (jobid=avenger)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;=======  09/28/09 00:36:15 EDT  BEGIN Clone System Image Preview (user=root)&lt;BR /&gt;         (jobid=avenger)&lt;BR /&gt;&lt;BR /&gt;       * Reading Current System Information&lt;BR /&gt;       * Selecting System Image To Clone&lt;BR /&gt;       * Selecting Target Disk&lt;BR /&gt;       * The disk "/dev/dsk/c1t3d0" contains data which will be overwritten.&lt;BR /&gt;       * The disk "/dev/dsk/c0t1d0" contains data which will be overwritten.&lt;BR /&gt;       * Selecting Volume Manager For New System Image&lt;BR /&gt;       * Analyzing For System Image Cloning&lt;BR /&gt;&lt;BR /&gt;=======  09/28/09 00:36:31 EDT  END Clone System Image Preview succeeded.&lt;BR /&gt;         (user=root)  (jobid=avenger)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;=======  09/28/09 00:36:54 EDT  BEGIN Clone System Image (user=root)&lt;BR /&gt;         (jobid=avenger)&lt;BR /&gt;&lt;BR /&gt;       * Reading Current System Information&lt;BR /&gt;       * Selecting System Image To Clone&lt;BR /&gt;       * Selecting Target Disk&lt;BR /&gt;       * The disk "/dev/dsk/c1t3d0" contains data which will be overwritten.&lt;BR /&gt;       * The disk "/dev/dsk/c0t1d0" contains data which will be overwritten.&lt;BR /&gt;       * Selecting Volume Manager For New System Image&lt;BR /&gt;       * Analyzing For System Image Cloning&lt;BR /&gt;       * Creating New File Systems&lt;BR /&gt;ERROR:   Clone file system creation fails.&lt;BR /&gt;         - Creating the target file systems fails.&lt;BR /&gt;         - Command "/opt/drd/lbin/drdconfigure" fails with the return code 255.&lt;BR /&gt;&lt;BR /&gt;I've tried the command on two different disks and am getting the same error:&lt;BR /&gt;ERROR:   Command "/sbin/vgcreate -A n -e 4356 -l 255 -p 16 -s 32 /dev/drd00&lt;BR /&gt;         /dev/dsk/c0t1d0s2" failed.&lt;BR /&gt;       * Using LVM  for disk 0/4/2/0.0.0.3.0 (c1t3d0s2), group: drd00&lt;BR /&gt;       * Creating LVM physical volume "/dev/rdsk/c1t3d0s2" (0/4/2/0.0.0.3.0).&lt;BR /&gt;Physical volume "/dev/rdsk/c1t3d0s2" has been successfully created.&lt;BR /&gt;       * Creating volume group "drd00".&lt;BR /&gt;vgcreate: Volume group "/dev/drd00" could not be created:&lt;BR /&gt;A volume group is already using this major and minor number.&lt;BR /&gt;Please check the minor number of the "group" device file.&lt;BR /&gt;&lt;BR /&gt;ERROR:   Command "/sbin/vgcreate -A n -e 4356 -l 255 -p 16 -s 32 /dev/drd00&lt;BR /&gt;         /dev/dsk/c1t3d0s2" failed.&lt;BR /&gt;root@avenger:/var/opt/drd&amp;gt;&lt;BR /&gt;I've checked my /dev/ for duplicate minor numbers but don't see any duplicates. &lt;BR /&gt;root@avenger:/var/opt/drd&amp;gt; ll /dev/*/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x000000 Sep 18 12:49 /dev/vg00/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010000 Sep 23 09:43 /dev/vg01/group&lt;BR /&gt;root@avenger:/var/opt/drd&amp;gt;&lt;BR /&gt;&lt;BR /&gt;/etc/lvmtab does not have any references to drd and looks good and I did move /etc/lvmtab and vgscan -av as part of my troubleshooting. I also only have a drd.conf.old file in /etc/lvmconf. (from the previous drd install)&lt;BR /&gt;&lt;BR /&gt;I am not sure which minor number drd vgcreate is trying to use. Not sure how to get around this error either. &lt;BR /&gt;</description>
    <pubDate>Mon, 28 Sep 2009 04:18:44 GMT</pubDate>
    <dc:creator>S. Ney</dc:creator>
    <dc:date>2009-09-28T04:18:44Z</dc:date>
    <item>
      <title>unable to create DRD clone after reinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-create-drd-clone-after-reinstall/m-p/4503892#M364995</link>
      <description>Hello, I have an hpux 11.23 rx6600 itanium system. I recently removed and re-installed drd on the system due to earlier errors in trying to create an updated clone disk and mirror. I currently have:&lt;BR /&gt; B.1123.A.3.3.221 Dynamic Root Disk installed.&lt;BR /&gt;&lt;BR /&gt;I am getting the following errors:&lt;BR /&gt; - Start of errors written by /opt/drd/lbin/drdconfigure:&lt;BR /&gt;         -        * Using LVM  for disk 0/4/1/0.0.0.1.0 (c0t1d0s2), group:&lt;BR /&gt;           drd00&lt;BR /&gt;                  * Creating LVM physical volume "/dev/rdsk/c0t1d0s2"&lt;BR /&gt;           (0/4/1/0.0.0.1.0).&lt;BR /&gt;                  * Creating volume group "drd00".&lt;BR /&gt;           ERROR:   Command "/sbin/vgcreate -A n -e 4356 -l 255 -p 16 -s 32&lt;BR /&gt;           /dev/drd00 /dev/dsk/c0t1d0s2" failed.&lt;BR /&gt;&lt;BR /&gt;         - End of errors written by /opt/drd/lbin/drdconfigure&lt;BR /&gt;         - Command "/opt/drd/lbin/drdconfigure" fails with the return code 255.&lt;BR /&gt;           The entire output from the command is given below:&lt;BR /&gt;         - Start of output from /opt/drd/lbin/drdconfigure:&lt;BR /&gt;         - Physical volume "/dev/rdsk/c0t1d0s2" has been successfully created.&lt;BR /&gt;           vgcreate: Volume group "/dev/drd00" could not be created:&lt;BR /&gt;           A volume group is already using this major and minor number.&lt;BR /&gt;           Please check the minor number of the "group" device file.&lt;BR /&gt;&lt;BR /&gt;         - End of output from /opt/drd/lbin/drdconfigure&lt;BR /&gt;       * Creating New File Systems failed with 1 error.&lt;BR /&gt;       * Unmounting New System Image Clone&lt;BR /&gt;       * System image: "sysimage_001" on disk "/dev/dsk/c0t1d0"&lt;BR /&gt;       * Cleaning up after clone errors.&lt;BR /&gt;&lt;BR /&gt;=======  09/28/09 00:34:39 EDT  END Clone System Image failed with 1 error.&lt;BR /&gt;         (user=root)  (jobid=avenger)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;=======  09/28/09 00:36:15 EDT  BEGIN Clone System Image Preview (user=root)&lt;BR /&gt;         (jobid=avenger)&lt;BR /&gt;&lt;BR /&gt;       * Reading Current System Information&lt;BR /&gt;       * Selecting System Image To Clone&lt;BR /&gt;       * Selecting Target Disk&lt;BR /&gt;       * The disk "/dev/dsk/c1t3d0" contains data which will be overwritten.&lt;BR /&gt;       * The disk "/dev/dsk/c0t1d0" contains data which will be overwritten.&lt;BR /&gt;       * Selecting Volume Manager For New System Image&lt;BR /&gt;       * Analyzing For System Image Cloning&lt;BR /&gt;&lt;BR /&gt;=======  09/28/09 00:36:31 EDT  END Clone System Image Preview succeeded.&lt;BR /&gt;         (user=root)  (jobid=avenger)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;=======  09/28/09 00:36:54 EDT  BEGIN Clone System Image (user=root)&lt;BR /&gt;         (jobid=avenger)&lt;BR /&gt;&lt;BR /&gt;       * Reading Current System Information&lt;BR /&gt;       * Selecting System Image To Clone&lt;BR /&gt;       * Selecting Target Disk&lt;BR /&gt;       * The disk "/dev/dsk/c1t3d0" contains data which will be overwritten.&lt;BR /&gt;       * The disk "/dev/dsk/c0t1d0" contains data which will be overwritten.&lt;BR /&gt;       * Selecting Volume Manager For New System Image&lt;BR /&gt;       * Analyzing For System Image Cloning&lt;BR /&gt;       * Creating New File Systems&lt;BR /&gt;ERROR:   Clone file system creation fails.&lt;BR /&gt;         - Creating the target file systems fails.&lt;BR /&gt;         - Command "/opt/drd/lbin/drdconfigure" fails with the return code 255.&lt;BR /&gt;&lt;BR /&gt;I've tried the command on two different disks and am getting the same error:&lt;BR /&gt;ERROR:   Command "/sbin/vgcreate -A n -e 4356 -l 255 -p 16 -s 32 /dev/drd00&lt;BR /&gt;         /dev/dsk/c0t1d0s2" failed.&lt;BR /&gt;       * Using LVM  for disk 0/4/2/0.0.0.3.0 (c1t3d0s2), group: drd00&lt;BR /&gt;       * Creating LVM physical volume "/dev/rdsk/c1t3d0s2" (0/4/2/0.0.0.3.0).&lt;BR /&gt;Physical volume "/dev/rdsk/c1t3d0s2" has been successfully created.&lt;BR /&gt;       * Creating volume group "drd00".&lt;BR /&gt;vgcreate: Volume group "/dev/drd00" could not be created:&lt;BR /&gt;A volume group is already using this major and minor number.&lt;BR /&gt;Please check the minor number of the "group" device file.&lt;BR /&gt;&lt;BR /&gt;ERROR:   Command "/sbin/vgcreate -A n -e 4356 -l 255 -p 16 -s 32 /dev/drd00&lt;BR /&gt;         /dev/dsk/c1t3d0s2" failed.&lt;BR /&gt;root@avenger:/var/opt/drd&amp;gt;&lt;BR /&gt;I've checked my /dev/ for duplicate minor numbers but don't see any duplicates. &lt;BR /&gt;root@avenger:/var/opt/drd&amp;gt; ll /dev/*/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x000000 Sep 18 12:49 /dev/vg00/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010000 Sep 23 09:43 /dev/vg01/group&lt;BR /&gt;root@avenger:/var/opt/drd&amp;gt;&lt;BR /&gt;&lt;BR /&gt;/etc/lvmtab does not have any references to drd and looks good and I did move /etc/lvmtab and vgscan -av as part of my troubleshooting. I also only have a drd.conf.old file in /etc/lvmconf. (from the previous drd install)&lt;BR /&gt;&lt;BR /&gt;I am not sure which minor number drd vgcreate is trying to use. Not sure how to get around this error either. &lt;BR /&gt;</description>
      <pubDate>Mon, 28 Sep 2009 04:18:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-create-drd-clone-after-reinstall/m-p/4503892#M364995</guid>
      <dc:creator>S. Ney</dc:creator>
      <dc:date>2009-09-28T04:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: unable to create DRD clone after reinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-create-drd-clone-after-reinstall/m-p/4503893#M364996</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;did you try to use overwrite option ???&lt;BR /&gt;&lt;BR /&gt;/opt/drd/bin/drd clone -v -x overwrite=true -t (final_disk )&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;mikap</description>
      <pubDate>Mon, 28 Sep 2009 11:19:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-create-drd-clone-after-reinstall/m-p/4503893#M364996</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2009-09-28T11:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: unable to create DRD clone after reinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-create-drd-clone-after-reinstall/m-p/4503894#M364997</link>
      <description>Yes, &lt;BR /&gt;I've used -x overwrite=true each time. Doesn't matter which disk I make the target the error is the same.&lt;BR /&gt;root@avenger:/root&amp;gt; drd clone -v -x overwrite=true -t /dev/dsk/c0t1d0 -x mirror_disk=/dev/dsk/c1t3d0&lt;BR /&gt;&lt;BR /&gt;=======  09/28/09 08:59:52 EDT  BEGIN Clone System Image (user=root)  (jobid=avenger)&lt;BR /&gt;&lt;BR /&gt;       * Reading Current System Information&lt;BR /&gt;       * Selecting System Image To Clone&lt;BR /&gt;       * Selecting Target Disk&lt;BR /&gt;       * The disk "/dev/dsk/c0t1d0" contains data which will be overwritten.&lt;BR /&gt;       * The disk "/dev/dsk/c1t3d0" contains data which will be overwritten.&lt;BR /&gt;       * Selecting Volume Manager For New System Image&lt;BR /&gt;       * Analyzing For System Image Cloning&lt;BR /&gt;       * Creating New File Systems&lt;BR /&gt;ERROR:   Clone file system creation fails.&lt;BR /&gt;         - Creating the target file systems fails.&lt;BR /&gt;         - Command "/opt/drd/lbin/drdconfigure" fails with the return code 255. The errors written by the command are displayed below:&lt;BR /&gt;         - Start of errors written by /opt/drd/lbin/drdconfigure:&lt;BR /&gt;         -        * Using LVM  for disk 0/4/1/0.0.0.1.0 (c0t1d0s2), group: drd00&lt;BR /&gt;                  * Creating LVM physical volume "/dev/rdsk/c0t1d0s2" (0/4/1/0.0.0.1.0).&lt;BR /&gt;                  * Creating volume group "drd00".&lt;BR /&gt;           ERROR:   Command "/sbin/vgcreate -A n -e 4356 -l 255 -p 16 -s 32 /dev/drd00 /dev/dsk/c0t1d0s2" failed.&lt;BR /&gt;&lt;BR /&gt;         - End of errors written by /opt/drd/lbin/drdconfigure&lt;BR /&gt;         - Command "/opt/drd/lbin/drdconfigure" fails with the return code 255. The entire output from the command is given below:&lt;BR /&gt;         - Start of output from /opt/drd/lbin/drdconfigure:&lt;BR /&gt;         - Physical volume "/dev/rdsk/c0t1d0s2" has been successfully created.&lt;BR /&gt;           vgcreate: Volume group "/dev/drd00" could not be created:&lt;BR /&gt;           A volume group is already using this major and minor number.&lt;BR /&gt;           Please check the minor number of the "group" device file.&lt;BR /&gt;&lt;BR /&gt;         - End of output from /opt/drd/lbin/drdconfigure&lt;BR /&gt;       * Creating New File Systems failed with 1 error.&lt;BR /&gt;       * Unmounting New System Image Clone&lt;BR /&gt;       * System image: "sysimage_001" on disk "/dev/dsk/c0t1d0"&lt;BR /&gt;       * Cleaning up after clone errors.&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Sep 2009 12:02:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-create-drd-clone-after-reinstall/m-p/4503894#M364997</guid>
      <dc:creator>S. Ney</dc:creator>
      <dc:date>2009-09-28T12:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: unable to create DRD clone after reinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-create-drd-clone-after-reinstall/m-p/4503895#M364998</link>
      <description>Hello S. Nev â   &lt;BR /&gt;&lt;BR /&gt;I think what you are seeing is a mismatch between the minor numbers the kernel  thinks are in use and the ones visible in the device files.  DRD will attempt to use the next free group minor number based on the device files, in this case 2, and it looks like the kernel thinks 2 is already in use.  You should be able to  bypass the  probably by creating a group device file using minor number 2:&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/fake&lt;BR /&gt;mknod /dev/fake/group c 64 0x020000&lt;BR /&gt;&lt;BR /&gt;Then re-try the drd clone  command.&lt;BR /&gt;It is not clear what the root cause of the problem is.  DRD does attempt to  unmount partially mounted clones during an rc script.&lt;BR /&gt;&lt;BR /&gt;(The problem would also go away with a reboot, but I don't image you want to incur the downtime of rebooting the system.)&lt;BR /&gt;&lt;BR /&gt;If this does not bypass the problem, or if you see it repeatedly, please let me know.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Judy&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Sep 2009 15:58:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-create-drd-clone-after-reinstall/m-p/4503895#M364998</guid>
      <dc:creator>Judy Wathen</dc:creator>
      <dc:date>2009-09-29T15:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: unable to create DRD clone after reinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-create-drd-clone-after-reinstall/m-p/4503896#M364999</link>
      <description>Judy,&lt;BR /&gt;&lt;BR /&gt;Thank you. I did reboot the system and that resolved the issue but I've made notes about creating a /dev/fake dir in case I stumble upon this problem again.</description>
      <pubDate>Tue, 29 Sep 2009 16:25:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-create-drd-clone-after-reinstall/m-p/4503896#M364999</guid>
      <dc:creator>S. Ney</dc:creator>
      <dc:date>2009-09-29T16:25:19Z</dc:date>
    </item>
  </channel>
</rss>

