1

I would like to pvmove a logical volume to a smaller, but faster drive, leaving the excess part on the original drive. Can that be easily accomplished?

  • Please tag your question with the operating system you are using. Probably Linux, but NetBSD or HP-UX can also have a pvmove. – John Mahowald Dec 29 '21 at 00:42

1 Answers1

1

my understanding is that if you add additional PV (physical volume) to a VG (volume group) that hosts your LV (logical volume) you should be able to issue pvmove like so:

# Move a range of physical extents to a
#       specific PV (which must  have  suffi‐
#       cient free extents).
       pvmove /dev/sdb1:1000-1999 /dev/sdc1

taken from man pvmove

Roman Spiak
  • 519
  • 2
  • 9