In 4.4.6 Copying from regular Storage Domains to Managed Block Storage Domains was added

On Wed, Jul 14, 2021 at 10:34 AM Sandro Bonazzola <sbonazzo@redhat.com> wrote:


Il giorno mer 14 lug 2021 alle ore 08:53 Konstantin Shalygin <k0ste@k0ste.ru> ha scritto:
Hi Sandro,

- How this image is mounted on oVirt host?

They are mounted as block storage

/rhev/
`-- data-center
    |-- b55ef7a8-da51-11eb-b619-5254001ce0e4
    |   |-- 1996dc3b-d33f-49cb-b32a-8f7b1d50af5e -> /rhev/data-center/mnt/blockSD/1996dc3b-d33f-49cb-b32a-8f7b1d50af5e
    |   `-- mastersd -> /rhev/data-center/mnt/blockSD/1996dc3b-d33f-49cb-b32a-8f7b1d50af5e
    `-- mnt
        `-- blockSD
            `-- 1996dc3b-d33f-49cb-b32a-8f7b1d50af5e
                |-- dom_md
                |   |-- ids -> /dev/1996dc3b-d33f-49cb-b32a-8f7b1d50af5e/ids
                |   |-- inbox -> /dev/1996dc3b-d33f-49cb-b32a-8f7b1d50af5e/inbox
                |   |-- leases -> /dev/1996dc3b-d33f-49cb-b32a-8f7b1d50af5e/leases
                |   |-- master -> /dev/1996dc3b-d33f-49cb-b32a-8f7b1d50af5e/master
                |   |-- metadata -> /dev/1996dc3b-d33f-49cb-b32a-8f7b1d50af5e/metadata
                |   |-- outbox -> /dev/1996dc3b-d33f-49cb-b32a-8f7b1d50af5e/outbox
                |   `-- xleases -> /dev/1996dc3b-d33f-49cb-b32a-8f7b1d50af5e/xleases
                |-- ha_agent
                |   |-- hosted-engine.lockspace -> /run/vdsm/storage/1996dc3b-d33f-49cb-b32a-8f7b1d50af5e/ac3a245f-e6fe-4159-b0ee-be08d4048bb7/8b4bddc1-1602-45d7-854c-eaeac9549617
                |   `-- hosted-engine.metadata -> /run/vdsm/storage/1996dc3b-d33f-49cb-b32a-8f7b1d50af5e/dc77bfc2-cecd-4ab5-81f7-e15b81e45994/1927372e-019b-448a-8645-697b8b8ed42a
                `-- images
                    |-- 10af85ab-434d-4104-800d-099e05a3653e
                    |   `-- 08ad02fc-6bfc-40ab-9c3d-24e0f1ac6689 -> /dev/1996dc3b-d33f-49cb-b32a-8f7b1d50af5e/08ad02fc-6bfc-40ab-9c3d-24e0f1ac6689
                    |-- ac3a245f-e6fe-4159-b0ee-be08d4048bb7
                    |   `-- 8b4bddc1-1602-45d7-854c-eaeac9549617 -> /dev/1996dc3b-d33f-49cb-b32a-8f7b1d50af5e/8b4bddc1-1602-45d7-854c-eaeac9549617
                    |-- bb667f95-bbb0-41a4-ad15-66f1b9bdda59
                    |   `-- 5abcb5f0-2c28-41b4-bfcc-bd41ef730d35 -> /dev/1996dc3b-d33f-49cb-b32a-8f7b1d50af5e/5abcb5f0-2c28-41b4-bfcc-bd41ef730d35
                    |-- cccd50f6-6e47-43ab-9075-1bbd31d5e3b7
                    |   `-- 169eacc2-584c-47ee-a295-ad3aa9c811c5 -> /dev/1996dc3b-d33f-49cb-b32a-8f7b1d50af5e/169eacc2-584c-47ee-a295-ad3aa9c811c5
                    |-- dc77bfc2-cecd-4ab5-81f7-e15b81e45994
                    |   `-- 1927372e-019b-448a-8645-697b8b8ed42a -> /dev/1996dc3b-d33f-49cb-b32a-8f7b1d50af5e/1927372e-019b-448a-8645-697b8b8ed42a
                    `-- fc6b0b84-17fa-42e9-80ae-97cf50e8b74d
                        `-- 3eaeb1ba-2b36-4c29-b721-da19d3e5784e -> /dev/1996dc3b-d33f-49cb-b32a-8f7b1d50af5e/3eaeb1ba-2b36-4c29-b721-da19d3e5784e
 
- How to change image features?
- How to add upmap option to libvirt domain?
- How libvirt domain looks like?
- How snapshots works?

Snapshot works fine, going to VM tab and creating snapshot as usual.
 
- How clones works?

Disk copy can be done from the engine storage -> disk tab.
VM cloning failed for me, opened Bug 1982083 Cloning VM with managed block storage raise a NPE

 
- How to migrate images from one domain to another?

I would let the storage team answer these questions in detail, +Benny Zlotnik ?

 
--

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV

Red Hat EMEA

sbonazzo@redhat.com   

Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours.