Menu

#87 Missing functions called by ocs-functions

closed-fixed
None
5
2017-01-05
2016-12-27
No

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

Discussion

  • Steven Shiau

    Steven Shiau - 2016-12-28

    "Using Clonezilla from Debians testing repository" -> Please follow
    http://drbl.org/installation/
    to install DRBL and Clonezilla.

    Steven

     
  • Stephen Gelardi

    Stephen Gelardi - 2016-12-28

    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?

     
  • Stephen Gelardi

    Stephen Gelardi - 2016-12-28

    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

     
  • Steven Shiau

    Steven Shiau - 2016-12-28

    So there is no any issue when you run "drblsrv -i" and "drblpush -i"?
    I guess maybe there are some errors...

    Steven

     
  • Stephen Gelardi

    Stephen Gelardi - 2016-12-28

    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.

     
  • Stephen Gelardi

    Stephen Gelardi - 2016-12-29

    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.

     
  • Steven Shiau

    Steven Shiau - 2017-01-05
    • status: open --> closed-fixed
    • assigned_to: Steven Shiau
     
  • Steven Shiau

    Steven Shiau - 2017-01-05

    Thanks for your feedback.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.