Difference between pvremove and vgreduce-Linux Enterprise Application-Linux server application information. The following is a detailed description. To be honest, Linux LVM is not as familiar as AIX, and Linux lvm is rarely used to complete complex functions.
/Dev/hda3 and/dev/hdb are pv, which belong to the same rootvg and contain the following,
Pvmove-v/dev/hda3/dev/hdb // is equivalent to migratepv. The purpose is to move data on/dev/hda3 to/dev/hdb.
The next step is to use pvremove, which is not correct. We should use vgreduce.
[Root @ localhost ~] # Vgreduce rootvg/dev/hda3 // remove/dev/hda3 from rootvg
Removed "/dev/hda3" from volume group "rootvg"
[Root @ localhost ~] # Pvremove/dev/hda3 // remove the pv mark of/dev/hda3
Labels on physical volume "/dev/hda3" successfully wiped
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service