Posts by gderf

    The most frequent cause of your problem is misunderstanding the available choices of creation policies for your pool. Typically, choosing a creation policy that includes "existing path" and not having that path already existing on each hard drive in the pool will lead to exactly what you are seeing.


    You may want to read the mergerfs documentation that deals with this.


    GitHub - trapexit/mergerfs: a featureful union filesystem
    a featureful union filesystem. Contribute to trapexit/mergerfs development by creating an account on GitHub.
    github.com

    The basic way I would recover the lost folder. For any step you don't know how to do, google for tips.


    1) Decompress the dd.gz file.

    2) Mount the dd file to an empty directory.

    3) Enter the formerly empty directory, locate and copy the lost folder to where it belongs, but be sure to preserve the original attributes.

    4) Once you're sure the fix worked, unmount the dd file or reboot. The dd file (but not the dd.gz file) can be deleted once you are done with it.

    How much was the SATA3 card that is giving you trouble?


    Have you looked for LSI SAS cards in that price range? My last purchase was an LSI 9207 that I paid $35 for. Many available on eBay, some even include cables.

    What was in this local.conf file? Any idea who has created that file? What Debian derivate are you using?

    /etc/nfs.conf.d/local.conf

    No idea what triggered its creation.


    I am running OMV as originally installed from iso v2 and updated from 2>3>4>5>6>7.


    My desktop machine runs Linux Mint 21.3 Cinnamon on an AMD box.


    I am still unable to browse OMV's NFS shares on Mint. They do not appear in the Network window in Nemo.

    I set V3 and saved but did not apply changes, Then ran the above commands. Got this:

    What is the output of: sudo journalctl -u nfs-server

    Just todays stuff when trying to set v3 only and putting it back to all versions.


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color nfs 2>&1' with exit code '1': omv.localdomain:

    ----------

    ID: configure_nfs_conf

    Function: file.managed

    Name: /etc/nfs.conf.d/99-openmediavault.conf

    Result: True

    Comment: File /etc/nfs.conf.d/99-openmediavault.conf updated

    Started: 12:46:26.280527

    Duration: 161.302 ms

    Changes:

    ----------

    diff:

    ---

    +++

    @@ -4,10 +4,10 @@

    [nfsd]

    threads=32

    udp=yes

    -tcp=yes

    +tcp=no

    vers2=no

    vers3=yes

    -vers4=yes

    -vers4.0=yes

    +vers4=no

    +vers4.0=no

    vers4.1=no

    vers4.2=no

    ----------

    ID: configure_idmapd_conf

    Function: file.managed

    Name: /etc/idmapd.conf

    Result: True

    Comment: File /etc/idmapd.conf is in the correct state

    Started: 12:46:26.441944

    Duration: 111.17 ms

    Changes:

    ----------

    ID: divert_idmapd_conf

    Function: omv_dpkg.divert_add

    Name: /etc/idmapd.conf

    Result: True

    Comment: Leaving 'local diversion of /etc/idmapd.conf to /etc/idmapd.conf.distrib'

    Started: 12:46:26.553530

    Duration: 17.796 ms

    Changes:

    ----------

    ID: configure_nfs_exports

    Function: file.managed

    Name: /etc/exports

    Result: True

    Comment: File /etc/exports updated

    Started: 12:46:26.571488

    Duration: 205.297 ms

    Changes:

    ----------

    diff:

    ---

    +++

    @@ -6,4 +6,3 @@

    /export/fred-home 192.168.1.0/24(fsid=4f32710b-30ff-4d44-aa72-4e39fb84530b,rw,subtree_check,insecure)

    /export/multimedia 192.168.1.0/24(fsid=049d0518-08ad-4441-848e-e7322f5ac704,rw,subtree_check,insecure)

    /export/YTS-RARBG-Torrents 192.168.1.0/24(fsid=9a2b9017-f4e1-4233-a936-870369222872,rw,subtree_check,insecure)

    -/export 192.168.1.0/24(ro,fsid=0,root_squash,no_subtree_check)

    ----------

    ID: divert_nfs_exports

    Function: omv_dpkg.divert_add

    Name: /etc/exports

    Result: True

    Comment: Leaving 'local diversion of /etc/exports to /etc/exports.distrib'

    Started: 12:46:26.776901

    Duration: 16.893 ms

    Changes:

    ----------

    ID: stop_nfs_blkmap_service

    Function: service.dead

    Name: nfs-blkmap

    Result: True

    Comment: The service nfs-blkmap is already dead

    Started: 12:46:27.661315

    Duration: 33.858 ms

    Changes:

    ----------

    ID: mask_nfs_blkmap_service

    Function: service.masked

    Name: nfs-blkmap

    Result: True

    Comment: Service nfs-blkmap is already masked

    Started: 12:46:27.695320

    Duration: 0.59 ms

    Changes:

    ----------

    ID: start_nfs_server_service

    Function: service.running

    Name: nfs-server

    Result: False

    Comment: Job for nfs-server.service canceled.

    Started: 12:46:27.725750

    Duration: 290.265 ms

    Changes:

    ----------

    ID: restart_nfs_utils_service

    Function: service.running

    Name: nfs-utils

    Result: True

    Comment: Service restarted

    Started: 12:46:28.055799

    Duration: 62.475 ms

    Changes:

    ----------

    nfs-utils:

    True


    Summary for omv.localdomain

    ------------

    Succeeded: 8 (changed=3)

    Failed: 1

    ------------

    Total states run: 9

    Total run time: 899.646 ms

    [ERROR ] Command '/bin/systemd-run' failed with return code: 1

    [ERROR ] stderr: Running scope as unit: run-r82e779f4a23f4b37a405769c076a3fa7.scope

    Job for nfs-server.service canceled.

    [ERROR ] retcode: 1

    [ERROR ] Job for nfs-server.service canceled.


    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color nfs 2>&1' with exit code '1': omv.localdomain:

    ----------

    ID: configure_nfs_conf

    Function: file.managed

    Name: /etc/nfs.conf.d/99-openmediavault.conf

    Result: True

    Comment: File /etc/nfs.conf.d/99-openmediavault.conf updated

    Started: 12:46:26.280527

    Duration: 161.302 ms

    Changes:

    ----------

    diff:

    ---

    +++

    @@ -4,10 +4,10 @@

    [nfsd]

    threads=32

    udp=yes

    -tcp=yes

    +tcp=no

    vers2=no

    vers3=yes

    -vers4=yes

    -vers4.0=yes

    +vers4=no

    +vers4.0=no

    vers4.1=no

    vers4.2=no

    ----------

    ID: configure_idmapd_conf

    Function: file.managed

    Name: /etc/idmapd.conf

    Result: True

    Comment: File /etc/idmapd.conf is in the correct state

    Started: 12:46:26.441944

    Duration: 111.17 ms

    Changes:

    ----------

    ID: divert_idmapd_conf

    Function: omv_dpkg.divert_add

    Name: /etc/idmapd.conf

    Result: True

    Comment: Leaving 'local diversion of /etc/idmapd.conf to /etc/idmapd.conf.distrib'

    Started: 12:46:26.553530

    Duration: 17.796 ms

    Changes:

    ----------

    ID: configure_nfs_exports

    Function: file.managed

    Name: /etc/exports

    Result: True

    Comment: File /etc/exports updated

    Started: 12:46:26.571488

    Duration: 205.297 ms

    Changes:

    ----------

    diff:

    ---

    +++

    @@ -6,4 +6,3 @@

    /export/fred-home 192.168.1.0/24(fsid=4f32710b-30ff-4d44-aa72-4e39fb84530b,rw,subtree_check,insecure)

    /export/multimedia 192.168.1.0/24(fsid=049d0518-08ad-4441-848e-e7322f5ac704,rw,subtree_check,insecure)

    /export/YTS-RARBG-Torrents 192.168.1.0/24(fsid=9a2b9017-f4e1-4233-a936-870369222872,rw,subtree_check,insecure)

    -/export 192.168.1.0/24(ro,fsid=0,root_squash,no_subtree_check)

    ----------

    ID: divert_nfs_exports

    Function: omv_dpkg.divert_add

    Name: /etc/exports

    Result: True

    Comment: Leaving 'local diversion of /etc/exports to /etc/exports.distrib'

    Started: 12:46:26.776901

    Duration: 16.893 ms

    Changes:

    ----------

    ID: stop_nfs_blkmap_service

    Function: service.dead

    Name: nfs-blkmap

    Result: True

    Comment: The service nfs-blkmap is already dead

    Started: 12:46:27.661315

    Duration: 33.858 ms

    Changes:

    ----------

    ID: mask_nfs_blkmap_service

    Function: service.masked

    Name: nfs-blkmap

    Result: True

    Comment: Service nfs-blkmap is already masked

    Started: 12:46:27.695320

    Duration: 0.59 ms

    Changes:

    ----------

    ID: start_nfs_server_service

    Function: service.running

    Name: nfs-server

    Result: False

    Comment: Job for nfs-server.service canceled.

    Started: 12:46:27.725750

    Duration: 290.265 ms

    Changes:

    ----------

    ID: restart_nfs_utils_service

    Function: service.running

    Name: nfs-utils

    Result: True

    Comment: Service restarted

    Started: 12:46:28.055799

    Duration: 62.475 ms

    Changes:

    ----------

    nfs-utils:

    True


    Summary for omv.localdomain

    ------------

    Succeeded: 8 (changed=3)

    Failed: 1

    ------------

    Total states run: 9

    Total run time: 899.646 ms

    [ERROR ] Command '/bin/systemd-run' failed with return code: 1

    [ERROR ] stderr: Running scope as unit: run-r82e779f4a23f4b37a405769c076a3fa7.scope

    Job for nfs-server.service canceled.

    [ERROR ] retcode: 1

    [ERROR ] Job for nfs-server.service canceled. in /usr/share/php/openmediavault/system/process.inc:247

    Stack trace:

    #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()

    #1 /usr/share/openmediavault/engined/rpc/config.inc(186): OMV\Engine\Module\ServiceAbstract->deploy()

    #2 [internal function]: Engined\Rpc\Config->applyChanges()

    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()

    #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod()

    #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(622): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}()

    #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(146): OMV\Rpc\ServiceAbstract->execBgProc()

    #7 /usr/share/openmediavault/engined/rpc/config.inc(207): OMV\Rpc\ServiceAbstract->callMethodBg()

    #8 [internal function]: Engined\Rpc\Config->applyChangesBg()

    #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()

    #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod()

    #11 /usr/sbin/omv-engined(544): OMV\Rpc\Rpc::call()

    #12 {main}