Missing functions called by ocs-functions
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
Using Clonezilla from Debians testing repository results in some errors, when executing ocs-sr. I tried downloading the ISO and mounting the filesystem.squashfs and grepping through it but it found no resultes for these functions. Where are they located so I can add them to my system?
Line 746: /usr/share/drbl/sbin/ocs-functions: line 2849: strings: command not found
Line 791: /usr/share/drbl/sbin/ocs-functions: line 2963: lvscan: command not found
Line 969: /usr/share/drbl/sbin/ocs-functions: line 5703: pvcreate: command not found
Line 972: /usr/share/drbl/sbin/ocs-functions: line 5739: vgcfgrestore: command not found
Line 1008: /usr/share/drbl/sbin/ocs-functions: line 2657: is_systemd_init: command not found
Line 1009: /usr/share/drbl/sbin/ocs-functions: line 11178: is_ecryptfs_img: command not found
Line 1100: /usr/sbin/ocs-chkimg: line 633: my_ocs_exit: command not found
Line 1726: /usr/share/drbl/sbin/ocs-functions: line 3622: umount_ecryptfs_mount_point_if_necessary: command not found
"Using Clonezilla from Debians testing repository" -> Please follow
http://drbl.org/installation/
to install DRBL and Clonezilla.
Steven
Hi Steven,
I already followed those instructions. Using ocs-sr does work, it will restore my image but like I mentioned above it is throwing those errors.
Any more advice?
Let me quickly elaborate, I resolved the following, as they were missing dependencies (this should be corrected in the repository though):
Line 746: /usr/share/drbl/sbin/ocs-functions: line 2849: strings: command not found
Line 791: /usr/share/drbl/sbin/ocs-functions: line 2963: lvscan: command not found
Line 969: /usr/share/drbl/sbin/ocs-functions: line 5703: pvcreate: command not found
Line 972: /usr/share/drbl/sbin/ocs-functions: line 5739: vgcfgrestore: command not found
These though I am unable to resolve because they must be Clonezilla functions that are missing.
Line 1008: /usr/share/drbl/sbin/ocs-functions: line 2657: is_systemd_init: command not found
Line 1009: /usr/share/drbl/sbin/ocs-functions: line 11178: is_ecryptfs_img: command not found
Line 1100: /usr/sbin/ocs-chkimg: line 633: my_ocs_exit: command not found
Line 1726: /usr/share/drbl/sbin/ocs-functions: line 3622: umount_ecryptfs_mount_point_if_necessary: command not found
So there is no any issue when you run "drblsrv -i" and "drblpush -i"?
I guess maybe there are some errors...
Steven
Yes there are some errors, but I am really looking just to execute the ocs-sr restore and save on a local machine working with a secondary drive.. I am attaching the log from the commands you have provided.
I found the solution. When updating clonezilla using the testing repository it doesn't force the upgrade of drbl. Therefore I was using drbl 2.8.25-1 with clonezilla 3.21.13-1 instead of using drbl 2.20.11-1.
Thanks for your support.
Thanks for your feedback.