# vgscan
Reading volume groups from cache.
Found volume group "lvm-vg" using metadata type lvm2
# pvscan
PV /dev/sdb VG lvm-vg lvm2 [<931.00 GiB / 46.32 GiB free]
# pvcreate /dev/nvme0n1
# vgextend lvm-vg /dev/nvme0n1
# pvscan
PV /dev/sdb VG lvm-vg lvm2 [<931.00 GiB / 46.32 GiB free]
PV /dev/nvme0n1 VG lvm-vg lvm2 [931.51 GiB / <46.84 GiB free]
# pvmove /dev/sdb /dev/nvme0n1
# vgreduce lvm-vg /dev/sdb
# pvscan
PV /dev/nvme0n1 VG lvm-vg lvm2 [931.51 GiB / <46.84 GiB free]
728x90
댓글