#28 Clonezilla won't restore LVM2 if partition not type 8e

open-fixed
5
2009-01-29
2009-01-22
Anonymous
No

Hi there,

I've noticed today that Clonezilla live will backup properly, but *NOT* restore and LVM2 system if the LVM2 partition type is 83 (Linux) and not 8e (LVM).

However, AFAIK partition type 8e was mandatory for LVM1 but not LVM2, and I've read somewhere (not sure about where however) that modern distributions advise to use "83" and not "8e" partitions for LVM2 to prevent the kernel from activating them up automatically before being told to do so by proper initialization scripts...

Actually modern distributions advise to use 83 for everything (including software RAID and LVM) except swap (82)...

Well, Clonezilla performs the backup good for LVM2 in 83, but won't restore...

It can be however worked around just by editing the "hda-pt.sf" file and replacing "83" with "8e" before attempting to restore. (Then it of course creates the partition as 8e during restore...).

Anyway, Clonezilla shouldn't rely on the partition type as restore time to determine whether or not a partition holds an LVM VG...

Swâmi Petaramesh - swami@petaramesh.org

Discussion

  • Steven Shiau

    Steven Shiau - 2009-01-22

    Could you give more reference about LVM using label 83 instead of 8e ?
    Here the LVM2 I have, e.g. fedora 10, uses label 8e, not 83.

     
  • Steven Shiau

    Steven Shiau - 2009-01-22
    • assigned_to: nobody --> steven_shiau
     
  • Steven Shiau

    Steven Shiau - 2009-01-24
    • status: open --> open-accepted
     
  • Steven Shiau

    Steven Shiau - 2009-01-24

    This bug has been fixed in Clonezilla live 1.2.1-36, could you please test it and confirm that ?
    Thanks.

     
  • Steven Shiau

    Steven Shiau - 2009-01-29
    • status: open-accepted --> open-fixed
     
  • Steven Shiau

    Steven Shiau - 2009-01-29

    I am closing this bug since it should be fixed in Clonezilla live 1.2.3-37. If you think the problem still exists, please reopen it.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks