[Devel] [Q] Connecting a physical HDD/partition to a container
Igor Sukhih
igor at virtuozzo.com
Wed Jan 27 04:55:30 PST 2016
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
> Devel at openvz.org
> 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 <igor at parallels.com>
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 <igor at parallels.com>
More information about the Devel
mailing list