Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. </disk><disk type="block" device="disk">
  2. <driver name="qemu" type="raw"/>
  3. <source dev="/dev/tank/foobar"/>
  4. <backingStore/>
  5. <target dev="vdb" bus="virtio"/>
  6. <alias name="virtio-disk1"/></disk>
  7.  
  8. # lvs
  9. foobar tank -wi-ao---- 4.00g
  10.  
  11. # lvresize -L +2G /dev/tank/foobar
  12.  
  13. # virsh blockresize myguest /dev/tank/foobar --size 0
  14.  
  15. guest# resize2fs 1.42.12 (29-Aug-2014)
  16. Resizing the filesystem on /dev/vdb to 1572864 (4k) blocks.
  17. The filesystem on /dev/vdb is now 1572864 (4k) blocks long.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement