May 12, 2019 10:05 AM, m...@disroot.org wrote:

>> Backup your full system first. You can then try running sudo fstrim -av in 
>> dom0 and your VMs, and
>> deleting unused ones.
 
 No matter how much space I free up by deleting VMs I can't extend the 
metadata. Volumes are
 completely full.
 I have to shrink something first, maybe the PV or the pool itself. Shrinking 
`rt` aka dom0 root doesn't
 work. 72MB isn't nearly enough for my usage here.
 
 Pasting the output of `lvs` again, hopefully with better formatting:
 
 LV                 VG   Attr       LSize  Pool Origin Data% Meta% Move Log 
Cpy%Sync Convert
 00                 qub -wi-ao---- 4.00g
 [lvol0_pmspare]    qub ewi------- 72.00m
 pool00             qub twi-aotz-- 218.42g             87.55 94.46
 [pool00_tdata]     qub Twi-ao---- 218.42g
 [pool00_tmeta]     qub ewi-ao---- 72.00m
 rt                 qub Vwi-aotz-- 139.00g pool00      15.82

`sudo lvdisplay --maps`

  --- Logical volume ---
  LV Name                pool00
  VG Name                qub
  LV UUID                0HBdwg-MMUw-DOTi-rBqc-aZft-6oeX-XzY8ic
  LV Write Access        read/write
  LV Creation host, time localhost.localdomain, 2018-04-26 14:35:24 +0200
  LV Pool metadata       pool00_tmeta
  LV Pool data           pool00_tdata
  LV Status              available
  # open                 222
  LV Size                218.42 GiB
  Allocated pool data    87.50%
  Allocated metadata     94.84%
  Current LE             55916
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:2
   
  --- Segments ---
  Logical extents 0 to 55915:
    Type                thin-pool
    Monitoring          monitored
    Chunk size          128.00 KiB
    Discards            passdown
    Thin count          221
    Transaction ID      31775
    Zero new blocks     yes
   
   
  --- Logical volume ---
  LV Path                /dev/qub/rt
  LV Name                rt
  VG Name                qub
  LV UUID                zxQIVC-sc5O-0r6I-iysK-KA3u-SxFf-rkHlYS
  LV Write Access        read/write
  LV Creation host, time localhost.localdomain, 2018-04-26 14:35:25 +0200
  LV Pool name           pool00
  LV Status              available
  # open                 1
  LV Size                139.00 GiB
  Mapped size            15.77%
  Current LE             35584
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:3
   
  --- Segments ---
  Virtual extents 0 to 35583:
    Type                thin
    Device ID           1
   
   
  --- Logical volume ---
  LV Path                /dev/qub/00
  LV Name                00
  VG Name                qub
  LV UUID                0dZzlp-a0K9-T7fD-A6UJ-aATj-dlgw-nyBGYg
  LV Write Access        read/write
  LV Creation host, time localhost.localdomain, 2018-04-26 14:35:51 +0200
  LV Status              available
  # open                 1
  LV Size                4.00 GiB
  Current LE             1024
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:4
   
  --- Segments ---
  Logical extents 0 to 1023:
    Type                linear
    Physical volume     /dev/sdc3
    Physical extents    35876 to 36899




`sudo pvdisplay --maps` 

  --- Physical volume ---
  PV Name               /dev/sdc3
  VG Name               qub
  PV Size               160.01 GiB / not usable 3.00 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              40963
  Free PE               0
  Allocated PE          40963
  PV UUID               awkn4E-cdKu-X4tk-4OWl-rIZn-usxG-KbEwAv
 

  --- Physical Segments ---
  Physical extent 0 to 17:
    Logical volume      /dev/qub/lvol0_pmspare
    Logical extents     0 to 17
  Physical extent 18 to 35857:
    Logical volume      /dev/qub/pool00_tdata
    Logical extents     0 to 35839
  Physical extent 35858 to 35875:
    Logical volume      /dev/qub/pool00_tmeta
    Logical extents     0 to 17
  Physical extent 35876 to 36899:
    Logical volume      /dev/qub/00
    Logical extents     0 to 1023
  Physical extent 36900 to 40962:
    Logical volume      /dev/qub/pool00_tdata
    Logical extents     51853 to 55915
   

  --- Physical volume ---
  PV Name               /dev/sdc4
  VG Name               qub
  PV Size               62.55 GiB / not usable 2.59 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              16013
  Free PE               0
  Allocated PE          16013
  PV UUID               qghdZz-0yuW-8RgI-bc9f-HdAY-3LHV-qtunpq
   
  --- Physical Segments ---
  Physical extent 0 to 16012:
    Logical volume      /dev/qub/pool00_tdata
    Logical extents     35840 to 51852

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/6134beb2dd4cfeea6d6d08325e9d7767%40disroot.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to