Re: Any hope of pool recovery?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes it works with raid6 as well.

[root@san01 btrfs-progs]# ./btrfs fi show
Label: 'rockstor_rockstor'  uuid: 08d14b6f-18df-4b1b-a91e-4b33e7c90c29
        Total devices 1 FS bytes used 19.25GiB
        devid    1 size 457.40GiB used 457.40GiB path /dev/sdt3

warning, device 4 is missing
warning, device 2 is missing
warning devid 2 not found already
warning devid 4 not found already
checksum verify failed on 21364736 found 925303CE wanted 09150E74
checksum verify failed on 21364736 found 925303CE wanted 09150E74
bytenr mismatch, want=21364736, have=1065943040
Couldn't read chunk tree
Label: 'backup'  uuid: 68be4632-93ba-4478-9098-2ecb23ee6c94
        Total devices 5 FS bytes used 978.72MiB
        devid    1 size 2.73TiB used 1.62GiB path /dev/sdb
        devid    3 size 2.73TiB used 1.62GiB path /dev/sdi
        devid    4 size 2.73TiB used 1.62GiB path /dev/sdj
        devid    5 size 2.73TiB used 1.62GiB path /dev/sdn
        devid    6 size 2.73TiB used 1.62GiB path /dev/sdq

Label: 'tank'  uuid: 8a03f8e8-8b84-4d1b-b27d-e23ef8ebe21d
        Total devices 10 FS bytes used 5.67TiB
        devid    1 size 1.36TiB used 792.67GiB path /dev/sdc
        devid    3 size 1.82TiB used 792.65GiB path /dev/sdf
        devid    5 size 1.36TiB used 792.65GiB path /dev/sdg
        devid    6 size 1.36TiB used 792.65GiB path /dev/sdh
        devid    7 size 1.82TiB used 792.65GiB path /dev/sdk
        devid    8 size 1.82TiB used 792.65GiB path /dev/sdl
        devid    9 size 1.82TiB used 792.65GiB path /dev/sdm
        devid   10 size 1.82TiB used 792.65GiB path /dev/sdp
        *** Some devices missing

btrfs-progs v4.1
[root@san01 btrfs-progs]# mount /dev/sdb /mnt2/backup
[root@san01 btrfs-progs]# ./btrfs fi df /mnt2/backup
Data, RAID6: total=3.00GiB, used=977.56MiB
System, RAID6: total=96.00MiB, used=16.00KiB
Metadata, RAID6: total=1.03GiB, used=1.14MiB
GlobalReserve, single: total=16.00MiB, used=0.00B
[root@san01 btrfs-progs]# ll /mnt2/backup
total 1000000
-rw-r--r-- 1 root root 1024000000 Jul  2 13:48 test_file_1gb
[root@san01 btrfs-progs]# umount /mnt2/backup
[root@san01 btrfs-progs]# ./btrfs restore -xmv /dev/sdb ~
Restoring /root/test_file_1gb
Done searching
[root@san01 btrfs-progs]# ll ~
total 1000004
-rw-------. 1 root root       1101 Jun 20 23:18 anaconda-ks.cfg
drwxr-xr-x  1 root root         22 Jul  1 09:48 git
-rw-r--r--  1 root root 1024000000 Jul  2 13:48 test_file_1gb
[root@san01 btrfs-progs]#

On Thu, Jul 2, 2015 at 1:45 PM, Donald Pearson
<donaldwhpearson@xxxxxxxxx> wrote:
> That is correct.  I'm going to rebalance my raid5 pool as raid6 and
> re-test just because.
>
> On Thu, Jul 2, 2015 at 1:37 PM, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:
>> On Thu, Jul 2, 2015 at 12:32 PM, Donald Pearson
>> <donaldwhpearson@xxxxxxxxx> wrote:
>>> I think it is.  I have another raid5 pool that I've created to test
>>> the restore function on, and it worked.
>>
>> So you have all devices for this raid6 available, and yet when you use
>> restore, you get missing device message for all devices except the one
>> specified? But that doesn't happen with the raid5 volume?
>>
>>
>> --
>> Chris Murphy
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux