USB Backup configuration lost after upgrade to OMV3

  • USB Backup configuration survived all OMV upgrades except to v3. However, when I plug in the disk there are several beeps. Is there anything I can do to restore configuration?

  • Tried to recreate configuration but when I try to run a backup it errors:
    Mount is denied because the NTFS volume is already exclusively opened.
    The volume may be already mounted, or another software may use it which
    could be identified for example by the help of the 'fuser' command.
    ERROR: External storage device '/dev/disk/by-id/usb-ST2000LM_003_HN-M201RAD_FF2000FF00F377F9FFA02859-0:0-part1' not mounted!


    And when I try to unmount the drive:
    Error #0:exception 'OMV\Config\DatabaseException' with message 'The XPath query '//system/fstab/mntent[dir='/media/4CF0796AF0795AE2']' does not return the requested number of 1 object(s).' in /usr/share/php/openmediavault/config/database.inc:172Stack trace:#0 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(964): OMV\Config\Database->getByFilter('conf.system.fil...', Array, 1)#1 [internal function]: OMVRpcServiceFileSystemMgmt->umount(Array, Array)#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)#3 /usr/share/php/openmediavault/rpc/rpc.inc(84): OMV\Rpc\ServiceAbstract->callMethod('umount', Array, Array)#4 /usr/sbin/omv-engined(516): OMV\Rpc\Rpc::call('FileSystemMgmt', 'umount', Array, Array, 1)#5 {main}

    • Offizieller Beitrag

    Looks like the upgrade didn't finish. What is the output of: dpkg -l | grep openm

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • Code
    ii  openmediavault                 3.0.59                         all          Open network attached storage solution
    ii  openmediavault-cups            3.1.1                          all          OpenMediaVault CUPS (network printer server) plugin.
    ii  openmediavault-keyring         1.0                            all          GnuPG archive keys of the OpenMediaVault archive
    ii  openmediavault-minidlna        3.3.4                          all          OpenMediaVault miniDLNA (DLNA server) plugin
    ii  openmediavault-omvextrasorg    3.4.14                         all          OMV-Extras.org Package Repositories for OpenMediaVault
    ii  openmediavault-usbbackup       3.2.12                         all          OpenMediaVault USB/eSATA backup plugin
    • Offizieller Beitrag

    What is the output of:


    cat /etc/fstab
    omv-showkey mntent


    Do you have a desktop environment installed?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • There's no desktop environment.

    • Offizieller Beitrag

    Do you have two data drives? Is one or both usb? Post the output of blkid

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • Code
    /dev/sda1: UUID="055b500e-ffb0-4058-b3f8-6a6bdd5ff65b" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="c7efbca5-2022-4c97-90fa-f41ae65ccf27"
    /dev/sdb1: UUID="dc0f364d-0d5d-4b70-b0d8-fe230571b296" TYPE="ext4" PARTUUID="000852cf-01"
    /dev/sdb5: UUID="71f3a1ec-2130-408b-860e-027cccfeda90" TYPE="swap" PARTUUID="000852cf-05"

    One SATA data drive, one USB system drive, one USB backup drive.

    • Offizieller Beitrag

    UUID=055b500e-ffb0-4058-b3f8-6a6bdd5ff65b /media/usb0 auto rw,user,noauto 0 0
    /dev/sda2 /media/usb1 auto rw,user,noauto 0 0
    /dev/sda5 /media/usb2 auto rw,user,noauto 0 0

    You need to remove these lines especially the first. When you added the first one, it is already added by OMV.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

    • Offizieller Beitrag

    There are threads about the common upgrade errors. You probably aren't running into any that haven't already been solved.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

    • Offizieller Beitrag

    perhaps I'll try v3 upgrade some time later when it's more unfailing.

    Strange. The problems I noticed were problems introduced from things you changed. Just because they worked with OMV 2.x does not mean OMV is the problem. There is huge difference between Debian 7 (OMV 2.x) and Debian (OMV 3.x).

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • But I didn't change anything. It's a vanilla OMV with MiniDLNA and CUPS only, nothing was ever changed behind the curtains except for fixing stuff borked by upgrades. I'm using 3.2 kernel in OMV v2 and it is working great.
    v3 upgrade breaks just too many things here to make manual fixing worthwhile when v2 works so good.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!