LVM commands procedure
lvextend
# 1. Detach disk from Guest
# 2. On Host Machine
lvextend -L<NewSize> My/Volume
fdisk /dev/My/Volume
# 3. Re-attach disk to Guest
# 4. Guest Machine
e2fsck -f /dev/vda1
resize2fs /dev/vda1
mount
Fixing a cache pool
# This happens because I was trying to restart the server but the windows vm does not listen to the KVM. So I forced a restart. Hence this error.
vgchange -ay
/usr/sbin/cache_check: execvp failed: No such file or directory
Check of pool GuestVM/lv8-cache failed (status:2). Manual repair required!
13 logical volume(s) in volume group "GuestVM" now active
0 logical volume(s) in volume group "Buffer" now active
# We'll have to reset the cache an re-attach it again
lvconvert --splitcache GuestVM/lv8-cache
lvconvert --type cache --cachepool GuestVM/lv8-cache GuestVM/lv8-win10-build
Tue Jun 05 2018 06:14:12 GMT+0000 (Coordinated Universal Time)
Last modified: Sun Jul 29 2018 05:47:16 GMT+0000 (Coordinated Universal Time)
Comments
No comments here.
Do you even comment?
website:
Not a valid website
Invalid email format
Please enter your email
*Name:
Please enter a name
Submit
抱歉,Google Recaptcha 服務被牆掉了,所以不能回覆了