Re: Recovering from hard disk failure in a pool

2014-02-14 Thread Daniel Lee
On 02/14/2014 09:53 AM, Axelle wrote: > Hi Daniel, > > This is what it answers now: > > sudo btrfs filesystem df /samples > [sudo] password for axelle: > Data, RAID0: total=252.00GB, used=108.99GB > System, RAID1: total=8.00MB, used=28.00KB > System: total=4.00MB, used=0.00 > Metadata, RAID1: total

Re: Recovering from hard disk failure in a pool

2014-02-14 Thread Axelle
Hi Daniel, This is what it answers now: sudo btrfs filesystem df /samples [sudo] password for axelle: Data, RAID0: total=252.00GB, used=108.99GB System, RAID1: total=8.00MB, used=28.00KB System: total=4.00MB, used=0.00 Metadata, RAID1: total=5.25GB, used=3.71GB By the way, I was happy to recover

Re: Recovering from hard disk failure in a pool

2014-02-14 Thread Daniel Lee
On 02/14/2014 07:22 AM, Axelle wrote: >> Did the crashed /dev/sdb have more than 1 partitions in your raid1 >> filesystem? > No, only 1 - as far as I recall. > > -- Axelle. What does: btrfs filesystem df /samples say now that you've mounted the fs readonly? > On Fri, Feb 14, 2014 at 3:58 PM, Dani

Re: Recovering from hard disk failure in a pool

2014-02-14 Thread Axelle
>Did the crashed /dev/sdb have more than 1 partitions in your raid1 >filesystem? No, only 1 - as far as I recall. -- Axelle. On Fri, Feb 14, 2014 at 3:58 PM, Daniel Lee wrote: > On 02/14/2014 03:04 AM, Axelle wrote: >> Hi Hugo, >> >> Thanks for your answer. >> Unfortunately, I had also tried >>

Re: Recovering from hard disk failure in a pool

2014-02-14 Thread Daniel Lee
On 02/14/2014 03:04 AM, Axelle wrote: > Hi Hugo, > > Thanks for your answer. > Unfortunately, I had also tried > > sudo mount -o degraded /dev/sdc1 /samples > mount: wrong fs type, bad option, bad superblock on /dev/sdc1, >missing codepage or helper program, or other error >In some

Re: Recovering from hard disk failure in a pool

2014-02-14 Thread Axelle
Hi, Some update: >sudo mount -o degraded /dev/sdc1 /samples >mount: wrong fs type, bad option, bad superblock on /dev/sdc1, I am mounting it read-only, and backuping what I can still access to another drive. Then, what should I do? Fully erase the volume and create a new one? Or is there a way I

Re: Recovering from hard disk failure in a pool

2014-02-14 Thread Axelle
Hi Hugo, Thanks for your answer. Unfortunately, I had also tried sudo mount -o degraded /dev/sdc1 /samples mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmes

Re: Recovering from hard disk failure in a pool

2014-02-14 Thread Hugo Mills
On Fri, Feb 14, 2014 at 11:35:56AM +0100, Axelle wrote: > Hi, > I've just encountered a hard disk crash in one of my btrfs pools. > > sudo btrfs filesystem show > failed to open /dev/sr0: No medium found > Label: none uuid: 545e95c6-d347-4a8c-8a49-38b9f9cb9add > Total devices 3 FS bytes u

Recovering from hard disk failure in a pool

2014-02-14 Thread Axelle
Hi, I've just encountered a hard disk crash in one of my btrfs pools. sudo btrfs filesystem show failed to open /dev/sr0: No medium found Label: none uuid: 545e95c6-d347-4a8c-8a49-38b9f9cb9add Total devices 3 FS bytes used 112.70GB devid1 size 100.61GB used 89.26GB path /dev/s