Hi Fajar,

Thank you very much for your response, and sorry - I think i know very
little about the linux operating system, and I never added a disk in an
environment with Linux Container.

I made several attempts, including a partition of one of my disks, but I
did not succeed.

So I decided to simplify my problem, trying this time with a virtual disk.

A - Quick guess, /dev/xvda did not exist before you ran dd?
No.

B - Do you know the difference between a file and block device? If my guess
is correct, you have just created a regular file /dev/xvda. That is not a
xen virtual device.
No, I do not know exactly the difference.

Can you help me with a litle explanation or direct me to some website with
more information about it?

Again, thank you very much for your patience, and sorry for my little
knowledge.




Em sex, 25 de jan de 2019 às 10:00, <
lxc-users-requ...@lists.linuxcontainers.org> escreveu:

> Send lxc-users mailing list submissions to
>         lxc-users@lists.linuxcontainers.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.linuxcontainers.org/listinfo/lxc-users
> or, via email, send a message with subject or body 'help' to
>         lxc-users-requ...@lists.linuxcontainers.org
>
> You can reach the person managing the list at
>         lxc-users-ow...@lists.linuxcontainers.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lxc-users digest..."
> Today's Topics:
>
>    1. Re: zfs @copy snapshots (Stéphane Graber)
>    2. Its possible to add a xen virtual device to an lxc container?
>       (Márcio Castro)
>    3. Re: Its possible to add a xen virtual device to an lxc
>       container? (Fajar A. Nugraha)
>
>
>
> ---------- Forwarded message ----------
> From: "Stéphane Graber" <stgra...@stgraber.org>
> To: LXC users mailing-list <lxc-users@lists.linuxcontainers.org>
> Cc:
> Bcc:
> Date: Thu, 24 Jan 2019 14:35:35 -0500
> Subject: Re: [lxc-users] zfs @copy snapshots
> Hi,
>
> If ZFS lets you, then yes, but normally those will be here because
> you've created a container as a copy of this one, due to how zfs
> datasets work, that snapshot then has to remain until the container
> which was created from it is deleted.
>
> Stéphane
>
> On Wed, Jan 23, 2019 at 11:04 PM Kees Bos <cornelis....@gmail.com> wrote:
> >
> > Hi,
> >
> >
> > I see multiple @copy snaphots on some containers (zfs)
> >
> > From https://github.com/lxc/lxd/issues/5104 it is not clear to me why
> > there are multiple on a container.
> >
> > Can I safely remove these snapshots (if zfs lets me)?
> >
> >
> > Kees
> >
> > _______________________________________________
> > lxc-users mailing list
> > lxc-users@lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-users
>
>
>
> --
> Stéphane
>
>
>
>
> ---------- Forwarded message ----------
> From: "Márcio Castro" <marciomouracas...@gmail.com>
> To: lxc-users@lists.linuxcontainers.org
> Cc:
> Bcc:
> Date: Fri, 25 Jan 2019 00:27:18 -0200
> Subject: [lxc-users] Its possible to add a xen virtual device to an lxc
> container?
> 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@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@mmoura-W350STQ-W370ST:/dev$ ls -l xvda
>
> -rw-r--r-- 1 root root 4294967296 jan 25 00:01 xvda
>
> mmoura@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
>
>
>
> ---------- Forwarded message ----------
> From: "Fajar A. Nugraha" <l...@fajar.net>
> To: LXC users mailing-list <lxc-users@lists.linuxcontainers.org>
> Cc:
> Bcc:
> Date: Fri, 25 Jan 2019 10:18:42 +0700
> Subject: Re: [lxc-users] Its possible to add a xen virtual device to an
> lxc container?
> On Fri, Jan 25, 2019 at 9:27 AM Márcio Castro <marciomouracas...@gmail.com>
> wrote:
>
>> 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@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
>>
>>
> Quick guess, /dev/xvda did not exist before you ran dd?
>
>
>> mmoura@mmoura-W350STQ-W370ST:/dev$ ls -l xvda
>>
>> -rw-r--r-- 1 root root 4294967296 jan 25 00:01 xvda
>>
>> mmoura@mmoura-W350STQ-W370ST:/dev$ lxc config device add ol7testedisc
>> xvda unix-block path=/dev/xvda
>> Error: Invalid devices: Not a device
>>
>>
> Do you know the difference between a file and block device? If my guess is
> correct, you have just created a regular file /dev/xvda. That is not a xen
> virtual device.
>
> --
> Fajar
> _______________________________________________
> lxc-users mailing list
> lxc-users@lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>


-- 
Atenciosamente,

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
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to