Hello,

 
Is there a way to shrink a VG when the free space is not at the end of the VG?
I have
pvs -v --segments /dev/sda7
  PV         VG       Fmt  Attr PSize   PFree Start SSize LV   Start Type   PE Ranges           
  /dev/sda7  VolSys_2 lvm2 a--  <94.97g 9.00g     0   248 tmp      0 linear /dev/sda7:0-247     
  /dev/sda7  VolSys_2 lvm2 a--  <94.97g 9.00g   248  2304          0 free                       
  /dev/sda7  VolSys_2 lvm2 a--  <94.97g 9.00g  2552 21760 root     0 linear /dev/sda7:2552-24311
 
In theory, I must 
pvmove --alloc anywhere /dev/sda7:2552-24311 /dev/sda7:248:(248+21759)
 
but it fails because free is too small
 
===========================================================================
Patrick DUPRÉ | | email: [email protected]
===========================================================================
-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new
  • lvm Patrick Dupre via users

Reply via email to