How to migrate a running lvm.?

Hi all,

Please explain how do i. Migrate and backup a running lvm..!!

Thanks,

Sent from my LG-D802 using Tapatalk

When you say 'a running lvm', I presume you mean that there is a logical volume that you wish to move and either the raw device is open by an application or database; or there is a mounted filesystem built on it. In either case the included tools should do the job for you, however there are a few rules to consider:-

  • The logical volume can only be moved within the volume group
  • Primary & secondary (even tertiary) copies logical partitions (LPs) may not share the same disk
  • Perhaps something else?

Can you share though output from:-

df -k filesystem
vgdisplay -v vgname
lvdisplay -v lvname

Are you adding space to your volume group at the same time, or is there space available? It would be good to know the target area you wish to move it to.

Kind regards,
Robin

Close the thread... Worked it out.. !!

Sent from my LG-D802 using Tapatalk

Hi lordkizzo,
Since you solved your problem, we would appreciate it if you would tell us how you did it. That way, other people reading your thread will be able to learn from your experience.

1 Like