HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

Using DD to copy lvols

 
pa8700
Regular Advisor

Using DD to copy lvols

I need to migrate the data of an lvol to a new Lvol ina different VG. Wether I can use DD better than cp and all. wether i can use lvol or rlvol is must for DD.
5 REPLIES
R.K. #
Honored Contributor

Re: Using DD to copy lvols

Hello,

Mirror it and then reduce or split it.
Don't fix what ain't broke
Patrick Wallek
Honored Contributor

Re: Using DD to copy lvols

>>migrate the data of an lvol to a new Lvol ina different VG.

>>>Mirror it and then reduce or split it.

You can't mirror across VGs.

What kind of data are you migrating? Database? Regular files? Application?

How much data?

How often is it used?
Michael Steele_2
Honored Contributor

Re: Using DD to copy lvols

Hi

Here is one person who did it. Note the bs=1024.

Sounds like it takes a lot longer than with a cp -p -r between file systems.

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1265389337405+28353475&threadId=454369
Support Fatherhood - Stop Family Law
WayneHP
Frequent Advisor

Re: Using DD to copy lvols


tar cf - * | ( cd /target; tar xfp -)
is faster than copy for sure.

but I would perfer the safety of rsync


Michal Kapalka (mikap)
Honored Contributor

Re: Using DD to copy lvols

hi,

we migrated the DMX2000 ==> hitachi USP-V ( XP24000) with the dd command and extending of LVOL-s without any problem.

mikap