Operating System - HP-UX
1837655 Members
2912 Online
110117 Solutions
New Discussion

to move data of vol. log. raw that this in stripig

 

to move data of vol. log. raw that this in stripig

For data that they are in vol. log. and they are of type raw that they are in striping does not operate the pvmove already I have proven it and it does not operate. Are there any other form ?
5 REPLIES 5
Frederic Sevestre
Honored Contributor

Re: to move data of vol. log. raw that this in stripig

Hi,
A way to move your data from a disk to an other is to use dd :
- Create a new lv on the target disk
- copy the lvol to the new one : dd if=/dev/vgxx/rlvolxx of=/dev/vgxx/rlvolyy bs=1024 (where lvolxx is the lv you want to move and lvolyy is the target one)
- Delete the old and rename the new one.

Hope it will help you.
Regards,
Fr??d??ric
Crime doesn't pay...does that mean that my job is a crime ?
harry d brown jr
Honored Contributor

Re: to move data of vol. log. raw that this in stripig

dd is probably a bad move, because badspots will be a problem.

The SAFEST way is for you to backup your entire VG. delete the VG. Recreate it with the disks you want. restore your data.


live free or die
harry
Live Free or Die
Roger Baptiste
Honored Contributor

Re: to move data of vol. log. raw that this in stripig

Carlos,

If you want to go in the "dd" route , make
sure the disk is not being written to at that
time.

-raj
Take it easy.
Sanjay_6
Honored Contributor

Re: to move data of vol. log. raw that this in stripig

Frederic Sevestre
Honored Contributor

Re: to move data of vol. log. raw that this in stripig

Hi Carlos,
There is no risk to use dd, indeed before removing the lv source, you can test the new one.
Fr??d??ric
Crime doesn't pay...does that mean that my job is a crime ?