hdparmã使ã£ãreadæ§è½ã®æ¸¬å® KVMã§ã¯ãã¼ããã£ã¹ã¯ã®ä»ã«3ã¤ã®ãã£ã¹ã¯ãã¢ã¿ããã§ãã¾ãããã3ã¤ã®ãã£ãã·ã¥ã¢ã¼ããããããæå®ããã¤ã¡ã¼ã¸ãã¡ã¤ã«ãã¢ã¿ãããã¦ãããã¨ã«ãã¾ãã host# qemu-system-x86_64 -hda vm01.img \ -drive index=1,media=disk,cache=writethrough,file=raw1.img \ -drive index=2,media=disk,cache=writeback,file=raw2.img \ -drive index=3,media=disk,cache=none,file=raw3.img \ ... ããã§ã²ã¹ãOSããã¯ã/dev/sdb = writethroughã/dev/sdc = writebackã/dev/sdd = noneã®ã¢ã¼ãã§å©ç¨ã§ãããã
QEMU/KVMã§ã¯virtioã¨ããæºä»®æ³å*1ããã¤ã¹ããµãã¼ããã¦ãã¦ãã²ã¹ãOSå´ãLinux 2.6.24以ä¸ã§ããã°ããã®æ©è½ã«ãããä»®æ³ãã£ã¹ã¯èªã¿æ¸ãé度ã大ããåä¸ããããã¨ãã§ããã ããã§ã¯ãUbuntu Hardy(8.04)ãç¨ãã¦ãvirtioã«ããé度æ¹åãã©ãã»ã©ã®ãã®ããå®é¨ããã ä½æ¥èªä½ã¯ http://kvm.qumranet.com/kvmwiki/boot_from_virtio_block_device ã«æ¸ããã¦ãããã®ã virtioã®ä½¿ç¨æ¹æ³ ã²ã¹ãOSå´ã®æºå ã²ã¹ãOSããè¦ããããã¤ã¹åãã/dev/vdaãã¨ãªããããã²ã¹ãOSã®/etc/fstabã®ä¸ã§ããã¤ã¹åæå®*2ãã¦ããé¨åãããã°å¤æ´ã®å¿ è¦ãããããUbuntuã§ã¯ã¤ã³ã¹ãã¼ã«æã«UUIDã§è¨è¿°ããããã®ãä½æããããããå¤æ´ã®å¿ è¦ã¯ãªãã ä»ã«ã¯ããã¼ããã¼ãGRU
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}