Filesystem passthrough of a Lustre mounted directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to pass a Lustre directory mounted on the host to the guest. I can pass a local directory in just fine when starting an instance via virsh. I can execute the qemu command from libvirt's logs (dropping –S flag) directly, and passing the Lustre mounted directory also works (but the network complains about different MAC address). However, when I start an instance using virsh, the mount inside the guest succeeds, and ls works sometimes, but everything else (cat, touch, actual edit) on any file in the mounted directory gives "Identifier removed" after some delay.

Is libvirt doing something beyond just calling qemu that can cause this problem? And how do I get around it?

The host is RedHat 6.1, libvirt 1.0.3, qemu 1.4.50.

Thanks,
Tatiana

The command pulled out from the libvirt's log:

LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none \
/usr/local/bin/qemu-system-x86_64 \
-name i3e -M pc-0.14 -S \
-cpu SandyBridge,+pdpe1gb,+osxsave,+dca,+pcid,+pdcm,+xtpr,+tm2,+est,+smx,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme \
-enable-kvm -m 2048 -smp 1,sockets=1,cores=1,threads=1 \
-uuid ccc66436-8535-472e-8397-eee52d01cffe -no-user-config -nodefaults \
-chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/i3e.monitor,server,nowait \ -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew \ -no-kvm-pit-reinjection -no-shutdown -kernel /var/lib/nova/instances/instance-0000003d/kernel \
-initrd /var/lib/nova/instances/instance-0000003d/ramdisk \
-append root=/dev/vda \
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 \
-drive file=/var/lib/nova/instances/instance-0000003d/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none \ -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 \
-fsdev local,security_model=passthrough,id=fsdev-fs0,path=/mnt/lustre/ \
-device virtio-9p-pci,id=fs0,fsdev=fsdev-fs0,mount_tag=testfs,bus=pci.0,addr=0x3 \ -chardev file,id=charserial0,path=/var/lib/nova/instances/instance-0000003d/console.log \ -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 \ -device isa-serial,chardev=charserial1,id=serial1 -device usb-tablet,id=input0 \ -netdev tap,fd=30,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=fa:16:3e:39:23:6f,bus=pci.0,addr=0x4 \ -vnc 127.0.0.1:3 -k en-us -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users





[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux