Hi Y'all,
A quick question:
Can LUKS be installed on on a disk already in service or does the drive need to be reformatted to make use of LUKS?
Thanks,
Phil
Hi Y'all,
A quick question:
Can LUKS be installed on on a disk already in service or does the drive need to be reformatted to make use of LUKS?
Thanks,
Phil
I am having the same problem with applying config changes with OMV5 on a raspberry 3. Applying the changes takes about 60 seconds before getting the lengthy message below. Afterwards OMV is still saying that configuration changes need to be applied.
I am also not seeing SMB/CIFS running under services (red indicator under running status column)
The configuration has been changed. You must apply the changes in order for them to take effect.
OMVNAS
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/path.py:265: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working if not isinstance(exes, collections.Iterable): /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) raspberrypi: ---------- ID: create_filesystem_mountpoint_bdbb3d23-c4c8-417b-8d1f-764a9687129d Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_bdbb3d23-c4c8-417b-8d1f-764a9687129d for file /etc/fstab was charged by text Started: 19:17:08.149029 Duration: 3.211 ms Changes: ---------- ID: mount_filesystem_mountpoint_bdbb3d23-c4c8-417b-8d1f-764a9687129d Function: mount.mounted Name: /srv/dev-disk-by-label-USB 3.0 External Drive Result: False Comment: mount: bad usage Try 'mount --help' for more information. Started: 19:17:08.156987 Duration: 751.892 ms Changes: ---------- ID: create_filesystem_mountpoint_fa538b9c-6f89-4add-ad16-6bd95eba9d52 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_fa538b9c-6f89-4add-ad16-6bd95eba9d52 for file /etc/fstab was charged by text Started: 19:17:08.909859 Duration: 4.537 ms Changes: ---------- ID: mount_filesystem_mountpoint_fa538b9c-6f89-4add-ad16-6bd95eba9d52 Function: mount.mounted Name: /srv/dev-disk-by-label-USB Result: True Comment: Target was already mounted Started: 19:17:08.915037 Duration: 163.955 ms Changes: ---------- umount: Forced remount because options (acl) changed ---------- ID: append_fstab_entries Function: file.blockreplace Name: /etc/fstab Result: True Comment: No changes needed to be made Started: 19:17:09.085102 Duration: 14.115 ms Changes: Summary for raspberrypi ------------ Succeeded: 4 (changed=1) Failed: 1 ------------ Total states run: 5 Total run time: 937.710 ms
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 fstab 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/utils/path.py:265: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
if not isinstance(exes, collections.Iterable):
/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)
raspberrypi:
----------
ID: create_filesystem_mountpoint_bdbb3d23-c4c8-417b-8d1f-764a9687129d
Function: file.accumulated
Result: True
Comment: Accumulator create_filesystem_mountpoint_bdbb3d23-c4c8-417b-8d1f-764a9687129d for file /etc/fstab was charged by text
Started: 19:17:08.149029
Duration: 3.211 ms
Changes:
----------
ID: mount_filesystem_mountpoint_bdbb3d23-c4c8-417b-8d1f-764a9687129d
Function: mount.mounted
Name: /srv/dev-disk-by-label-USB 3.0 External Drive
Result: False
Comment: mount: bad usage
Try 'mount --help' for more information.
Started: 19:17:08.156987
Duration: 751.892 ms
Changes:
----------
ID: create_filesystem_mountpoint_fa538b9c-6f89-4add-ad16-6bd95eba9d52
Function: file.accumulated
Result: True
Comment: Accumulator create_filesystem_mountpoint_fa538b9c-6f89-4add-ad16-6bd95eba9d52 for file /etc/fstab was charged by text
Started: 19:17:08.909859
Duration: 4.537 ms
Changes:
----------
ID: mount_filesystem_mountpoint_fa538b9c-6f89-4add-ad16-6bd95eba9d52
Function: mount.mounted
Name: /srv/dev-disk-by-label-USB
Result: True
Comment: Target was already mounted
Started: 19:17:08.915037
Duration: 163.955 ms
Changes:
----------
umount:
Forced remount because options (acl) changed
----------
ID: append_fstab_entries
Function: file.blockreplace
Name: /etc/fstab
Result: True
Comment: No changes needed to be made
Started: 19:17:09.085102
Duration: 14.115 ms
Changes:
Summary for raspberrypi
------------
Succeeded: 4 (changed=1)
Failed: 1
------------
Total states run: 5
Total run time: 937.710 ms 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/bgstatus7A...', '/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}
Alles anzeigen
You mentioned in one of your previous posts to this thread in the list of backup options that one could write "own script using rsnyc". How does one execute sync from a script? Is there information on the CLI options for rsync?
Really do appreciate your help cabrio_leo.
Thanks for the reply cabrio_leo.
I'm not really liking the idea of depending on another machine to issue the WOL packets. It assumes that the sending machine will be on all, or, most of the time. Id rather the OMV machine woke and slept on its own after doing the backup.
What about rtcwake? That would do both jobs of waking and sleeping the OMV machine for a set amount of time. This issues I see with that are the fact that it will have to be a CLI script that does the following:
I'm not much of a script kind of guy but I should be able to muddle my way though something that would do this job. If this is the case then here are my questions for the OMV box:
Thanks!
Hi,
I'm seeking advice on how best to implement a NAS backup process. I have an existing ReadyNAS that I would like to periodically backup with my PC based OMV box. Ideally I would like this to be totally autonomous where the OMV box is usually sleeping. Once a week or so I would like for it to wake, then search the ReadyNAS for any changes and update its database to keep it current. After that I would like for the OMV box to then go back asleep, waiting for the next wakeup event to repeat the same sequence.The intention here is to have a backup that is mostly offline and untouchable by any malware, ransomware or whatever that can be used to restore my systems in the event of an infection.
Any advice on how to implement this?
Thanks very much!
I have Erasmus running on a RPi3 and would like to backup my ReadyNAS to a USB disk attached to the Pi. I understand I should be using the remote share plugin to mount the ReadyNAS and access it. However, I cant find the plugin in the plugins section. How do I obtain this plugin?
Thanks