Menu

Cloning a BTRFS RAID1 array- "Unknown partition table format" error

colin_e
2016-09-16
2016-09-18
  • colin_e

    colin_e - 2016-09-16

    I have a machine with bulk data storage (/home and /share) on a pair of disks in a BTRFS volume. The array is a BTRFS RAID1 (data and metadata) array on the raw disk devices (no partition table).

    I want to copy/clone the entire array to a pair of lager disks. I was assuming that cloning each disk separately, as in-

    From op To
    Old_disk_A (clone) New_disk_A
    Old_disk_B (clone) New_disk_B

    would be the way to go. Clonezilla is supposed to support BTRFS, because is uses Partclone, and Partclone has partclone.btrfs so we're cool, correct?

    I booted the latest Clonezilla (downloaded today) from a Live USB, went into raw disk to disk mode, and used the advanced options to tell CZ to NOT try to copy over the MBR or partition table (because they aren't there). However the result was the operation aborted with the error: Unknown partition table format

    Does CZ actually understand btrfs, and I just have the options wrong, or is it unable to work with raw devices, maybe those that are part of a RAID set, and I will have to fall back to using dd?

     
  • Steven Shiau

    Steven Shiau - 2016-09-18

    "a BTRFS RAID1 (data and metadata) array on the raw disk devices (no partition table)." -> No partition table? It means no partition? In that case, then you will have to manually run partclone.btrfs to clone that.
    BTW, which version of Clonezilla live, and partclone did you use? Please show the specific version number instead of mentioning as "the latest clonezilla" because there are some on
    http://clonezilla.org/downloads.php
    Please also tell us how you create the btrfs partition in detail so that we can try to reproduce the issue here. Basiecally if it's reproducible, then it's can be fixed.
    Besides, please take a photo about the error messages on the screen then post it. It's easier for us to understand.
    Thanks.

    Steven

     

Log in to post a comment.