[lxc-users] Its possible to add a xen virtual device to an lxc container?

Márcio Castro marciomouracastro at gmail.com
Fri Jan 25 02:27:18 UTC 2019


Hi,

My Ubuntu is 18.04, with lxc version 3.0.3.

I installed several Oracle products (Database, Weblogic, SOA, ODI) with
success in Linux Contaners, and i'm want to try Oracle RAC.

To do that, I want to create a virtual disc, but i cant attach this to the
container.

I created a container named "ol7testedisc" with Oracle Linux and done the
following:

mmoura at mmoura-W350STQ-W370ST:~$ sudo dd if=/dev/zero of=/dev/xvda bs=1M
count=4096

4096+0 registros de entrada

4096+0 registros de saída

4294967296 bytes (4,3 GB, 4,0 GiB) copiados, 1,01326 s, 4,2 GB/s

mmoura at mmoura-W350STQ-W370ST:/dev$ ls -l xvda

-rw-r--r-- 1 root root 4294967296 jan 25 00:01 xvda

mmoura at mmoura-W350STQ-W370ST:/dev$ lxc config device add ol7testedisc xvda
unix-block path=/dev/xvda
Error: Invalid devices: Not a device


What i'm doing wrong?


Best regards,

Márcio de Figueiredo Moura e Castro


Oracle Real Application Clusters 11g Certified Implementation Specialist
Oracle 11g DBA OCP
Oracle Exadata 11g Certified Implementation Specialist
Oracle Linux Certified Implementation Specialist
OPN Certified Specialist
Oracle 10g DBA OCA
Oracle PL/SQL Developer OCA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20190125/195ec354/attachment.html>


More information about the lxc-users mailing list