Hello, I am trying to set up a mail server using Postfix And Courier-IMAP with virtual users on a KVM-QEMU virtual machine. So far I managed to set up the server to send emails and receive emails but when trying to read the received messages I get the following error in /var/log/maillog:
*mail pop3d: rename(./new/1359445367.V20I2c4000dM270929.mail.craiovadrilling,./cur/1359445367.V20I2c4000dM270929.mail.craiovadrilling:2,) failed: Invalid cross-device link *
KVM host is Fedora 17 kernel 3.7.3 KVM guest is Fedora 17 kernel 3.7.3
Virtual users folder is set to a shared folder between KVM host and KVM guest.
The same settings are working well if not using the virtual users folder on a shared folder between the two machines.
Any hint for fixing this error?
Best regards, Teodor Sava
On Tue, Jan 29, 2013 at 10:47:59PM +0200, Sava Teodor wrote:
KVM host is Fedora 17 kernel 3.7.3 KVM guest is Fedora 17 kernel 3.7.3
Virtual users folder is set to a shared folder between KVM host and KVM guest.
Do you mean that it's using virtio-9p?
Rich.
Yes. The virtual users folder resides on the virtio-9p filesystem.
On Wed, Jan 30, 2013 at 1:47 PM, Richard W.M. Jones rjones@redhat.comwrote:
On Tue, Jan 29, 2013 at 10:47:59PM +0200, Sava Teodor wrote:
KVM host is Fedora 17 kernel 3.7.3 KVM guest is Fedora 17 kernel 3.7.3
Virtual users folder is set to a shared folder between KVM host and KVM guest.
Do you mean that it's using virtio-9p?
Rich.
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
On Wed, Jan 30, 2013 at 01:57:24PM +0200, Sava Teodor wrote:
Yes. The virtual users folder resides on the virtio-9p filesystem.
The bug seems to be that link(2) returns EXDEV.
Looking at the code for link in 9pfs, it seems wrong to me (why is it passing "" for the oldpath argument?)
http://git.qemu.org/?p=qemu.git;a=blob;f=hw/9pfs/virtio-9p-handle.c;h=e30fdb...
My suggestion would be that you try using the 'ln' command on a 9pfs filesystem, and if it doesn't work as expected report it as a bug to upstream qemu.
Rich.
Thank you very much for your help. Unfortunately using 'ln' doesn't help. Anyway... I will try avoid using 9p filesystem on this server for now. Best regards, Teodor Sava
On Wed, Jan 30, 2013 at 2:28 PM, Richard W.M. Jones rjones@redhat.comwrote:
On Wed, Jan 30, 2013 at 01:57:24PM +0200, Sava Teodor wrote:
Yes. The virtual users folder resides on the virtio-9p filesystem.
The bug seems to be that link(2) returns EXDEV.
Looking at the code for link in 9pfs, it seems wrong to me (why is it passing "" for the oldpath argument?)
http://git.qemu.org/?p=qemu.git;a=blob;f=hw/9pfs/virtio-9p-handle.c;h=e30fdb...
My suggestion would be that you try using the 'ln' command on a 9pfs filesystem, and if it doesn't work as expected report it as a bug to upstream qemu.
Rich.
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW