Created
September 9, 2014 12:55
-
-
Save rafaelfoster/41197918896943a7f6cf to your computer and use it in GitHub Desktop.
lvm - How To
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Migrate volume to another disk in lvm | |
pvcreate /dev/new_device | |
vgextend "vg_name" /dev/new_device | |
pvmove /dev/old_device /dev/new_device | |
vgreduce "vg_name" /dev/old_device |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment