Hello,
I want to prevent this warning :
I can list all LV with :
But, i want to get the list and calculate the sum from the API.
I have try :
but the result is :
However, the command behind this API endpoint is :
I have try with :
but this command doesn't list snapshots
Do you have an idea ?
Thanks
I want to prevent this warning :
WARNING: Sum of all thin volume sizes exceeds the size of thin pool and the size of whole volume group
I can list all LV with :
Code:
lvs --units=g --nosuffix
But, i want to get the list and calculate the sum from the API.
I have try :
Code:
pvesh get /nodes/<node>/scan/lvmthin --vg=<VGID>
lv : <LVID>
However, the command behind this API endpoint is :
Code:
/sbin/lvs --separator : --noheadings --units b --unbuffered --nosuffix --config 'report/time_format="%s"' --options vg_name,lv_name,lv_size,lv_attr,pool_lv,data_percent,metadata_percent,snap_percent,uuid,tags,metadata_size,time
I have try with :
Code:
pvesh get /nodes/<node>/storage/<storage>/content
Do you have an idea ?
Thanks