How to rename LVM volume group on centos 7
Check the disk
[[email protected]calhost ~]$ sudo lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
home centos -wi-ao---- 20.00g
root centos -wi-ao---- 71.00g
swap centos -wi-ao---- <7.88g
nfsdata nfsdata -wi-a----- 1.95t
[[email protected] ~]$
Rename the volume group and check the lvs
[[email protected] ~]$ sudo vgrename nfsdata data
Volume group "nfsdata" successfully renamed to "data"
[[email protected] ~]$
[[email protected] ~]$ sudo lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
home centos -wi-ao---- 20.00g
root centos -wi-ao---- 71.00g
swap centos -wi-ao---- <7.88g
nfsdata data -wi-a----- 1.95t
[[email protected] ~]$
Tidak ada komentar :
Posting Komentar