Delete the hard disk that is about to be damaged in lvm

Check pvs -o + pv_used which pv

pvs -o + pv_used
transfer the data in this disk
pvmove / dev / sdb

pvs -o+pv_used

View and data?

vgreduce hdd /dev/sdb

Reduce sdb

pvremove /dev/sdb

Remove this disk

pvs -o+pv_used

View

Published 72 original articles · praised 4 · 40,000+ views

Guess you like

Origin blog.csdn.net/qq_15156403/article/details/105532637