[Pkg-libvirt-maintainers] Bug#778904: Bug#778904: libvirtd: internal error: unexpected storage mode for '/home/user/vm'

Heinrich Schuchardt xypron.glpk at gmx.de
Mon Feb 23 18:54:47 UTC 2015


>> Well the error is from the storage backend. You should look at the
>> running daemons configuration not the on disk files (using virsh).
>> Cheers,
>>  -- Guido
>>
> Hello Guido,
> 
> as mentioned no guest is running. This is the output of virsh:
> 
> $ sudo virsh list
>  Id    Name                           State
> ----------------------------------------------------
> 
> When starting the systems the pools are created via the xml files.
> Hence virsh can only show these pools:
> 
> $ sudo virsh pool-list
>  Name                 State      Autostart
> -------------------------------------------
>  default              active     yes
>  Downloads            active     yes
>  tmp                  active     yes
> 
> So virsh does not show any hint what the problem is.
> 
> Best regards
> 
> Heinrich Schuchardt
> 

virsh pool-dumpxml just gives the same information that is in the config
files.

No evidence of the path causing the trouble

$ sudo virsh pool-dumpxml default


<pool type='dir'>


  <name>default</name>
  <uuid>c5b82cc9-38da-4fbf-bda5-c7c038e6bee8</uuid>
  <capacity unit='bytes'>98291167232</capacity>
  <allocation unit='bytes'>46136434688</allocation>
  <available unit='bytes'>52154732544</available>
  <source>
  </source>
  <target>
    <path>/var/lib/libvirt/images</path>
    <permissions>
      <mode>0755</mode>
      <owner>-1</owner>
      <group>-1</group>
    </permissions>
  </target>
</pool>

$ sudo virsh pool-dumpxml Downloads
<pool type='dir'>
  <name>Downloads</name>
  <uuid>2538fa03-7d19-426f-9b53-57cfbd032ad1</uuid>
  <capacity unit='bytes'>196722913280</capacity>
  <allocation unit='bytes'>88080920576</allocation>
  <available unit='bytes'>108641992704</available>
  <source>
  </source>
  <target>
    <path>/home/user/Downloads</path>
    <permissions>
      <mode>0755</mode>
      <owner>-1</owner>
      <group>-1</group>
    </permissions>
  </target>
</pool>

$ sudo virsh pool-dumpxml tmp
<pool type='dir'>
  <name>tmp</name>
  <uuid>e6ded047-e6cb-42d7-9532-a9b5c289037e</uuid>
  <capacity unit='bytes'>98291167232</capacity>
  <allocation unit='bytes'>46136434688</allocation>
  <available unit='bytes'>52154732544</available>
  <source>
  </source>
  <target>
    <path>/tmp</path>
    <permissions>
      <mode>0755</mode>
      <owner>-1</owner>
      <group>-1</group>
    </permissions>
  </target>
</pool>



More information about the Pkg-libvirt-maintainers mailing list