On 01/27/2016 01:12 PM, Evgenii Shatokhin wrote:
Hi,

Is there a way to make a partition of a physical HDD, say, sdb1 directly available to a container, bypassing ploop?

In my case, this is only needed to simplify debugging of some issues.

'prlctl --device-add hdd <...>' adds a ploop device anyway, it seems.

Regards,
Evgenii
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

U can add device as secondary disk. problem with uevent fixed in libvzcl-7.0.172


commit 591231bfb0104047030469123e7ca1bab567129e
Author: Igor Sukhih <[email protected]>
Date:   Wed Jan 27 14:59:32 2016 +0300

    Failed to add secondary disk by device

    $ vzctl set VEID --device-add hdd --device /dev/sda --save
Can't open /sys/class/block/ploop0p1/uevent for writing: No such file or dir

    use real partition name.

    Signed-off-by: Igor Sukhih <[email protected]>

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to