i was not able to copy it full. anyhow i gave up and restored the VM backup with 5.6, as I realized I was already in a state where a starting from a fresh install would be easier. i will give it another try during the weekend, this time not removing the unionfilessystem plugin. i am just wondering if it would be possible to implement in the mergerfs plugin the automated removal of the old unionfs plugin and updating directly...
omv-extras plugins - porting progress to OMV 6.x (done)
- ryecoaaron
- Geschlossen
-
-
i am just wondering if it would be possible to implement in the mergerfs plugin the automated removal of the old unionfs plugin and updating directly...
I will have to add that to the omv-extras 5 upgrade script.
-
You can use character classes in square brackets:
These are my drives:dev-disk-by-uuid-16578662-b8be-4ded-a43b-bed36de32f6b
dev-disk-by-uuid-468c061d-4943-44db-9d6e-7efad6fcad8f
dev-disk-by-uuid-b000e4b4-0947-4345-b0e3-010472ab7c5b
dev-disk-by-uuid-b31200c5-2906-4a2e-b8ed-bc428ef76da2
dev-disk-by-uuid-bc99bd8a-854c-426a-96e7-a6187ead074a
dev-disk-by-uuid-e1695f6d-370d-4ac2-aa49-bb3f9ed5bd75
If I only want to include the first four I use this expression:
/srv/dev-disk-by-uuid-[14b][603]*/
This will include all drives which UUIDs start with 1, 4 or b and have a 6, 0 or 3 in the second position, which matches the first four UUIDs, and only those.
This is great! I can definitely work with that. Much appreciated, especially for the example, which I will definitely reuse and adjust. Thanks once again!
-
ryecoaaron, I noticed that when I click on the Open Web button, the sidebar closes. Is it possible to fix this or is it a problem on the side of the OMV?
-
ryecoaaron, I noticed that when I click on the Open Web button, the sidebar closes. Is it possible to fix this or is it a problem on the side of the OMV?
And you consider that an issue?
-
And you consider that an issue
Obviously.....it must be seriously annoying
-
Some people have tic - tic - tic - tics.
-
I just wanted the system to behave predictably. For me, this is not a problem, I do not use it with a button.
I am very glad that you raised you mood
-
ryecoaaron, I noticed that when I click on the Open Web button, the sidebar closes. Is it possible to fix this or is it a problem on the side of the OMV?
Maybe ryecoaaron should stop to port the remaining plugins and fix this issue asap.
-
Maybe ryecoaaron should stop to port the remaining plugins and fix this issue asap.
Absolutely.
-
gave another try to upgrading to OMV 6.x, but still no luck.
first i have noticed that there was an update to omvextras version 5.x today. during my previous update attempt, omvextras 6.x got installed automatically, but not this time, i had to use wget -O - https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install | bash.
afterwards i tried to install mergerfs, WITHOUT removing unionfs first and this is what i got: https://pastebin.com/BNS193Pp
i tried to restart my system and noticed both unionfs 5.x and mergerfs 6.x plugins are present in the system and my shares are still not working
tried removing unionfs again, this time with this error: https://pastebin.com/a4VzYw1e (message too long to paste here)
At the end i have decided to start with a fresh install, will take a long time to set up probably...
edit: fresh install is also causing problems:
ZitatFailed 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 --no-color mergerfs 2>&1' with exit code '1': debian:
----------
ID: configure_pool_dir
Function: file.directory
Name: /srv/mergerfs
Result: True
Comment:
Started: 02:02:43.125284
Duration: 7.895 ms
Changes:
----------
/srv/mergerfs:
----------
directory:
new
----------
ID: remove_mergerfs_mount_files
Function: module.run
Result: True
Comment: file.find: []
Started: 02:02:43.133914
Duration: 3.925 ms
Changes:
----------
file.find:
----------
ID: configure_mergerfs_Data-all
Function: file.managed
Name: /etc/systemd/system/srv-mergerfs-Data\x2dall.mount
Result: True
Comment: File /etc/systemd/system/srv-mergerfs-Data\x2dall.mount updated
Started: 02:02:43.137964
Duration: 55.355 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: systemd-reload_Data-all
Function: cmd.run
Name: systemctl daemon-reload
Result: True
Comment: Command "systemctl daemon-reload" run
Started: 02:02:43.194205
Duration: 328.433 ms
Changes:
----------
pid:
8685
retcode:
0
stderr:
stdout:
----------
ID: enable_Data-all_mergerfs
Function: service.enabled
Name: srv-mergerfs-Data\x2dall.mount
Result: True
Comment: Service srv-mergerfs-Data\x2dall.mount has been enabled, and is in the desired state
Started: 02:02:43.545388
Duration: 340.004 ms
Changes:
----------
srv-mergerfs-Data\x2dall.mount:
True
----------
ID: restart_Data-all_mergerfs
Function: cmd.run
Name: systemctl restart srv-mergerfs-Data\x2dall.mount
Result: False
Comment: Command "systemctl restart srv-mergerfs-Data\x2dall.mount" run
Started: 02:02:43.885813
Duration: 9.859 ms
Changes:
----------
pid:
8733
retcode:
5
stderr:
Failed to restart srv-mergerfs-Datax2dall.mount: Unit srv-mergerfs-Datax2dall.mount not found.
stdout:
Summary for debian
------------
Succeeded: 5 (changed=6)
Failed: 1
------------
Total states run: 6
Total run time: 745.471 ms
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; omv-salt deploy run --no-color mergerfs 2>&1' with exit code '1': debian:
----------
ID: configure_pool_dir
Function: file.directory
Name: /srv/mergerfs
Result: True
Comment:
Started: 02:02:43.125284
Duration: 7.895 ms
Changes:
----------
/srv/mergerfs:
----------
directory:
new
----------
ID: remove_mergerfs_mount_files
Function: module.run
Result: True
Comment: file.find: []
Started: 02:02:43.133914
Duration: 3.925 ms
Changes:
----------
file.find:
----------
ID: configure_mergerfs_Data-all
Function: file.managed
Name: /etc/systemd/system/srv-mergerfs-Data\x2dall.mount
Result: True
Comment: File /etc/systemd/system/srv-mergerfs-Data\x2dall.mount updated
Started: 02:02:43.137964
Duration: 55.355 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: systemd-reload_Data-all
Function: cmd.run
Name: systemctl daemon-reload
Result: True
Comment: Command "systemctl daemon-reload" run
Started: 02:02:43.194205
Duration: 328.433 ms
Changes:
----------
pid:
8685
retcode:
0
stderr:
stdout:
----------
ID: enable_Data-all_mergerfs
Function: service.enabled
Name: srv-mergerfs-Data\x2dall.mount
Result: True
Comment: Service srv-mergerfs-Data\x2dall.mount has been enabled, and is in the desired state
Started: 02:02:43.545388
Duration: 340.004 ms
Changes:
----------
srv-mergerfs-Data\x2dall.mount:
True
----------
ID: restart_Data-all_mergerfs
Function: cmd.run
Name: systemctl restart srv-mergerfs-Data\x2dall.mount
Result: False
Comment: Command "systemctl restart srv-mergerfs-Data\x2dall.mount" run
Started: 02:02:43.885813
Duration: 9.859 ms
Changes:
----------
pid:
8733
retcode:
5
stderr:
Failed to restart srv-mergerfs-Datax2dall.mount: Unit srv-mergerfs-Datax2dall.mount not found.
stdout:
Summary for debian
------------
Succeeded: 5 (changed=6)
Failed: 1
------------
Total states run: 6
Total run time: 745.471 ms in /usr/share/php/openmediavault/system/process.inc:196
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
#2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatus4t...', '/tmp/bgoutputNJ...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#12 {main}
-
What is the output of: sudo omv-showkey mergerfs
-
no idea as I reverted again. i need openmediavault working so that my whole house is able to operate, so my last two nights were like spending a few hours trying to get it work, then reverting to 5.x before going to sleep. and since yesteday's session took until 4 AM, i am not gonna attempt again for a while
-
no idea as I reverted again. i need openmediavault working so that my whole house is able to operate, so my last two nights were like spending a few hours trying to get it work, then reverting to 5.x before going to sleep. and since yesteday's session took until 4 AM, i am not gonna attempt again for a while
It is hard to improve the plugin when I can't reproduce these problems. And I definitely wouldn't have moved an important system to OMV 6.x. omv-release-upgrade is supposed to install the mergerfs plugin and remove the mergersfolders and unionfilesystems plugins if found. If that didn't happen, the output from omv-release-upgrade would be useful.
-
It is hard to improve the plugin when I can't reproduce these problems. And I definitely wouldn't have moved an important system to OMV 6.x. omv-release-upgrade is supposed to install the mergerfs plugin and remove the mergersfolders and unionfilesystems plugins if found. If that didn't happen, the output from omv-release-upgrade would be useful.
I can send you mine if you tell me where is it. my upgrade did not remove mergerfs... I canno add again anything since still systems sees some remnants..
-
I can send you mine if you tell me where is it.
It doesn't log anywhere other than the screen. What is the output of:
dpkg -l | grep openme
sudo omv-showkey mergerfs
sudo omv-showkey mergerfsfolders
sudo omv-showkey unionfilesystems
-
Code
Alles anzeigenroot@ricos:/mnt# dpkg -l | grep openme ii openmediavault 6.0.5-3 all openmediavault - The open network attached storage solution ii openmediavault-apttool 6.0 all apt tool plugin for OpenMediaVault. ii openmediavault-diskstats 6.0-4 all openmediavault disk monitoring plugin ii openmediavault-flashmemory 6.0.2 all folder2ram plugin for openmediavault ii openmediavault-kernel 6.1.1 all kernel package ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive ii openmediavault-mergerfs 6.0.5 all mergerfs plugin for openmediavault. ii openmediavault-nut 6.0-6 all openmediavault Network UPS Tools (NUT) plugin ii openmediavault-omvextrasorg 6.0.4 all OMV-Extras.org Package Repositories for OpenMediaVault ii openmediavault-snapraid 6.0.2 all snapraid plugin for OpenMediaVault. ii openmediavault-symlinks 6.0 all OpenMediaVault symlinks plugin root@ricos:/mnt#
-
Not sure what happened but it didn't import the previous pools and/or the other two plugins were purged before the mergerfs plugin was installed. What is the output of: sudo omv-showkey mntent
-
Code
Alles anzeigenroot@ricos:/mnt# omv-showkey mntent <mntent> <uuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</uuid> <fsname>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx|xxxx-xxxx|/dev/xxx</fsname> <dir>/xxx/yyy/zzz</dir> <type>none|ext2|ext3|ext4|xfs|jfs|iso9660|udf|...</type> <opts></opts> <freq>0</freq> <passno>0|1|2</passno> <hidden>0|1</hidden> </mntent> <mntent> <uuid>f294ed2a-f7ac-43c4-9603-d0fab1684ea2</uuid> <fsname>/dev/disk/by-label/dsk2</fsname> <dir>/srv/dev-disk-by-label-dsk2</dir> <type>ext4</type> <opts>defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl</opts> <freq>0</freq> <passno>2</passno> <hidden>0</hidden> <usagewarnthreshold>90</usagewarnthreshold> <comment></comment> </mntent> <mntent> <uuid>f5d5e656-b66c-4fd3-9cdb-4756b7866359</uuid> <fsname>/dev/disk/by-label/dsk3</fsname> <dir>/srv/dev-disk-by-label-dsk3</dir> <type>ext4</type> <opts>defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl</opts> <freq>0</freq> <passno>2</passno> <hidden>0</hidden> <usagewarnthreshold>90</usagewarnthreshold> <comment></comment> </mntent> <mntent> <uuid>3ac46eda-3a4c-4f04-a3aa-d3722599ee6c</uuid> <fsname>/dev/disk/by-label/dsk4</fsname> <dir>/srv/dev-disk-by-label-dsk4</dir> <type>ext4</type> <opts>defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl</opts> <freq>0</freq> <passno>2</passno> <hidden>0</hidden> <usagewarnthreshold>90</usagewarnthreshold> <comment></comment> </mntent> <mntent> <uuid>0bd47534-f831-4a8f-8706-1458510dfb52</uuid> <fsname>725e5bb9-4161-4790-a8e1-cf4d7a3585c2</fsname> <dir>/srv/725e5bb9-4161-4790-a8e1-cf4d7a3585c2</dir> <type>fuse.mergerfs</type> <opts></opts> <freq>0</freq> <passno>0</passno> <hidden>1</hidden> <comment></comment> <usagewarnthreshold>85</usagewarnthreshold> </mntent> <mntent> <uuid>97d69626-08de-4e2e-b7f2-a324a8d7fff6</uuid> <fsname>/dev/disk/by-label/docker</fsname> <dir>/srv/dev-disk-by-label-docker</dir> <type>btrfs</type> <opts>defaults,nofail,ssd</opts> <freq>0</freq> <passno>2</passno> <hidden>0</hidden> <usagewarnthreshold>90</usagewarnthreshold> <comment></comment> </mntent> <mntent> <uuid>acf9e833-cb03-4bb5-a73a-19b01d80fc2b</uuid> <fsname>/srv/725e5bb9-4161-4790-a8e1-cf4d7a3585c2/RIco/</fsname> <dir>/export/RIco</dir> <type>none</type> <opts>bind,nofail</opts> <freq>0</freq> <passno>0</passno> <hidden>0</hidden> <comment></comment> <usagewarnthreshold>85</usagewarnthreshold> </mntent> root@ricos:/mnt#
-
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!