I used raid0 and cache for lv:Raid0Lv,
LV is not automatically activated when a node is restarted
but I can manually to activate LV
Looks like some LV got activated first?
LV is not automatically activated when a node is restarted
but I can manually to activate LV
Looks like some LV got activated first?
Code:
root@pve:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
Raid0Lv VolGroup twi---t--- 595.99g
Raid0Lv_meta0 VolGroup -wi-a----- 76.00m
vm-101-disk-0 VolGroup Vwi---t--- 102.00g Raid0Lv
vm-103-disk-0 VolGroup Vwi---t--- 80.00g Raid0Lv
vm-104-disk-0 VolGroup Vwi---t--- 205.00g Raid0Lv
data pve twi-aotz-- <68.00g 35.53 2.71
root pve -wi-ao---- 15.00g
swap pve -wi-ao---- 6.00g
vm-100-disk-0 pve Vwi-aotz-- 24.00g data 22.13
vm-101-disk-0 pve Vwi-aotz-- 8.00g data 99.58
vm-102-disk-0 pve Vwi-a-tz-- 52.00m data 65.87
vm-103-disk-0 pve Vwi-a-tz-- 8.00g data 37.99
vm-104-disk-0 pve Vwi-a-tz-- 8.00g data 97.61
root@pve:~# vgchange -a y VolGroup
Activation of logical volume VolGroup/Raid0Lv is prohibited while logical volume VolGroup/Raid0Lv_tmeta is active.
Activation of logical volume VolGroup/vm-103-disk-0 is prohibited while logical volume VolGroup/Raid0Lv_tmeta is active.
Activation of logical volume VolGroup/vm-101-disk-0 is prohibited while logical volume VolGroup/Raid0Lv_tmeta is active.
Activation of logical volume VolGroup/vm-104-disk-0 is prohibited while logical volume VolGroup/Raid0Lv_tmeta is active.
1 logical volume(s) in volume group "VolGroup" now active
root@pve:~# vgchange -a n VolGroup
0 logical volume(s) in volume group "VolGroup" now active
root@pve:~# vgchange -a y VolGroup
5 logical volume(s) in volume group "VolGroup" now active
root@pve:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
Raid0Lv VolGroup twi-aot--- 595.99g 32.92 26.95
Raid0Lv_meta0 VolGroup -wi-a----- 76.00m
vm-101-disk-0 VolGroup Vwi-a-t--- 102.00g Raid0Lv 2.59
vm-103-disk-0 VolGroup Vwi-a-t--- 80.00g Raid0Lv 17.98
vm-104-disk-0 VolGroup Vwi-a-t--- 205.00g Raid0Lv 87.41
data pve twi-aotz-- <68.00g 35.53 2.71
root pve -wi-ao---- 15.00g
swap pve -wi-ao---- 6.00g
vm-100-disk-0 pve Vwi-aotz-- 24.00g data 22.13
vm-101-disk-0 pve Vwi-a-tz-- 8.00g data 99.58
vm-102-disk-0 pve Vwi-a-tz-- 52.00m data 65.87
vm-103-disk-0 pve Vwi-a-tz-- 8.00g data 37.99
vm-104-disk-0 pve Vwi-a-tz-- 8.00g data 97.61
root@pve:~#
Last edited: