select a SSD for a given disk on a ganeti instance

  • On the volume group used by ganeti there are two physical volumes
    • /dev/sda1 SATA
    • /dev/sdb1 SSD
  • To prevent allocation of space on the SSD
    pvchange  --allocatable n /dev/sdb1
    
  • To force allocation of space on the SSD
    pvchange  --allocatable y /dev/sdb1
    pvchange  --allocatable n /dev/sda1
    
  • To force allocation of space on the SATA
    pvchange  --allocatable n /dev/sdb1
    pvchange  --allocatable y /dev/sda1