1832280 Members
1841 Online
110041 Solutions
New Discussion

Issues with DRD on LVM

 
SOLVED
Go to solution
Jayaprakash Subramanian
Frequent Advisor

Issues with DRD on LVM

Hello All,

I want to backup a HPUX root disk with DRD clone. The root disk is configured with LVM with 2 physical disks.

Here the ioscan output:

root@hpsvr # ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 2 0/0/3/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-B
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 0 0/1/1/0/4/0.0.0 sdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/dsk/c2t0d0 /dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0 /dev/rdsk/c2t0d0s2
/dev/dsk/c2t0d0s1 /dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s1 /dev/rdsk/c2t0d0s3
disk 1 0/1/1/0/4/0.0.1 sdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/dsk/c2t0d1 /dev/dsk/c2t0d1s2 /dev/rdsk/c2t0d1 /dev/rdsk/c2t0d1s2
/dev/dsk/c2t0d1s1 /dev/dsk/c2t0d1s3 /dev/rdsk/c2t0d1s1 /dev/rdsk/c2t0d1s3
disk 7 0/3/1/0/4/0.2.0.0.0.0.1 sdisk CLAIMED DEVICE HP HSV200
/dev/dsk/c7t0d1 /dev/rdsk/c7t0d1
disk 6 0/3/1/0/4/0.2.4.0.0.0.1 sdisk CLAIMED DEVICE HP HSV200
/dev/dsk/c5t0d1 /dev/rdsk/c5t0d1

Now i added a new disk for 300 GB and tried to clone the root disk to the new disk using the following command -

/opt/drd/bin/drd clone -p -v -t -x overwrite=true /dev/disk/disk10

But the operation failed with the following errors. Can anyone provide me the details of this error.

root@hpsvr # /opt/drd/bin/drd clone -p -v -t /dev/disk/disk10

======= 08/20/10 06:47:57 PDT BEGIN Clone System Image Preview (user=root) (jobid=hpsvr)

* Reading Current System Information
* Selecting System Image To Clone
* Converting legacy Dsf "/dev/dsk/c2t0d1" to "/dev/disk/disk4"
* Converting legacy Dsf "/dev/dsk/c2t0d0" to "/dev/disk/disk3"
* Selecting Target Disk
ERROR: Selection of the target disk fails.
- Selecting the target disk fails.
- Validation of the disk "/dev/disk/disk10" fails with the following error(s):
- The disk "/dev/disk/disk10" contains data. To overwrite this disk use the option "-x overwrite=true".
* Selecting Target Disk failed with 1 error.

======= 08/20/10 06:48:12 PDT END Clone System Image Preview failed with 1 error. (user=root) (jobid=hpsvr)

Thanks in Advance,
Jayaprakash S



5 REPLIES 5
melvyn burnard
Honored Contributor

Re: Issues with DRD on LVM

bit confused here, you say:
Now i added a new disk for 300 GB and tried to clone the root disk to the new disk using the following command -

/opt/drd/bin/drd clone -p -v -t -x overwrite=true /dev/disk/disk10
But the operation failed with the following errors. Can anyone provide me the details of this error.


But then you have:

root@hpsvr # /opt/drd/bin/drd clone -p -v -t /dev/disk/disk10

======= 08/20/10 06:47:57 PDT BEGIN Clone System Image Preview (user=root) (jobid=hpsvr)

So you have left off the -x overwrite-true as per the error message


My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Jayaprakash Subramanian
Frequent Advisor

Re: Issues with DRD on LVM

Hi Melvyn,

Sorry, i mistyped the command. I Here the error message.

I used the following command :
/opt/drd/bin/drd clone -v -x overwrite=true -t /dev/dsk/c5t0d2

And the output is :

root@hpshop> /opt/drd/bin/drd clone -v -x overwrite=true -t /dev/dsk/c5t0d2

======= 08/20/10 21:33:59 PDT BEGIN Clone System Image (user=root) (jobid=hpsvr)

* Reading Current System Information
* Selecting System Image To Clone
* Converting legacy Dsf "/dev/dsk/c2t0d1" to "/dev/disk/disk4"
* Converting legacy Dsf "/dev/dsk/c2t0d0" to "/dev/disk/disk3"
* Selecting Target Disk
* Converting legacy Dsf "/dev/dsk/c5t0d2" to "/dev/disk/disk10"
* Selecting Volume Manager For New System Image
* Analyzing For System Image Cloning
WARNING: Device (0/3/1/0/4/0.0x50001fe1500a57d9.0x2000000000000) is a bad disk.
WARNING: Device (0/3/1/0/4/0.0x50001fe1500a57d9.0x2000000000000) is a bad disk.
ERROR: Analysis of file system creation fails.
- Analysis of target fails.
- Analysis of the configuration with disk "/dev/disk/disk10" fails.
- The following messages, including errors, were obtained during analysis:
E:The total volume sizes in disk group: "drd_rootdg" exceed the available capacity by 56790Mb.
E:The disk capacity available is not sufficient to create the volume "/stand" with the size specified (disk space is short by 1024Mb). Reduce the
size of this volume (or other volumes that share the same disk group), or use additional/larger disks.
E:The disk capacity available is not sufficient to create the volume "primary" with the size specified (disk space is short by 4096Mb). Reduce the
size of this volume (or other volumes that share the same disk group), or use additional/larger disks.
E:The disk capacity available is not sufficient to create the volume "/" with the size specified (disk space is short by 1024Mb). Reduce the size
of this volume (or other volumes that share the same disk group), or use additional/larger disks.
E:The disk capacity available is not sufficient to create the volume "/home" with the size specified (disk space is short by 1024Mb). Reduce the
size of this volume (or other volumes that share the same disk group), or use additional/larger disks.
E:The disk capacity available is not sufficient to create the volume "/opt" with the size specified (disk space is short by 16384Mb). Reduce the
size of this volume (or other volumes that share the same disk group), or use additional/larger disks.
E:The disk capacity available is not sufficient to create the volume "/tmp" with the size specified (disk space is short by 8150Mb). Reduce the
size of this volume (or other volumes that share the same disk group), or use additional/larger disks.
E:The disk capacity available is not sufficient to create the volume "/usr" with the size specified (disk space is short by 8192Mb). Reduce the
size of this volume (or other volumes that share the same disk group), or use additional/larger disks.
E:The disk capacity available is not sufficient to create the volume "/var" with the size specified (disk space is short by 16896Mb). Reduce the
size of this volume (or other volumes that share the same disk group), or use additional/larger disks.
.
* Analyzing For System Image Cloning failed with 1 error.

======= 08/20/10 21:34:11 PDT END Clone System Image failed with 1 error. (user=root) (jobid=hpsvr)

root@hpshop>
Bijeesh
Respected Contributor
Solution

Re: Issues with DRD on LVM

From error,
>>Converting legacy Dsf "/dev/dsk/c5t0d2" to "/dev/disk/disk10"<<

There is no /dev/dsk/c5t0d2 in your ioscan o/p.

post #ioscan -m dsf
Jayaprakash Subramanian
Frequent Advisor

Re: Issues with DRD on LVM

Hi Bijeesh,

Thanks for your reply.

Here the output of "ioscan -m dsf"

root@hpshop> ioscan -m dsf
Persistent DSF Legacy DSF(s)
========================================
/dev/rchgr/autoch1 /dev/rac/c8t0d0
/dev/rdisk/disk3 /dev/rdsk/c2t0d0
/dev/rdisk/disk3_p1 /dev/rdsk/c2t0d0s1
/dev/rdisk/disk3_p2 /dev/rdsk/c2t0d0s2
/dev/rdisk/disk3_p3 /dev/rdsk/c2t0d0s3
/dev/rdisk/disk4 /dev/rdsk/c2t0d1
/dev/rdisk/disk4_p1 /dev/rdsk/c2t0d1s1
/dev/rdisk/disk4_p2 /dev/rdsk/c2t0d1s2
/dev/rdisk/disk4_p3 /dev/rdsk/c2t0d1s3
/dev/pt/pt5 /dev/rscsi/c5t0d0
/dev/rscsi/c7t0d0
/dev/rdisk/disk5 /dev/rdsk/c0t0d0
/dev/rtape/tape4_BEST /dev/rmt/c8t0d1BEST
/dev/rtape/tape4_BESTn /dev/rmt/c8t0d1BESTn
/dev/rtape/tape4_BESTb /dev/rmt/c8t0d1BESTb
/dev/rtape/tape4_BESTnb /dev/rmt/c8t0d1BESTnb
/dev/rtape/tape5_BEST /dev/rmt/c8t0d2BEST
/dev/rtape/tape5_BESTn /dev/rmt/c8t0d2BESTn
/dev/rtape/tape5_BESTb /dev/rmt/c8t0d2BESTb
/dev/rtape/tape5_BESTnb /dev/rmt/c8t0d2BESTnb
/dev/rtape/tape6_BEST /dev/rmt/c8t0d3BEST
/dev/rtape/tape6_BESTn /dev/rmt/c8t0d3BESTn
/dev/rtape/tape6_BESTb /dev/rmt/c8t0d3BESTb
/dev/rtape/tape6_BESTnb /dev/rmt/c8t0d3BESTnb
/dev/rdisk/disk8 /dev/rdsk/c5t0d1
/dev/rdsk/c7t0d1
/dev/rtape/tape7_BEST /dev/rmt/c8t0d4BEST
/dev/rtape/tape7_BESTn /dev/rmt/c8t0d4BESTn
/dev/rtape/tape7_BESTb /dev/rmt/c8t0d4BESTb
/dev/rtape/tape7_BESTnb /dev/rmt/c8t0d4BESTnb
/dev/rdisk/disk10 /dev/rdsk/c5t0d2
/dev/rdsk/c7t0d2
/dev/rdisk/disk10_p1 /dev/rdsk/c5t0d2s1
/dev/rdsk/c7t0d2s1
/dev/rdisk/disk10_p2 /dev/rdsk/c5t0d2s2
/dev/rdsk/c7t0d2s2
/dev/rdisk/disk10_p3 /dev/rdsk/c5t0d2s3
/dev/rdsk/c7t0d2s3

--Jayaprakash
Bijeesh
Respected Contributor

Re: Issues with DRD on LVM

The trget disk is present.But can you confirm the available space on this disk using #diskinfo.
Check the status of the disk using dd command.
Also what is the size of root vg?(#vgdisplay)

From error>>The total volume sizes in disk group: "drd_rootdg" exceed the available capacity by 56790Mb. >>
Is the current root vg size equals 56790Mb?

Compare the original LV size with the size showing in error message.
Also go through the drd log file /var/opt/drd/drd.log.