Error creating a KVM pool

  • Hi,


    i'm using OMV since many Years and like it very much.


    At the Moment i want to test the KVM Plugin since the Upgrade to OMV6 there is an error which occurs.

    Allways when i try to create a Storage Pool in an Directory it shows this message:


    500 - Internal Server Error

    Failed to execute XPath query '//system/fstab/mntent[uuid='79684322-3eac-11ea-a974-63a080abab18']'.


    Non of my raids, mountpoints or shared folders has this uuid

    how can i remove this error/uuid?

    • Official Post

    We need all of the error message. The bell in the upper right allows you to cut&paste it.

    omv 6.3.4-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.9 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • hi,


    this is the complete errormessage:


    Failed to execute XPath query '//system/fstab/mntent[uuid='79684322-3eac-11ea-a974-63a080abab18']'.


    OMV\Config\DatabaseException: Failed to execute XPath query '//system/fstab/mntent[uuid='79684322-3eac-11ea-a974-63a080abab18']'. in /usr/share/php/openmediavault/config/database.inc:78

    Stack trace:

    #0 /usr/share/openmediavault/engined/rpc/folderbrowser.inc(78): OMV\Config\Database->get('conf.system.fil...', '79684322-3eac-1...')

    #1 [internal function]: Engined\Rpc\FolderBrowser->get(Array, Array)

    #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)

    #3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('get', Array, Array)

    #4 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('FolderBrowser', 'get', Array, Array, 1)

    #5 {main}

    • Official Post

    I should've looked at the uuid closer. That is the sharerootfs uuid. Are you only seeing this when clicking the folder button in the web interface? Try ctrl-shift-R. What is the output of: dpkg -l | grep openme

    omv 6.3.4-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.9 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • i saw it also when i configured some smb shares but now there is no more failure


    Output of the dpkg:


    root@omv:~# dpkg -l | grep openme

    ii openmediavault 6.0.46-5 all openmediavault - The open network attached storage solution

    ii openmediavault-cputemp 6.1.1 all cpu temperature plugin for openmediavault

    ii openmediavault-diskstats 6.0.1-1 all openmediavault disk monitoring plugin

    ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive

    ii openmediavault-kvm 6.2.5 all kvm plugin for OpenMediaVault.

    ii openmediavault-omvextrasorg 6.1.1 all OMV-Extras.org Package Repositories for OpenMediaVault

    ii openmediavault-resetperms 6.0.2 all Reset Permissions

    ii openmediavault-sharerootfs 6.0.2-1 all openmediavault share root filesystem plugin

    ii openmediavault-snmp 6.0.1-1 all openmediavault SNMP (Simple Network Management Protocol) plugin

    ii openmediavault-symlinks 6.0.4 all OpenMediaVault symlinks plugin

    • Official Post

    i saw it also when i configured some smb shares but now there is no more failure

    So, it is fixed?

    omv 6.3.4-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.9 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    Exactly when does the failure occur?

    omv 6.3.4-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.9 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    everytime i push this button no matter if directory, share or anything else

    That function relies on a working sharerootfs plugin. What is the output of:


    sudo omv-showkey mntent

    sudo lsblk

    omv 6.3.4-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.9 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • root@omv:~# sudo omv-showkey mntent~

    root@omv:~# sudo lsblk

    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

    sda 8:0 0 9,1T 0 disk

    └─md2 9:2 0 72,7T 0 raid6 /srv/dev-disk-by-uuid-246c98be-3793-48f6-a021-578f98bfc466

    sdb 8:16 0 9,1T 0 disk

    └─md127 9:127 0 45,5T 0 raid5 /srv/dev-disk-by-uuid-494e1c55-dcc4-406f-9ac5-caab5c83e43b

    sdc 8:32 0 9,1T 0 disk

    └─md2 9:2 0 72,7T 0 raid6 /srv/dev-disk-by-uuid-246c98be-3793-48f6-a021-578f98bfc466

    sdd 8:48 0 9,1T 0 disk

    └─md2 9:2 0 72,7T 0 raid6 /srv/dev-disk-by-uuid-246c98be-3793-48f6-a021-578f98bfc466

    sde 8:64 0 9,1T 0 disk

    └─md2 9:2 0 72,7T 0 raid6 /srv/dev-disk-by-uuid-246c98be-3793-48f6-a021-578f98bfc466

    sdf 8:80 0 9,1T 0 disk

    └─md127 9:127 0 45,5T 0 raid5 /srv/dev-disk-by-uuid-494e1c55-dcc4-406f-9ac5-caab5c83e43b

    sdg 8:96 0 9,1T 0 disk

    └─md127 9:127 0 45,5T 0 raid5 /srv/dev-disk-by-uuid-494e1c55-dcc4-406f-9ac5-caab5c83e43b

    sdh 8:112 0 9,1T 0 disk

    └─md127 9:127 0 45,5T 0 raid5 /srv/dev-disk-by-uuid-494e1c55-dcc4-406f-9ac5-caab5c83e43b

    sdi 8:128 0 9,1T 0 disk

    └─md2 9:2 0 72,7T 0 raid6 /srv/dev-disk-by-uuid-246c98be-3793-48f6-a021-578f98bfc466

    sdj 8:144 0 9,1T 0 disk

    └─md127 9:127 0 45,5T 0 raid5 /srv/dev-disk-by-uuid-494e1c55-dcc4-406f-9ac5-caab5c83e43b

    sdk 8:160 0 9,1T 0 disk

    └─md2 9:2 0 72,7T 0 raid6 /srv/dev-disk-by-uuid-246c98be-3793-48f6-a021-578f98bfc466

    sdl 8:176 0 9,1T 0 disk

    └─md2 9:2 0 72,7T 0 raid6 /srv/dev-disk-by-uuid-246c98be-3793-48f6-a021-578f98bfc466

    sdm 8:192 0 9,1T 0 disk

    └─md127 9:127 0 45,5T 0 raid5 /srv/dev-disk-by-uuid-494e1c55-dcc4-406f-9ac5-caab5c83e43b

    sdn 8:208 0 9,1T 0 disk

    └─md2 9:2 0 72,7T 0 raid6 /srv/dev-disk-by-uuid-246c98be-3793-48f6-a021-578f98bfc466

    sdo 8:224 0 9,1T 0 disk

    ├─sdo1 8:225 0 2,4G 0 part

    ├─sdo2 8:226 0 2G 0 part

    └─sdo3 8:227 0 9,1T 0 part

    └─md2 9:2 0 72,7T 0 raid6 /srv/dev-disk-by-uuid-246c98be-3793-48f6-a021-578f98bfc466

    sdp 8:240 0 9,1T 0 disk

    └─md2 9:2 0 72,7T 0 raid6 /srv/dev-disk-by-uuid-246c98be-3793-48f6-a021-578f98bfc466

    sdq 65:0 0 232,9G 0 disk

    ├─sdq1 65:1 0 231,9G 0 part /

    ├─sdq2 65:2 0 1K 0 part

    └─sdq5 65:5 0 976M 0 part [SWAP]

    root@omv:~#

    • Official Post

    root@omv:~# sudo omv-showkey mntent~

    You added a ~ to the end that should not be there.

    omv 6.3.4-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.9 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • root@omv:~# sudo omv-showkey mntent

    <mntent>

    <uuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</uuid>

    <fsname>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx|xxxx-xxxx|/dev/xxx</fsname>

    <dir>/xxx/yyy/zzz</dir>

    <type>none|ext2|ext3|ext4|xfs|jfs|iso9660|udf|...</type>

    <opts></opts>

    <freq>0</freq>

    <passno>0|1|2</passno>

    <hidden>0|1</hidden>

    <usagewarnthreshold>xxx</usagewarnthreshold>

    <comment>xxx</comment>

    </mntent>

    <mntent>

    <uuid>d579dd19-37c1-4c8d-ba2b-1fc43fcf4339</uuid>

    <fsname>/dev/disk/by-uuid/494e1c55-dcc4-406f-9ac5-caab5c83e43b</fsname>

    <dir>/srv/dev-disk-by-uuid-494e1c55-dcc4-406f-9ac5-caab5c83e43b</dir>

    <type>ext4</type>

    <opts>defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl</opts>

    <freq>0</freq>

    <passno>2</passno>

    <hidden>0</hidden>

    <usagewarnthreshold>95</usagewarnthreshold>

    <comment></comment>

    </mntent>

    <mntent>

    <uuid>a53f778f-592a-4cf1-ac1c-19584a978c03</uuid>

    <fsname>/dev/disk/by-uuid/246c98be-3793-48f6-a021-578f98bfc466</fsname>

    <dir>/srv/dev-disk-by-uuid-246c98be-3793-48f6-a021-578f98bfc466</dir>

    <type>ext4</type>

    <opts>defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl</opts>

    <freq>0</freq>

    <passno>2</passno>

    <hidden>0</hidden>

    <usagewarnthreshold>95</usagewarnthreshold>

    <comment></comment>

    </mntent>

    • Official Post

    That doesn't look like all of it. You can attach a file with the output.

    omv 6.3.4-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.9 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    Then something happened to the sharerootfs entry. I would reinstall that plugin.


    sudo apt-get install --reinstall openmediavault-sharerootfs

    omv 6.3.4-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.9 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    I can now Add KVM Pools

    You could before too. You would just have to type in the path and not use the directory chooser.


    is there any configuration lost that i have to reconfigure?

    Nope. It only adds one entry to mntent. Did you edit the database? I can't figure out how that entry was deleted.

    omv 6.3.4-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.9 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!