Old mount entries still present in /srv

  • I recently re-organized the storage on my OMV4 NAS:

    • Added 2 new hard drives.
    • Changed labels of existing file systems (using e2label)
    • Installed openmediavault-unionfilesystems in order to pool my storage (creating 2 pools: one using SSD caching, the other being the backing pool).

    The OMV file-system configuration looks like this:


    • "S850PRO_0" previously had no label (this is the OMV boot system)
    • "S850PRO_3" was previously named "SSD"
    • "WD40EFRX_2014" was previously named "NAS0": this will eventually become a SnapRAID parity disk
    • "WD40EFRX_201701" and "WD40EFRX_201702" are the file systems on the new hard drives
    • "WD20EARS_2010" was previously named "NAS1"
    • "mergefs:backingPool" and "mergerfs:cachedPool" are, unsurprisingly, the pools

    Everything OMV seems to work correctly, except I do not seem to be able to unmount "WD40EFRX_2014". I unmounted it using OMV once, but it remained visible in the OMV UI (even after applying the changes and rebooting). Clicking the "unmount" button again results in an error:


    The XPath query '//system/fstab/mntent[(((((((fsname='/dev/sdb1' or fsname='/dev/disk/by-partuuid/de32045a-9bcb-478a-8516-92bdf23f444e') or fsname='/dev/disk/by-path/pci-0000:00:1f.2-ata-2-part1') or fsname='/dev/disk/by-id/ata-WDC_WD40EFRX-68WT0N0_WD-WCC4EJJTZ2AE-part1') or fsname='/dev/disk/by-label/WD40EFRX_2014') or fsname='/dev/disk/by-uuid/644608a4-01f7-4987-b2c7-a7714dd5ea26') or fsname='/dev/disk/by-id/wwn-0x50014ee26016323f-part1') or fsname='644608a4-01f7-4987-b2c7-a7714dd5ea26')]' does not return the requested number of 1 object(s).


    ls -l /srv shows this:

    Lines 7, 8, 10, 15 and 16 are not supposed to be there (the last two are the result of my fiddling around with the pool mount labels: that was stupid).
    I adapted the /etc/openmediavault/config.xml and ran omv-mkconf fstab to clean this mess up: /etc/fstab no longer lists the offending mount-points.


    I am guessing that the error I get when trying to amount "WD40EFRX_2014" stems from /srv/dev-disk-by-label-NAS0 still pointing to it...


    How can I clean this up?

    NAS: Celeron G1840T | ASUS H87I-Plus | Samsung SSD 850Pro 256 GB | 5xWD40EFRX | OMV6

  • Seems like those are just regular directories now (no longer mount points): I removed them using regular rm -R /srv/dev-disk-by-label-NAS0 statements.
    Problem with WD40EFRX_2014 disappeared after another reboot.

    NAS: Celeron G1840T | ASUS H87I-Plus | Samsung SSD 850Pro 256 GB | 5xWD40EFRX | OMV6

Jetzt mitmachen!

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