Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I executed a pvmove command between 2 volumes but now I can see the data in both storages. So does pvmove copy or move the data ??

command executed in servers

pvmove /dm/dm-1 /dm/dm-0

share|improve this question

3 Answers 3

pvmove will copy ( backup ) the data into the mirror with temp mirrorlv in order to resume the activity if its interrupted in the mid and move the data from one disk to new disk, once pvmove done " lvdisplay -m lvpath" will diplay the maps of the LE on a new disk

pvmove -v currentdisk newdisk will show the complete procedure what it is doing while execution .

share|improve this answer

pvmove copies the data, and also changes the LV to use the new location instead of the old one.

Note that the old physical volume (PV) is still attached to the VG, so if the PV is now unused by any LV's, you might want to remove the PV from the VG.

share|improve this answer
1  
And, afterwards, you still need to remove the appropriate volume groups from the appropriate physical volumes. –  Scott Pack Nov 23 '11 at 14:30

Not sure if your command is right, but pvmove itself literally moves the extents from one device to another.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.