LVM issue - unable to extend metadata LV

If none of the more specific forums is the right place to ask
Post Reply
Message
Author
mn124700
Posts: 1
Joined: 2021-05-01 16:35

LVM issue - unable to extend metadata LV

#1 Post by mn124700 »

I’m having a problem with LVM under Debian 10 server. I want to extend the metadata size for satassd/data (see below). Using “lvextend --poolmetadatasize +1G satassd/data” gives an error saying “Insufficient Free Space”. Looking at the results of lvs, vgs and pvs (shown below), I see that the volume group (satassd) and physical disk have no free space remaining. But, if I add up all the Lsizes of the LVs on satassd, I don’t see nearly enough usage to fill the 1.82T capacity. It looks like there should be plenty of space available.

To do the math, there are twelve 50G LVs and a 1.82T data LV that is 8.7% filled. This gives (roughly) 760G being used. But the whole volume is 1.82T, so there should be free space available. Why does it say that it's full?

I’m no expert on LVM (nor Linux for that matter) and I’m puzzled as to what’s going on and how to fix it. Any advice would be appreciated.

Thanks,
Eric

Code: Select all

root@pve:~# lvs -a
  LV                                 VG      Attr       LSize    Pool Origin        Data%  Meta%  Move 
  data                               pve     twi-aotz-- <338.36g                    54.88  3.64  
  [data_tdata]                       pve     Twi-ao---- <338.36g                                                           
  [data_tmeta]                       pve     ewi-ao----    3.45g                                                           
  [lvol0_pmspare]                    pve     ewi-------    3.45g                          
  root                               pve     -wi-ao----   96.00g                                                           
  snap_vm-102-disk-0_OMV5_c          pve     Vri---tz-k   50.00g data vm-102-disk-0                                        
  snap_vm-102-disk-0_OMV5_initial    pve     Vri---tz-k   50.00g data vm-102-disk-0                                        
  snap_vm-102-disk-0_OMV_3_24_21     pve     Vri---tz-k   50.00g data vm-102-disk-0                                        
  snap_vm-102-disk-0_OMV_d           pve     Vri---tz-k   50.00g data vm-102-disk-0                                        
  snap_vm-107-disk-0_PlayOn          pve     Vri---tz-k   50.00g data vm-107-disk-0                                        
  snap_vm-107-disk-0_PlayOn_1        pve     Vri---tz-k   50.00g data vm-107-disk-0                                        
  snap_vm-107-disk-0_PlayOn_3_24_21  pve     Vri---tz-k   50.00g data vm-107-disk-0                                        
  snap_vm-107-disk-0_PlayOn_b        pve     Vri---tz-k   50.00g data vm-107-disk-0                                        
  snap_vm-109-disk-0_Plex3Deb        pve     Vri---tz-k   50.00g data                                                      
  snap_vm-109-disk-0_Plex3Deb_b      pve     Vri---tz-k   50.00g data                                                      
  snap_vm-109-disk-0_Plex_01         pve     Vri---tz-k   50.00g data vm-109-disk-0                                        
  snap_vm-109-disk-0_Plex_02         pve     Vri---tz-k   50.00g data vm-109-disk-0                                        
  snap_vm-109-disk-0_Plex_03         pve     Vri---tz-k   50.00g data vm-109-disk-0                                        
  snap_vm-109-disk-0_Plex_3_24_21    pve     Vri---tz-k   50.00g data vm-109-disk-0                                        
  snap_vm-109-disk-0_Plex_p          pve     Vri---tz-k   50.00g data vm-109-disk-0                                        
  swap                               pve     -wi-ao----    8.00g                                                           
  vm-102-disk-0                      pve     Vwi-aotz--   50.00g data               12.84                                  
  vm-107-disk-0                      pve     Vwi-aotz--   50.00g data               72.77                                  
  vm-109-disk-0                      pve     Vwi-aotz--   50.00g data               90.49                                  
  base-111-disk-0                    satassd Vri---tz-k   50.00g data                                                      
  base-112-disk-0                    satassd Vri---tz-k   50.00g data                                                      
  data                               satassd twi-aotz--   <1.82t                    8.70   100.00   
  [data_tdata]                       satassd Twi-ao----   <1.82t                                                           
  [data_tmeta]                       satassd ewi-ao----  100.00m                                                           
  [lvol0_pmspare]                    satassd ewi-------  100.00m                         
  snap_vm-101-disk-0_Mint3_29_21     satassd Vri---tz-k   50.00g data vm-101-disk-0                                        
  snap_vm-104-disk-0_Anaconda3_21_21 satassd Vri---tz-k   50.00g data vm-104-disk-0                                        
  snap_vm-106-disk-0_Ubuntu3_21_21   satassd Vri---tz-k   50.00g data vm-106-disk-0                                        
  snap_vm-113-disk-0_ZM3_21_21       satassd Vri---tz-k   50.00g data vm-113-disk-0                                        
  vm-100-disk-0                      satassd Vwi-a-tz--   50.00g data               21.96                                  
  vm-101-disk-0                      satassd Vwi-a-tz--   50.00g data               43.96                                  
  vm-104-disk-0                      satassd Vwi-a-tz--   50.00g data               44.77                                  
  vm-106-disk-0                      satassd Vwi-a-tz--   50.00g data               20.60                                  
  vm-113-disk-0                      satassd Vwi-a-tz--   50.00g data               98.47

root@pve:~# vgs
  VG      #PV #LV #SN Attr   VSize    VFree  
  pve       1  21   0 wz--n- <465.26g <16.00g
  satassd   1  12   0 wz--n-   <1.82t      0 

root@pve:~# pvs
  PV             VG      Fmt  Attr PSize    PFree  
  /dev/nvme0n1p3 pve     lvm2 a--  <465.26g <16.00g
  /dev/sdc1      satassd lvm2 a--    <1.82t      0

Post Reply