Faced with the following problem:
When I trying to create new thinpool over GUI (Disks - LVM-Thin - Create: Thinpool) it is created successfully/ But! Metadata size is only 120MiB
# lvs -a
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data_hdd data_hdd twi-aotz-- <3.64t 1.72 11.27
[data_hdd_tdata] data_hdd Twi-ao---- <3.64t
[data_hdd_tmeta] data_hdd ewi-ao---- 120.00m
[lvol0_pmspare] data_hdd ewi------- 120.00m
data pve twi-aotz-- <2.51t 0.00 0.17
[data_tdata] pve Twi-ao---- <2.51t
[data_tmeta] pve ewi-ao---- 15.81g
[lvol0_pmspare] pve ewi------- 15.81g
root pve -wi-ao---- 32.00g
swap pve -wi-ao---- 32.00g
Unfortunately there is no option in GUI to create data volume smaller then amount of free space, so when I try to extend metadata:
#lvresize --poolmetadatasize +15G data_hdd/data_hdd
Insufficient free space: 3840 extents needed, but only 0 available
Please tell me what is the correct order of creation thin-pool with bigger metadata space?
When I trying to create new thinpool over GUI (Disks - LVM-Thin - Create: Thinpool) it is created successfully/ But! Metadata size is only 120MiB
# lvs -a
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data_hdd data_hdd twi-aotz-- <3.64t 1.72 11.27
[data_hdd_tdata] data_hdd Twi-ao---- <3.64t
[data_hdd_tmeta] data_hdd ewi-ao---- 120.00m
[lvol0_pmspare] data_hdd ewi------- 120.00m
data pve twi-aotz-- <2.51t 0.00 0.17
[data_tdata] pve Twi-ao---- <2.51t
[data_tmeta] pve ewi-ao---- 15.81g
[lvol0_pmspare] pve ewi------- 15.81g
root pve -wi-ao---- 32.00g
swap pve -wi-ao---- 32.00g
Unfortunately there is no option in GUI to create data volume smaller then amount of free space, so when I try to extend metadata:
#lvresize --poolmetadatasize +15G data_hdd/data_hdd
Insufficient free space: 3840 extents needed, but only 0 available
Please tell me what is the correct order of creation thin-pool with bigger metadata space?