ZFS export Failed to execute command 'export

  • Hello,


    I have a newly installed OMV.

    I have set up ZFS here, but when exporting the zpool I get the following error message.

    If I read it correctly, it can't run it, but I can't see why.

    Who can help here ?


    OMV Version 6.9.12-2
    Do-it-yourself NAS:
    Mainboard: B550I AORUS PRO AX

    CPU: AMD Ryzen 5 5600G
    RAM: 32GB
    Case: Jonsbo N1 Mini-ITX

  • macom

    Approved the thread.
  • What's the status of your pool? ( via WebUi pool > tools> details - or at the CLI zpool status ) Any outstanding OMV configurations not applied? That error message could simply mean the pool is currently being accessed, e.g: an open file share.

  • The status is OK via the web interface.


    CLI:


    Addendum:

    When I change any services (FileBrowser) and try to save them, I get more errors.

    Somehow it can no longer save the settings.

  • Something has gone very wrong.

    I'm reinstalling the whole system.

    It's not a production system yet.

    OMV Version 6.9.12-2
    Do-it-yourself NAS:
    Mainboard: B550I AORUS PRO AX

    CPU: AMD Ryzen 5 5600G
    RAM: 32GB
    Case: Jonsbo N1 Mini-ITX

  • AFAIK, an error in trying to export a busy zfs pool does not leave the OMV system in a failed state, there's is no config change to undo. After such an event, other further configuration changes should work normally


    I'd start a new thread re: "not able to save (any?) configuration changes" and post that error message there.

  • I can't remember which setting that was, I've played around too much.

    So I have now completely reinstalled the system.

    But what I find strange is that after the reinstallation my dashboard settings look the same as before.

    OMV Version 6.9.12-2
    Do-it-yourself NAS:
    Mainboard: B550I AORUS PRO AX

    CPU: AMD Ryzen 5 5600G
    RAM: 32GB
    Case: Jonsbo N1 Mini-ITX

    • Official Post

    But what I find strange is that after the reinstallation my dashboard settings look the same as before.

    That's because your browser will still set cookies for the IP you're using, which I imagine is the same as before. This is how the board works.

  • Thanks for the tip.


    I have now created a new ZFS pool as I can't import from the previous one.

    Then I clicked on the ZFS pool, then on export in the menu and now the whole pool is no longer visible.

    Where did it go?


    OMV Version 6.9.12-2
    Do-it-yourself NAS:
    Mainboard: B550I AORUS PRO AX

    CPU: AMD Ryzen 5 5600G
    RAM: 32GB
    Case: Jonsbo N1 Mini-ITX

    • Official Post

    I have now created a new ZFS pool as I can't import from the previous one.

    Then I clicked on the ZFS pool, then on export in the menu and now the whole pool is no longer visible.

    Where did it go?

    I have never done it in the GUI, but if you export a group it is because the next thing you are going to do is delete it from the system. So it is logical that the GUI removes this file system from the OMV database after exporting.

    • Official Post

    You could still re-import the pool if the disks are still in the system. The pool has not been deleted, just exported.

  • Thanks for the info.

    Are there any instructions on how to save individual OMV settings?

    I have already seen the complete backup from your signature.

    I would also like to be able to back up and restore only certain settings.

    OMV Version 6.9.12-2
    Do-it-yourself NAS:
    Mainboard: B550I AORUS PRO AX

    CPU: AMD Ryzen 5 5600G
    RAM: 32GB
    Case: Jonsbo N1 Mini-ITX

    • Official Post

    Are there any instructions on how to save individual OMV settings?

    I have already seen the complete backup from your signature.

    I would also like to be able to back up and restore only certain settings.

    No. There is nothing similar to omv-regen. omv-regen will restore everything you had on the original system. Although it allows you certain customizations, the network or the proxmox kernel.

    You can "hack" the file that tells what plugins to install on the new system but nothing more. If you want to do that I can tell you how to do it.

  • Where did it go? zpool export unmounts the pool from the system. For example:


    After an export the pool is still present system on the system but unmounted. This would, for example, allow you to move the disks to another machine and import the pool there.

  • Where did it go? zpool export unmounts the pool from the system.

    This is then wrong in the naming.

    It should then be labeled as follows: "zpool unmount"


    If I have understood this correctly, then I can completely reinstall the system and then simply go to "zpool import" and my pool is there again. ?

    OMV Version 6.9.12-2
    Do-it-yourself NAS:
    Mainboard: B550I AORUS PRO AX

    CPU: AMD Ryzen 5 5600G
    RAM: 32GB
    Case: Jonsbo N1 Mini-ITX

  • Yes, if you installed the correct plugins on OMV first. The name follows the openzfs standard.

    ok, I understand.

    Let's assume my device breaks down and I don't have OMV available.

    But then I should be able to restore the zpool e.g. in Linux Mint or Debian.

    If I have Openzfs installed on the system ?

    OMV Version 6.9.12-2
    Do-it-yourself NAS:
    Mainboard: B550I AORUS PRO AX

    CPU: AMD Ryzen 5 5600G
    RAM: 32GB
    Case: Jonsbo N1 Mini-ITX

  • Moving a zfs pool from OMV6 to latest Linux Mint or Debian 12 should be OK. Problems can occur if you move a zfs pool from system A to System B where the two systems are using different zfs versions and pool features.

    • Official Post

    Donauschwabe

    Maybe you would benefit from reading a little about ZFS management. Aaron Toponce's documentation is very instructive, it helped me a lot to understand ZFS. Although it is an old document, everything it says is still valid, in fact it is still a reference in the OpenZFS documentation, although the link is broken. This link still allows access to the document. https://web.archive.org/web/20…l-zfs-on-debian-gnulinux/

  • Moving a zfs pool from OMV6 to latest Linux Mint or Debian 12 should be OK. Problems can occur if you move a zfs pool from system A to System B where the two systems are using different zfs versions and pool features.

    Thanks for the info, I guess zfs is not an option for me then.


    One last question:

    What about BTRFS ?

    Is it as problematic with btrfs as with zfs ?

    Or can I mount BTRFS just like ext4 in any Linux distro without any problems ?


    Maybe you would benefit from reading a little about ZFS management. Aaron Toponce's documentation is very instructive, it helped me a lot to understand ZFS. Although it is an old document, everything it says is still valid, in fact it is still a reference in the OpenZFS documentation, although the link is broken. This link still allows access to the document.

    Thanks for the tip, I'll read through it when I get the chance.

    OMV Version 6.9.12-2
    Do-it-yourself NAS:
    Mainboard: B550I AORUS PRO AX

    CPU: AMD Ryzen 5 5600G
    RAM: 32GB
    Case: Jonsbo N1 Mini-ITX

Participate now!

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