Shared folder error after add union filesystems

  • Looks like it cannot find the : Jinja error: No such object: //system/fstab/mntent[uuid='ba3f52d4-34d4-41ae-b585-6818bc72c3c8']


    if it's not in /etc/fstab
    then look in /etc/openmediavault/config.xml


    if it's missing in fstab you may need to delete it in config.xml


    a reboot might also fix it :)

  • That UUID wasn't found in /etc/fstab, but it's in config.xml.
    I deleted it, and couldn't log into OMV after that.
    I ended up ran this command: apt-get install --reinstall openmediavault
    My drives are mounted with SnapRaid.
    I then unmounted and remounted all the drives in order to add it back to UnionFS.


    With the command apt-get install --reinstall openmediavault, I was able to re-installed the plugins, re-mounted the drives, and reused my existing configs without do a fresh installation.


    Thanks for the help, Symbiot

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

    5 Mal editiert, zuletzt von tinh_x7 ()

  • After updating today the problem persists.
    I cleared my mergerfs config and redid my drives into 1 pool.
    Still I get this error:


    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run fstab 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly *salt.utils.args.get_function_argspec(original_function) debian: ---------- ID: create_filesystem_mountpoint_ddcef464-7442-469f-b21e-6beda192e1d3 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_ddcef464-7442-469f-b21e-6beda192e1d3 for file /etc/fstab was charged by text Started: 20:49:15.933200 Duration: 0.3 ms Changes: ---------- ID: mount_filesystem_mountpoint_ddcef464-7442-469f-b21e-6beda192e1d3 Function: mount.mounted Name: /srv/dev-disk-by-label-disk00 Result: True Comment: Target was already mounted Started: 20:49:15.933767 Duration: 77.907 ms Changes: ---------- umount: Forced remount because options (acl) changed ---------- ID: create_filesystem_mountpoint_55509fde-c866-4392-bb44-9cd50a389b27 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_55509fde-c866-4392-bb44-9cd50a389b27 for file /etc/fstab was charged by text Started: 20:49:16.011825 Duration: 0.533 ms Changes: ---------- ID: mount_filesystem_mountpoint_55509fde-c866-4392-bb44-9cd50a389b27 Function: mount.mounted Name: /srv/dev-disk-by-label-disk01 Result: True Comment: Target was already mounted Started: 20:49:16.012416 Duration: 24.858 ms Changes: ---------- umount: Forced remount because options (acl) changed ---------- ID: create_filesystem_mountpoint_fd6bf1f2-b144-4a5c-ac31-65ee43b42c2b Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_fd6bf1f2-b144-4a5c-ac31-65ee43b42c2b for file /etc/fstab was charged by text Started: 20:49:16.037400 Duration: 0.513 ms Changes: ---------- ID: mount_filesystem_mountpoint_fd6bf1f2-b144-4a5c-ac31-65ee43b42c2b Function: mount.mounted Name: /srv/dev-disk-by-label-disk02 Result: True Comment: Target was already mounted Started: 20:49:16.037971 Duration: 24.749 ms Changes: ---------- umount: Forced remount because options (acl) changed ---------- ID: create_filesystem_mountpoint_14b5456f-b4e9-4ab9-a8f9-660ec905fcd0 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_14b5456f-b4e9-4ab9-a8f9-660ec905fcd0 for file /etc/fstab was charged by text Started: 20:49:16.062850 Duration: 0.512 ms Changes: ---------- ID: mount_filesystem_mountpoint_14b5456f-b4e9-4ab9-a8f9-660ec905fcd0 Function: mount.mounted Name: /srv/dev-disk-by-label-disk03 Result: True Comment: Target was already mounted Started: 20:49:16.063418 Duration: 24.674 ms Changes: ---------- umount: Forced remount because options (acl) changed ---------- ID: create_filesystem_mountpoint_fa668eaf-1d4b-4f49-9244-ef6a43c5be55 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_fa668eaf-1d4b-4f49-9244-ef6a43c5be55 for file /etc/fstab was charged by text Started: 20:49:16.088220 Duration: 0.513 ms Changes: ---------- ID: mount_filesystem_mountpoint_fa668eaf-1d4b-4f49-9244-ef6a43c5be55 Function: mount.mounted Name: /srv/dev-disk-by-label-parity01 Result: True Comment: Target was already mounted Started: 20:49:16.088791 Duration: 24.717 ms Changes: ---------- umount: Forced remount because options (acl) changed ---------- ID: create_unionfilesystem_mountpoint_124b685f-80d6-4347-bf0d-ec017ffa2b44 Function: file.accumulated Result: True Comment: Accumulator create_unionfilesystem_mountpoint_124b685f-80d6-4347-bf0d-ec017ffa2b44 for file /etc/fstab was charged by text Started: 20:49:16.113637 Duration: 0.542 ms Changes: ---------- ID: mount_filesystem_mountpoint_124b685f-80d6-4347-bf0d-ec017ffa2b44 Function: mount.mounted Name: /srv/82f5df62-d4aa-4e1b-945b-2f433faac735 Result: False Comment: Unable to unmount /srv/82f5df62-d4aa-4e1b-945b-2f433faac735: umount: /srv/82f5df62-d4aa-4e1b-945b-2f433faac735: target is busy.. Started: 20:49:16.114236 Duration: 16.345 ms Changes: ---------- umount: Forced unmount and mount because options (cache.files=off) changed ---------- ID: append_fstab_entries Function: file.blockreplace Name: /etc/fstab Result: True Comment: Changes were made Started: 20:49:16.131897 Duration: 2.559 ms Changes: ---------- diff: --- +++ @@ -16,5 +16,4 @@ /dev/disk/by-label/disk03 /srv/dev-disk-by-label-disk03 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2 /dev/disk/by-label/parity01 /srv/dev-disk-by-label-parity01 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2 /srv/dev-disk-by-label-disk00:/srv/dev-disk-by-label-disk02:/srv/dev-disk-by-label-disk01:/srv/dev-disk-by-label-disk03 /srv/82f5df62-d4aa-4e1b-945b-2f433faac735 fuse.mergerfs defaults,allow_other,cache.files=off,use_ino,moveonenospc=true,category.create=mfs,minfreespace=30G,x-systemd.requires=/srv/dev-disk-by-label-disk00,x-systemd.requires=/srv/dev-disk-by-label-disk02,x-systemd.requires=/srv/dev-disk-by-label-disk01,x-systemd.requires=/srv/dev-disk-by-label-disk03 0 0 -//192.168.1.123/localdown /srv/e690e5b1-13eb-40c2-8e45-76ff3e237541 cifs _netdev,iocharset=utf8,vers=3.0,nofail,file_mode=0755, dir_mode=0755,credentials=/root/.cifscredentials-ae7b4f16-cf28-41ef-8614-3e772fd19380 0 0 # <<< [openmediavault] Summary for debian ------------- Succeeded: 12 (changed=7) Failed: 1 ------------- Total states run: 13 Total run time: 198.722 ms
  • Thx tinh - I've done that once already. I'd prefer not having to go through the whole setup again. Sharedfolder guids change and I have to run through a lot of setup..
    This 'salt' system seems to be a bit unstable. :-|

  • I ended up doing a lot of cleaning up in config.xml and finally got it sorted by running :

    Code
    omv salt deploy run


    Finally it mounted everything without incident.
    it kept failing on umount of the mergerFS filesystem. It kept saying it was - busy because of residual shared folder config in config.xml that 'something' hadn't cleaned up.

Jetzt mitmachen!

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