Home > OS >  Linux logical volume data migration
Linux logical volume data migration

Time:09-29

The current scenario:
USES is ali cloud ecs host, add 2 pieces of data set, with the 2 piece created logical volume data set, data capacity is bigger, has reached 1 t, demand is now needs to be the logical volume data migrated to a new cloud disk sheet, excuse me each teacher, is there a better way?
Used snapshots do experiments, but produces the cloud disk physical volume uuid conflict, cannot change the uuid of pv system can't identify,
Please consult teachers,

Is another problem scenario: suppose I do after the logical volume data set, system disk is initialized, logical volume corresponding system files would be gone, but the data set is still there, is there any way to restore?


CodePudding user response:

Don't know you is how to allocate the several physical logical volume, redo system can be loaded before configuration of all kinds of volume

CodePudding user response:

Is the two pieces of cloud disk pvcreate/dev/VDB/dev/VDC added to the physical volume, volume group, that is allocated in creating the logical volumes,
You said the system of redo can load can send a step after referral link? Is long for corresponding file system initialization after the logical volume/dev/volume groups, logical volumes,

CodePudding user response:

Add the physical volume is very simple!
As if vgscan search volume

CodePudding user response:

To create physical volumes and volume groups these I know, I need is to be the logical volume of migration, because I have a larger amount of data, so I'm looking for have a more stable, fast way to do it,

CodePudding user response:

Why did you just add the physical volume, migration logical volume? I don't know how on earth did you a solution

CodePudding user response:

A logical volume can be directly expansion? Do you want to achieve what kind of?
  • Related