I'll test when it's pushed
Shared folder error after add union filesystems
-
- OMV 5.x
- gelöst
- Damien07
-
-
I think it might have been pushed earlier... I just did an update earlier, and it updated. I don't use the unionfs plugin, but it updated me to OMV 5.2.7-1, so if you aren't there, try updating.
-
omv 5.2.7 is the update you want and it was pushed yesterday.
-
hmmm.. I am still seeing this on version 5.2.7-1:
CodeFailed 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: 16:54:47.457306 Duration: 0.31 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: 16:54:47.457897 Duration: 464.866 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: 16:54:47.922915 Duration: 0.616 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: 16:54:47.923602 Duration: 32.086 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: 16:54:47.955830 Duration: 0.539 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: 16:54:47.956431 Duration: 799.397 ms Changes: ---------- umount: Forced remount because options (acl) changed ---------- ID: create_unionfilesystem_mountpoint_cf7f1c1b-6d44-43ca-9ea0-49c76b387a78 Function: file.accumulated Result: True Comment: Accumulator create_unionfilesystem_mountpoint_cf7f1c1b-6d44-43ca-9ea0-49c76b387a78 for file /etc/fstab was charged by text Started: 16:54:48.755962 Duration: 0.533 ms Changes: ---------- ID: mount_filesystem_mountpoint_cf7f1c1b-6d44-43ca-9ea0-49c76b387a78 Function: mount.mounted Name: /srv/202767cb-f0a2-4438-9aaa-c8fea06b9fa5 Result: False Comment: Unable to unmount /srv/202767cb-f0a2-4438-9aaa-c8fea06b9fa5: umount: /srv/202767cb-f0a2-4438-9aaa-c8fea06b9fa5: target is busy.. Started: 16:54:48.756553 Duration: 14.215 ms Changes: ---------- umount: Forced unmount and mount because options (cache.files=off) changed ---------- ID: create_remotemount_mountpoint_1ad8b93a-a3de-4e12-8ddd-0e030fa8095c Function: file.accumulated Result: True Comment: Accumulator create_remotemount_mountpoint_1ad8b93a-a3de-4e12-8ddd-0e030fa8095c for file /etc/fstab was charged by text Started: 16:54:48.770914 Duration: 0.502 ms Changes: ---------- ID: mount_filesystem_mountpoint_1ad8b93a-a3de-4e12-8ddd-0e030fa8095c Function: mount.mounted Name: /srv/1ad8b93a-a3de-4e12-8ddd-0e030fa8095c Result: True Comment: Target was already mounted Started: 16:54:48.771475 Duration: 33.873 ms Changes: ---------- umount: Forced remount because options (iocharset=utf8) changed ---------- ID: append_fstab_entries Function: file.blockreplace Name: /etc/fstab Result: True Comment: No changes needed to be made Started: 16:54:48.806499 Duration: 1.913 ms Changes: Summary for debian ------------- Succeeded: 10 (changed=5) Failed: 1 ------------- Total states run: 11 Total run time: 1.349 s
-
I am still seeing this on version 5.2.7-1:
It says the target is already mounted. I would delete the pool, reboot, and try again.
-
Unfortunately after updating to OMV 05-2-6 and then in 5-2-7 my filesystemunion pool no longer works, I have recreated another one, but I should delete the shared folders, which I can't do because they are mentioned with the old pool. How can I delete shared folders?
-
It says the target is already mounted. I would delete the pool, reboot, and try again.
Agreed.. which is the issue I've been seeing. It's like it's trying to recreate the pool with a new uuid
My existing pool is uuid: 2027*****I checked etc/openmediavault/config.xml and there's no mention of two pools.
-
It seems to create these temp files in /etc/openmediavault/.
I removed 1, and created a new remote share (just to provoke something to reapply settings) and got the same error.
Now I am seeing 3 config.xml.0001, 0002, 0003 files..config.xml config.xml.0002 php.ini
config.bak config.xml.0001 config.xml.0003reverting in GUI doesn't remove the remote mount and doesn't remove the temp files in the dir.
-
If your config.xml is a weird state, it might require manual fixing.
-
I can't find anything abnormal in it.
5 disks mounted.
3 of the disks in a pool
1 for OS
1 just as a spare.
1 remote mount
nothing quirly or out of the ordinary.Anything I can look for ?
-
Anything I can look for ?
It is hard to generate a list of abnormal things. I would delete the pool and remote mount then recreate them.
-
It is hard to generate a list of abnormal things. I would delete the pool and remote mount then recreate them.
I had the same Symbiot problem, I deleted the pool, but of course I still have the shared folders that I can no longer delete, even in samba -
I still have the shared folders that I can no longer delete, even in samba
Try changing the device of the shared folder to a different device.
-
Thanks for the answer, I have already tried but I get this error that does not allow me to change anything
-
I have already tried but I get this error that does not allow me to change anything
Then you will have to remove them from the sharedfolders and smb sections of /etc/openmediavault/config.xml.
-
I did as you said, but when I try to create a sharedfolder I get the following error message:
PythonFailed 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 systemd 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/modules/file.py:32: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Iterable, Mapping, namedtuple debian: ---------- ID: remove_sharedfolder_mount_unit_files Function: module.run Result: True Comment: file.find: ['/etc/systemd/system/sharedfolders-Appdata.mount', '/etc/systemd/system/sharedfolders-Backup.mount', '/etc/systemd/system/sharedfolders-prova.mount'] Started: 18:54:21.543990 Duration: 1.827 ms Changes: ---------- file.find: - /etc/systemd/system/sharedfolders-Appdata.mount - /etc/systemd/system/sharedfolders-Backup.mount - /etc/systemd/system/sharedfolders-prova.mount ---------- ID: configure_sharedfolder_Appdata_mount_unit_file Function: file.managed Name: /etc/systemd/system/sharedfolders-Appdata.mount Result: True Comment: File /etc/systemd/system/sharedfolders-Appdata.mount updated Started: 18:54:21.547121 Duration: 2.106 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: configure_sharedfolder_Donw_mount_unit_file Function: file.managed Name: /etc/systemd/system/sharedfolders-Donw.mount Result: True Comment: File /etc/systemd/system/sharedfolders-Donw.mount updated Started: 18:54:21.549307 Duration: 1.395 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: configure_sharedfolder_Backup_mount_unit_file Function: file.managed Name: /etc/systemd/system/sharedfolders-Backup.mount Result: True Comment: File /etc/systemd/system/sharedfolders-Backup.mount updated Started: 18:54:21.550777 Duration: 1.331 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: configure_sharedfolder_prova_mount_unit_file Function: file.managed Name: /etc/systemd/system/sharedfolders-prova.mount Result: True Comment: File /etc/systemd/system/sharedfolders-prova.mount updated Started: 18:54:21.552181 Duration: 1.329 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: configure_sharedfolder_mod_mount_unit_file Function: file.managed Name: /etc/systemd/system/sharedfolders-mod.mount Result: True Comment: File /etc/systemd/system/sharedfolders-mod.mount updated Started: 18:54:21.553584 Duration: 1.332 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: sharedfolder_mount_units_systemctl_daemon_reload Function: module.run Name: service.systemctl_reload Result: True Comment: Started: 18:54:21.554990 Duration: 0.225 ms Changes: ---------- ID: enable_sharedfolder_Appdata_mount_unit Function: service.enabled Name: sharedfolders-Appdata.mount Result: True Comment: Service sharedfolders-Appdata.mount is already enabled, and is in the desired state Started: 18:54:21.560558 Duration: 180.244 ms Changes: ---------- ID: restart_sharedfolder_Appdata_mount_unit Function: module.run Result: True Comment: service.restart: True Started: 18:54:21.741009 Duration: 26.277 ms Changes: ---------- service.restart: True ---------- ID: enable_sharedfolder_Donw_mount_unit Function: service.enabled Name: sharedfolders-Donw.mount Result: True Comment: Service sharedfolders-Donw.mount is already enabled, and is in the desired state Started: 18:54:21.767473 Duration: 11.939 ms Changes: ---------- ID: restart_sharedfolder_Donw_mount_unit Function: module.run Result: True Comment: service.restart: True Started: 18:54:21.779609 Duration: 26.397 ms Changes: ---------- service.restart: True ---------- ID: enable_sharedfolder_Backup_mount_unit Function: service.enabled Name: sharedfolders-Backup.mount Result: True Comment: Service sharedfolders-Backup.mount is already enabled, and is in the desired state Started: 18:54:21.806196 Duration: 12.081 ms Changes: ---------- ID: restart_sharedfolder_Backup_mount_unit Function: module.run Result: True Comment: service.restart: True Started: 18:54:21.818491 Duration: 26.651 ms Changes: ---------- service.restart: True ---------- ID: enable_sharedfolder_prova_mount_unit Function: service.enabled Name: sharedfolders-prova.mount Result: True Comment: Service sharedfolders-prova.mount is already enabled, and is in the desired state Started: 18:54:21.845325 Duration: 12.783 ms Changes: ---------- ID: restart_sharedfolder_prova_mount_unit Function: module.run Result: False Comment: An exception occurred in this state: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/state.py", line 1933, in call **cdata['kwargs']) File "/usr/lib/python3/dist-packages/salt/loader.py", line 1951, in wrapper return f(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 631, in _decorate return self._call_function(kwargs) File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 334, in _call_function raise error File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 321, in _call_function return self._function(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/states/module.py", line 294, in run func_args=kwargs.get(func)) File "/usr/lib/python3/dist-packages/salt/states/module.py", line 358, in _call_function mret = __salt__[name](*arg_type, **func_kw) File "/usr/lib/python3/dist-packages/salt/modules/systemd_service.py", line 906, in restart raise CommandExecutionError(_strip_scope(ret['stderr'])) salt.exceptions.CommandExecutionError: Assertion failed on job for sharedfolders-prova.mount. Started: 18:54:21.858308 Duration: 19.428 ms Changes: ---------- ID: enable_sharedfolder_mod_mount_unit Function: service.enabled Name: sharedfolders-mod.mount Result: True Comment: Service sharedfolders-mod.mount is already enabled, and is in the desired state Started: 18:54:21.877945 Duration: 14.312 ms Changes: ---------- ID: restart_sharedfolder_mod_mount_unit Function: module.run Result: True Comment: service.restart: True Started: 18:54:21.892460 Duration: 27.585 ms Changes: ---------- service.restart: True ---------- ID: configure_tmp_mount_unit_file Function: file.managed Name: /etc/systemd/system/tmp.mount Result: True Comment: File /etc/systemd/system/tmp.mount is in the correct state Started: 18:54:21.920238 Duration: 14.629 ms Changes: ---------- ID: tmp_mount_unit_systemctl_daemon_reload Function: module.run Name: service.systemctl_reload Result: True Comment: State was not run because none of the onchanges reqs changed Started: 18:54:21.935284 Duration: 0.003 ms Changes: Summary for debian ------------- Succeeded: 18 (changed=10) Failed: 1 ------------- Total states run: 19 Total run time: 381.874 ms
-
That output is so damn hard to read... Try rebooting. I'm not sure what is causing it. It seems like the folder is in use.
-
Ok unfortunately everything is broken and the only solution would be to reinstall everything ... but
and here I should thank GDERF who kindly lent / gave me his script to create the system images.
here the writingthanks to which I only had to burn again the image of before the disaster happened to me, and everything went back as before ...
Thanks again
-
I am glad the scripts worked for you as intended.
-
Hi,
I don't want to hijack this thread, but need help here.
I have a similar issue.
Can't created new share folders after a new pool is created, and I also can't connect to existing share folders via samba.
I even modified the sharefolders-media.mount in /etc/systemd/system to reflect the changes, but no luck.Python
Alles anzeigenError #0: 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 systemd 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/modules/file.py:32: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Iterable, Mapping, namedtuple debian: Data failed to compile: ---------- Rendering SLS 'base:omv.deploy.systemd.10sharedfolders' failed: Jinja error: No such object: //system/fstab/mntent[uuid='ba3f52d4-34d4-41ae-b585-6818bc72c3c8'] Traceback (most recent call last): File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 715, in execute self._response = self._response[0] IndexError: list index out of range During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 394, in render_jinja_tmpl output = template.render(**decoded_context) File "/usr/lib/python3/dist-packages/jinja2/asyncsupport.py", line 76, in render return original_render(self, *args, **kwargs) File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1008, in render return self.environment.handle_exception(exc_info, True) File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 780, in handle_exception reraise(exc_type, exc_value, tb) File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 37, in reraise raise value.with_traceback(tb) File "<template>", line 37, in top-level template code File "/var/cache/salt/minion/extmods/modules/omv_conf.py", line 129, in get_sharedfolder_mount_path mp_obj = get('conf.system.filesystem.mountpoint', sf_obj['mntentref']) File "/var/cache/salt/minion/extmods/modules/omv_conf.py", line 39, in get objs = db.get(id_, identifier) File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 85, in get query.execute() File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 720, in execute raise DatabaseQueryNotFoundException(self.xpath, self.model) openmediavault.config.database.DatabaseQueryNotFoundException: No such object: //system/fstab/mntent[uuid='ba3f52d4-34d4-41ae-b585-6818bc72c3c8'] ; line 37 --- [...] - iname: "{{ sharedfolders_dir_escaped }}-*.mount" - delete: "f" {% if sharedfolders_dir_enabled | to_bool %} {% for sharedfolder in sharedfolder_config %} {% set mntdir = salt['omv_conf.get_sharedfolder_mount_path'](sharedfolder.uuid) %} <====================== {% set what = salt['omv_conf.get_sharedfolder_path'](sharedfolder.uuid) %} {% set where = sharedfolders_dir | path_join(sharedfolder.name) %} {% set unit_name = salt['cmd.run']('systemd-escape --path --suffix=mount ' ~ where) %} configure_sharedfolder_{{ sharedfolder.name }}_mount_unit_file: [...] --- in /usr/share/php/openmediavault/system/process.inc:182 Stack trace: #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): 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/bgstatus0t...', '/tmp/bgoutput0i...') #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}
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!