Hello, I'm trying to make the snapraid and Union Filesystem combination.
As a guide I'm using the video from Techno Dad Life called: "Snapraid and Unionfs: Advanced Array Options on Openmediavault (Better than ZFS and Unraid)".
So here is my problem: When I add a filesystem to Unionfs, press Save, press Apply and confirm the changes I get the following error:(for some reason I can't turn the highlighting off)
Display All
Does anyone know the problem and how I can fix it?
OMV version -> 5.1.1-1 (Usul)
Kernel version -> 5.3.0-0bpo.2-amd64
Many thanks in advance
As a guide I'm using the video from Techno Dad Life called: "Snapraid and Unionfs: Advanced Array Options on Openmediavault (Better than ZFS and Unraid)".
So here is my problem: When I add a filesystem to Unionfs, press Save, press Apply and confirm the changes I get the following error:(for some reason I can't turn the highlighting off)
Brainfuck Source Code
- An error has occured
- Error #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 collectd 2>&1' with exit code '1': findfs: unable to resolve 'UUID=f14c14cb-693b-49f7-81ea-4753d869e31b'
- debian:
- Data failed to compile:
- ----------
- Rendering SLS 'base:omv.deploy.collectd.plugins.disk' failed: Jinja error: Command '['findfs', 'UUID=f14c14cb-693b-49f7-81ea-4753d869e31b']' returned non-zero exit status 1.
- 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 49, in top-level template code
- File "/var/cache/salt/minion/extmods/modules/omv_utils.py", line 165, in get_fs_parent_device_file
- return fs.get_parent_device_file()
- File "/usr/lib/python3/dist-packages/openmediavault/fs/__init__.py", line 163, in get_parent_device_file
- device = pyudev.Devices.from_device_file(context, self.device_file)
- File "/usr/lib/python3/dist-packages/openmediavault/fs/__init__.py", line 127, in device_file
- ['findfs', 'UUID={}'.format(self._id)]
- File "/usr/lib/python3/dist-packages/openmediavault/subprocess.py", line 63, in check_output
- return subprocess.check_output(*popenargs, **kwargs)
- File "/usr/lib/python3.7/subprocess.py", line 395, in check_output
- **kwargs).stdout
- File "/usr/lib/python3.7/subprocess.py", line 487, in run
- output=stdout, stderr=stderr)
- subprocess.CalledProcessError: Command '['findfs', 'UUID=f14c14cb-693b-49f7-81ea-4753d869e31b']' returned non-zero exit status 1.
- ; line 49
- ---
- [...]
- # "dir": "/srv/dev-disk-by-id-scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-1-part1",
- # "freq": 0,
- # "fsname": "008530ff-a134-4264-898d-9ce30eeab927",
- # }
- {% if salt['mount.is_mounted'](mountpoint.dir) %}
- {% set disk = salt['omv_utils.get_fs_parent_device_file'](mountpoint.fsname) %} <======================
- # Extract the device name from '/dev/xxx'.
- {% set _ = disks.append(disk[5:]) %}
- {% endif %}
- {% endfor %}
- # Append the root filesystem.
- [...]
- --- 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/bgstatus3R...', '/tmp/bgoutputsA...')
- #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}
OMV version -> 5.1.1-1 (Usul)
Kernel version -> 5.3.0-0bpo.2-amd64
Many thanks in advance