Menu

#241 partclone.btrfs: free(): invalid next size (normal)

open
nobody
btrfs (5)
5
2016-03-02
2016-02-06
Jan
No

Hello,

I cant make a backup of BtrFS partition. At end of cloning process it ends with error (see attachement) and stops. Final backup is incomplete (nearly 1 megabyte). Tried with latest stable alternative 20160203. And tried to make backup of EFI harddrive with one partition FAT32(efi partition), one partition BtrFS (System root and home) and swap parition.

Thanks
Jan

1 Attachments

Discussion

  • Steven Shiau

    Steven Shiau - 2016-02-07

    We'd like to reproduce the issue here. Could you please give us more info.
    How did you create your btrfs partition? On which GNU/Linux and version?
    Thanks.

    Steven.

     
  • Jan

    Jan - 2016-02-07

    Computer is ASUS h87-pro BIOS 2102 set to EFI mode only. OS is Ubuntu 15.10 64b actual Linux verison is "4.2.0-27-generic". Partitions were created with Ubuntu installer 14.04 64b (ubiquity, Linux version 3.13 I think) via manual tool and according to attachement. After two months of normal usage (no changes were made to HDD partitions) I tried to backup whole disk to another disk (2TB hdd also with BtrFS) and first try was without checking FS before backup, second with checking and both ended with same problem.

    Jan

     
  • Steven Shiau

    Steven Shiau - 2016-02-07

    So the btrfs partition is fromatted by GParted live, or you manually choose "btrfs" when installing Ubuntu 14.04 and let it formatted the partition for you?

    Steven.

     
  • Jan

    Jan - 2016-02-07

    In Ubuntu Live enviroment was GParted used only for erasing disk and making GPT table, with no partition. Then In Ubuntu installer was manualy created partitions and installed system.

    Jan

     
  • Jan

    Jan - 2016-02-07

    By the way, if there is anything that I could do or test something, tell me.

    Thanks
    Jan

     
  • Steven Shiau

    Steven Shiau - 2016-02-07

    I installed Ubuntu 15.10 on VMWare WS with uEFI BIOS, and select btrfs as the root file system.
    With Clonezilla live 20160203-wily AMD64, I can successfully save the whole disk as an image, of couse the btrfs partiton is saved.
    The partition table for the disk is:

    ================================
    Model: VMware, VMware Virtual S (scsi)
    Disk /dev/sda: 172GB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    Disk Flags:

    Number Start End Size File system Name Flags
    1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
    2 538MB 171GB 170GB btrfs
    3 171GB 172GB 1072MB linux-swap(v1)

    ================================

    BTW, did you try to run fsck for your btrfs file system before saving it?

    Steven.

     
  • Jan

    Jan - 2016-02-08

    Hi
    I did some tests. Installed Ubuntu with latest 15.10 64b install DVD and tried to backup. Backup finished succesfully. So probably problem was in creatinon of BtrFS partition with older tools on 14.04 Install DVD.

    I also tried to recover this new backup and recovery progress went well and finished succesfully. But after reboot computer didn't recognise any system on hard drive and even BIOS shows "Unknown UEFI" entry and couldn't run system from it.

    May EFI partition went wrong?

    Thanks
    Jan

     
  • Steven Shiau

    Steven Shiau - 2016-02-10

    So the image has been resotored successfully. Now the issue is on the EFI booting.
    Normally the EFI partiton is only FAT or NTFS, and it should be OK.
    We did some tests here and there is no such issue here. Maybe you can check if the efi boot manager contains your system.

    Steven.

     
  • Jan

    Jan - 2016-02-17

    Hi,

    sorry for delay. I tried to separate partition with /boot to standalone ext2 partition but didn't worked. Also in Ubuntu installer I tried to select booting location from default "/dev/sda" to "/dev/sda2"(partition with /boot). Both didn't worked. Operating system launched well but after backingup and restoring, BIOS see nothing.

    In EFI partition I found only these files "grub64.efi", "MokManager.efi", "shimx64.efi" and "grub.cfg" (in attachement)
    EFI partition seems to be fine by me.

    I thought about another problem that could cause this. In PC a have two harddrives with Ubuntu instaled. After instalation of test Ubuntu in BIOS I see 4 entries called "ubuntu" (two for each drive, I dont know why twice). Could restoring Ubuntu on PC with second separatedly installed Ubuntu cause this problem?
    I tried to restore drive with second Ubuntu harddrive unplugged. But no change. Still cant launch system after restoring.

    Could this be system-specific problem?

    Thanks
    Jan

     
  • Steven Shiau

    Steven Shiau - 2016-02-21

    "Still cant launch system after restoring." -> What the error messages on the screen? Or nothing shown?

    Steven.

     
  • Jan

    Jan - 2016-03-02

    Hi,
    sorry for not ansvering for a while. After starting PC nothing is shown and nothing happens. In PC firmware (set to EFI-only booting) I see that boot order contains only two options. Both named "unknown" and executing them neither one will boot or display any error. Now I am studying anything about EFI boot manager and trying to get it work.

    Jan

     

Log in to post a comment.