Comment 12 for bug 1222847

Revision history for this message
guillaume thouvenin (guillaume-thouvenin) wrote : Re: xenapi: Fetched VDIs of type 'root' with a wrong UUID

I tried this solution. I mounted an ext4 filesystem on /opt/main-sr:

xe sr-create content-type=user type=ext device-config:path=/opt/main-sr name-label="Main storage"

where

# df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/sdb2 ext4 628G 2,4G 594G 1% /opt/main-sr

I also set this new SR as the default SR in the pool. Unfortunatly I still have the same error:

Failure: ['UUID_INVALID', 'VDI', '0eda1484-beba-4425-b7d1-1c2b266d3a0b']

and

# ll /opt/main-sr/
total 2245200
-rw-------. 1 1000 users 2299062272 3 oct. 13:52 0eda1484-beba-4425-b7d1-1c2b266d3a0b.vhd

# xe vdi-list name-label=0eda1484-beba-4425-b7d1-1c2b266d3a0b.vhd
uuid ( RO) : 2738a98c-e3fb-9b16-0a3e-3b7c9df4b69e
          name-label ( RW): 0eda1484-beba-4425-b7d1-1c2b266d3a0b.vhd
    name-description ( RW):
             sr-uuid ( RO): 44bf67ce-7fbf-ed56-45e4-b9195c097b30
        virtual-size ( RO): 2299062272
            sharable ( RO): false
           read-only ( RO): false