Comment 9 for bug 1797566

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote :

The qcow2 image for the juju VM is located at /srv/libvirt/storage/.

virsh dumpxml juju | grep -P 'qcow|/srv/libv'
      <driver name='qemu' type='qcow2'/>
      <source file='/srv/libvirt/storage/juju.img'/>

Just to show the storage capabilities of the machine used to host the Juju controller VM:

sudo rsync -Hv --progress testfile /srv/libvirt/storage/
testfile
 12,001,017,856 100% 273.62MB/s 0:00:41 (xfr#1, to-chk=0/1)

sent 12,003,947,872 bytes received 35 bytes 289,251,756.80 bytes/sec
total size is 12,001,017,856 speedup is 1.00

/srv is a mount point for an ext4 file system created on top of a sata md-raid5

sudo lvdisplay
  --- Logical volume ---
  LV Path /dev/sata/system
  LV Name system
  VG Name sata

sudo pvdisplay | grep Name
  PV Name /dev/md1
  VG Name sata
  PV Name /dev/md0
  VG Name ssds

blkid | grep sata
/dev/mapper/sata-system: UUID="26efa563-5b5f-4690-8846-0a49fed116d4" TYPE="ext4"

mount | grep sata
/dev/mapper/sata-system on /srv type ext4 (rw,relatime,stripe=384,data=ordered)

cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid10]
md1 : active raid5 sdd1[3] sdc1[2] sda1[0] sdb1[1]
      2929889280 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]
      bitmap: 2/8 pages [8KB], 65536KB chunk

md0 : active raid1 sdf2[1] sde2[0]
      468524032 blocks super 1.2 [2/2] [UU]
      bitmap: 1/4 pages [4KB], 65536KB chunk