Menu

#90 savedisk fails with "Not volume group of LVM was saved!"

open-later
5
2010-11-18
2010-11-10
aflyctus
No

Clonezilla version:
Clonezilla Live 1.2.6-24.i686

I'm trying to save a disk image of a SATA disk and store it to another local SATA disk using the following command (this is the command generated by Clonezilla):
/opt/drbl/sbin/ocs-sr -q2 -c -j2 -z1p -i 2000 -p true savedisk test_img sda

When it gets to the step that says "Checking if the VG config was saved correctly...", I get the following error:
/home/partimag/test_img/lvm_[926.31.conf NOT created! Not volume group of LVM was saved!
Program terminated!

I found the code that triggered the error in /opt/drbl/sbin/ocs-functions (lines 4721-4729) and it appears the problem occurs when reading the contents of lvm_vg_dev.list and attempting to verify that the VG config file for the volume group named "[926.31" was correctly backed up. If you look in lvm_vg_dev.list (attached), you'll notice that the device associated with "[926.31" is /dev/sda2, which is actually my swap partition (see attached sda-pt.sf). Why would a swap partition be included in lvm_vg_dev.list?

I commented out lines 4721-4729 in /opt/drbl/sbin/ocs-functions as a workaround
and I was able to save and restore the image.

I attached all of the files from the img directory that appear to be relevant.

Thanks for looking into this!

Discussion

  • aflyctus

    aflyctus - 2010-11-10
     
  • aflyctus

    aflyctus - 2010-11-10
     
  • aflyctus

    aflyctus - 2010-11-10
     
  • aflyctus

    aflyctus - 2010-11-10
     
  • aflyctus

    aflyctus - 2010-11-10
     
  • aflyctus

    aflyctus - 2010-11-10

    I don't know if this matters, but this disk was originally part of a "fake RAID" (raid 1), and I disabled the RAID after the partitions and LVM were already setup. I don't now much about "fake RAID", but I thought it might be worth mentioning in case disabling the fake RAID somehow modified the disk. When I disabled the RAID, I was warned that I would lose all of the data on the disk, but I was still able to successfully boot into both operating systems that were installed in separate volumes.

     
  • Steven Shiau

    Steven Shiau - 2010-11-18
    • assigned_to: nobody --> steven_shiau
    • status: open --> open-later
     
  • Steven Shiau

    Steven Shiau - 2010-11-18

    Yes, fakeraid does matter.
    As mentioned on http://clonezilla.org/about/introduction.php
    "Software RAID/fake RAID is not supported by default. It's can be done manually only. "

    Steven.

     

Log in to post a comment.