Disk migration - pvmove

quarta-feira, 1 de abril de 2015

Migrate a disk can be necessary during storage migrations or even during a hw problem.

I will explain here how to do this using pvmove.

Migrating an entire disk:

# pvmove /dev/disk/disk4 /dev/disk/disk5
 
 
 
The first argument (disk4) represents the source followed by the destination (disk5).

Ps. You need both disks inside of the same Volume Group.