How do I shrink a volume group in Linux?

Tiên Hương

New member
How do I shrink a volume group in Linux?
Answer
Assuming Linux LVM. Reducing the size of a PV, and keeping the same PV partition, is a multiple step process.
…
1 Answer
  1. Backup data.
  2. Reduce the size of the file system. …
  3. lvreduce –resizefs –size the LV. …
  4. pvresize –setphysicalvolumesize the PV.
  5. Re-partition the PV.
 

Tìm kiếm

Back
Top