On 03/31/2012 11:13 PM, Corin Langosch wrote:
Hi Kirill,

thank you for your very fast response. :)

Am 31.03.2012 20:54, schrieb Kirill Kolyshkin:

Ploop only supports ext4 and nfs

Is there any special reason for this? I'd really like to know the technical aspects because I then might be able to make moosefs (or another fuse based fs developed by myself) working with ploop. If I can read about it in any documents, please redirect me to them :)

Ploop developers are now working on fuse I/O module for ploop (and fuse improvements required for it). When this work will be ready, you might revisit this issue and see what is required from moosefs to be used for ploop.


Another question: is it (easily) possible make an openvz container use a normal block devices for storage (which is formatted with ex. ext4)? Before seeing ploop I thought this won't be possible, but now with ploop it seems vzctl is only mounting /dev/ploopX somewhere and then using this mount as the container's root. I'd especially be interested in using ex. an iscsi backed block device with openvz containers.

Yes it's pretty possible, with some minor modifications to vzctl. I need to think a bit more about it, but it looks like a trivial case (no vzquota etc). Let me know if you want to work on that.


Am 31.03.2012 20:54, schrieb Kirill Kolyshkin:

Ploop only supports ext4 and nfs

31.03.2012 22:50 пользователь "Corin Langosch" <[email protected] <mailto:[email protected]>> написал:

    Hi,

    has anybody tried using the new ploop storage for openvz images
    together with moosefs ( http://www.moosefs.org/)?

    ploop mount -d /dev/ploop0 /mfs-mount/root.hdd
    Adding delta dev=/dev/ploop0 img=/mfs-mount/root.hdd (rw)
    PLOOP_IOC_ADD_DELTA /mfs-mount/root.hdd: Invalid argument

    In syslog I find:
    kernel: File on FS without backing device

    I thought it might be because ploop needs direct-io (right?), but
    mounting with direct-io enabled seems not to be supported by moosefs:

    mfsmount -o direct_io /mfs-mount
    mfsmaster accepted connection with parameters:
    read-write,restricted_ip ; root mapped to root:root
    fuse: unknown option `direct_io'

    Has anybody got it working somehow? :)

    Btw: I'll also post this question to the moosefs mailinglist as
    I'm pretty sure the devs there might have interesting answers too.

    Corin


_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users

Reply via email to