1761375 Members
4033 Online
108901 Solutions
New Discussion

How to remove DRD disk

 
nnrao1502
Advisor

How to remove DRD disk

How do I remove DRD definition from HP-UX 11.31 host . Our DRD disk in on EMC VMAX . All storage is migrating to Xtreme SAN storage  , Andy Idea  how to clear DRD info from system , so I can recreate after old disk is removed.

/ # drd status

=======  08/14/18 13:37:07 EDT  BEGIN Displaying DRD Clone Image Information (user=mwz6xtp)  (jobid=d1mi7du05c001)

       * Clone Disk:               /dev/disk/disk6
       * Clone EFI Partition:      AUTO file present, Boot loader present
       * Clone Rehost Status:      SYSINFO.TXT not present
       * Clone Creation Date:      07/28/18 06:00:26 EDT
       * Last Sync Date:           08/12/18 07:32:28 EDT
       * Clone Mirror Disk:        None
       * Mirror EFI Partition:     None
       * Original Disk:            /dev/disk/disk2
       * Original EFI Partition:   AUTO file present, Boot loader present
       * Original Rehost Status:   SYSINFO.TXT not present
       * Booted Disks:             Original Disk (/dev/disk/disk2)
       *                           Original Mirror Disk (/dev/disk/disk3)
       * Activated Disk:           Original Disk (/dev/disk/disk2)

 

1 REPLY 1
Patrick Wallek
Honored Contributor

Re: How to remove DRD disk

To wipe the image off of the disk, you can just 'dd' over the disk.

# dd if=/dev/null of=/dev/rdisk/disk6 bs=8192

Once that finishes there will be nothing left on that device.

 

To remove the disk from the 'drd status' output you can remove the file /var/opt/drd/registry/registry.xml

 

The file should get recreated the next time you run a 'drd clone' operation.