On Tue, Apr 12, 2016 at 9:48 AM, lenovomi <lenov...@gmail.com> wrote:

> root@ubuntu:/home/ubuntu# btrfs restore -D -v  /dev/sda /mnt/usb/
> checksum verify failed on 17802818387968 found FF45E2D3 wanted BFB02AEC
> checksum verify failed on 17802818387968 found FF45E2D3 wanted BFB02AEC
> checksum verify failed on 17802818387968 found FF45E2D3 wanted BFB02AEC
> checksum verify failed on 17802818387968 found FF45E2D3 wanted BFB02AEC
> Csum didn't match
> Couldn't read tree root
> Could not open root, trying backup super
> warning, device 2 is missing
> warning devid 2 not found already
> warning devid 3 not found already
> warning devid 4 not found already
> checksum verify failed on 17802818387968 found FF45E2D3 wanted BFB02AEC
> checksum verify failed on 17802818387968 found FF45E2D3 wanted BFB02AEC
> Csum didn't match
> Couldn't read tree root
> Could not open root, trying backup super
> warning, device 2 is missing
> warning devid 2 not found already
> warning devid 3 not found already
> warning devid 4 not found already
> checksum verify failed on 17802818387968 found FF45E2D3 wanted BFB02AEC
> checksum verify failed on 17802818387968 found FF45E2D3 wanted BFB02AEC
> Csum didn't match
> Couldn't read tree root
> Could not open root, trying backup super
>

Why are devices 2, 3, 4 missing? I think there's a known issue where
btrfs fi show might see drives as available that other tools won't
see. Try 'btrfs dev scan' and then repeat the restore command with -D
just to see if the missing device warnings go away. If devices are
missing, it's kinda hard to do a restore.


If these are hard drives, there should be supers 0, 1, 2 and they
should all be the same. But they may not be the same on each drive, so
it's worth checking:

btrfs-show-super -f <eachdevice>

And then also btrfs-find-root <anydevice>




-- 
Chris Murphy
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to