在Ubuntu上使用KVM在hostOS和VM之间共享Ocfs2卷
我试图在Ubuntu Oneiric Server(3.0内核)上安装ocfs2。 我在主机上分享一个来自VG的LV。 HostOS是Ubuntu Lucid(也是在3.0内核上)。 我可以在两台KVM之间共享卷上的ocfs2分区。 虽然我不能共享hostOS和VM之间的分区 。 我只能在hostOS上安装分区,但是一旦我尝试在其中一个KVM上挂载分区,我就得到: (o2hb-A72309E287,1395,1):o2hb_check_last_timestamp:576 ERROR: Another node is heartbeating on device (dm-4): expected(2:0xb88208e59655bc4f, 0x4f2d4275), ondisk(0:0x0, 0x0) [22085.518632] ocfs2: Unmounting device (252,4) on (node 2) 在syslog中。 这些卷在VM xml文件中定义为: <disk type='block' device='disk'> <driver name='qemu' type='raw'/> <source dev='/dev/datastore/test'/> <target dev='vda' bus='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </disk> 而存储池被定义为: <pool type="logical"> […]