[root@NFJD-PSC-SGM-SV23 lvm]# cat /etc/lvm/lvm.conf |grep volume_list # If volume_list is defined, each LV is only activated if there is a # volume_list = [ "vg1", "vg2/lvol1", "@tag1", "@*" ] volume_list = [ "vgnebula","nbuvg" ]
编辑 /etc/lvm/lvm.conf,追加 volume_list 设置:
volume_list = ["@test"]
该设置表明,只有标签为test的vg才会被激活
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28371090/viewspace-767929/
,如需转载,请注明出处,否则将追究法律责任。