Re: multi-device btrfs with single data mode and disk failure

2016-09-30 Thread Alexandre Poux
Hello again, Just a quick question. I did a full scrub and got no error at all And a full check that gave me this : #> btrfs check --check-data-csum -p /dev/sde6 Checking filesystem on /dev/sde6 UUID: 62db560b-a040-4c64-b613-6e7db033dc4d checking extents [o] checking free space cache [o] check

Re: multi-device btrfs with single data mode and disk failure

2016-09-29 Thread Alexandre Poux
Hi, I finally did it : patched the kernel and removed the device. As expected he did not scream since there was nothing at all on the device. Now I'm checking that everything is fine: scrub (in read only) check (in read only) but I think that everything will be OK If not, I will rebuild the array

Re: multi-device btrfs with single data mode and disk failure

2016-09-21 Thread Austin S. Hemmelgarn
On 2016-09-20 15:55, Chris Murphy wrote: On Tue, Sep 20, 2016 at 1:43 PM, Austin S. Hemmelgarn wrote: First off, as Chris said, if you can read the data and don't already have a backup, that should be your first priority. This really is an edge case that's not well tested, and the kernel tec

Re: multi-device btrfs with single data mode and disk failure

2016-09-20 Thread Chris Murphy
On Tue, Sep 20, 2016 at 2:18 PM, Alexandre Poux wrote: > > > Le 20/09/2016 à 21:46, Chris Murphy a écrit : >> On Tue, Sep 20, 2016 at 1:31 PM, Alexandre Poux wrote: >>> >>> Le 20/09/2016 à 21:11, Chris Murphy a écrit : And no backup? Umm, I'd resolve that sooner than anything else. >>> Yeah

Re: multi-device btrfs with single data mode and disk failure

2016-09-20 Thread Alexandre Poux
Le 20/09/2016 à 22:18, Alexandre Poux a écrit : > > Le 20/09/2016 à 21:46, Chris Murphy a écrit : >> On Tue, Sep 20, 2016 at 1:31 PM, Alexandre Poux wrote: >>> Le 20/09/2016 à 21:11, Chris Murphy a écrit : And no backup? Umm, I'd resolve that sooner than anything else. >>> Yeah you are abso

Re: multi-device btrfs with single data mode and disk failure

2016-09-20 Thread Graham Cobb
On 20/09/16 19:53, Alexandre Poux wrote: > As for moving data to an another volume, since it's only data and > nothing fancy (no subvolume or anything), a simple rsync would do the trick. > My problem in this case is that I don't have enough available space > elsewhere to move my data. > That's why

Re: multi-device btrfs with single data mode and disk failure

2016-09-20 Thread Alexandre Poux
Le 20/09/2016 à 21:46, Chris Murphy a écrit : > On Tue, Sep 20, 2016 at 1:31 PM, Alexandre Poux wrote: >> >> Le 20/09/2016 à 21:11, Chris Murphy a écrit : >>> And no backup? Umm, I'd resolve that sooner than anything else. >> Yeah you are absolutely right, this was a temporary solution which cam

Re: multi-device btrfs with single data mode and disk failure

2016-09-20 Thread Chris Murphy
On Tue, Sep 20, 2016 at 1:54 PM, Alexandre Poux wrote: > > OK, good idea, but to be able to do that, I have to use the patch that > allow me to mount the partition in rw, otherwise I won't be able to > shrink it I suppose.. > And even with the patch I'm not sure that I won't get an IO error the >

Re: multi-device btrfs with single data mode and disk failure

2016-09-20 Thread Chris Murphy
On Tue, Sep 20, 2016 at 1:43 PM, Austin S. Hemmelgarn wrote: >> First off, as Chris said, if you can read the data and don't already have a > backup, that should be your first priority. This really is an edge case > that's not well tested, and the kernel technically doesn't officially > support

Re: multi-device btrfs with single data mode and disk failure

2016-09-20 Thread Alexandre Poux
Le 20/09/2016 à 21:43, Austin S. Hemmelgarn a écrit : > On 2016-09-20 14:53, Alexandre Poux wrote: >> >> >> Le 20/09/2016 à 20:38, Chris Murphy a écrit : >>> On Tue, Sep 20, 2016 at 12:19 PM, Alexandre Poux >>> wrote: Le 20/09/2016 à 19:54, Chris Murphy a écrit : > On Tue, Sep 20,

Re: multi-device btrfs with single data mode and disk failure

2016-09-20 Thread Chris Murphy
On Tue, Sep 20, 2016 at 1:31 PM, Alexandre Poux wrote: > > > Le 20/09/2016 à 21:11, Chris Murphy a écrit : >> And no backup? Umm, I'd resolve that sooner than anything else. > Yeah you are absolutely right, this was a temporary solution which came > to be not that temporary. > And I regret it alr

Re: multi-device btrfs with single data mode and disk failure

2016-09-20 Thread Austin S. Hemmelgarn
On 2016-09-20 14:53, Alexandre Poux wrote: Le 20/09/2016 à 20:38, Chris Murphy a écrit : On Tue, Sep 20, 2016 at 12:19 PM, Alexandre Poux wrote: Le 20/09/2016 à 19:54, Chris Murphy a écrit : On Tue, Sep 20, 2016 at 11:03 AM, Alexandre Poux wrote: If I wanted to try to edit my partitions

Re: multi-device btrfs with single data mode and disk failure

2016-09-20 Thread Chris Murphy
On Tue, Sep 20, 2016 at 12:53 PM, Alexandre Poux wrote: > > > Le 20/09/2016 à 20:38, Chris Murphy a écrit : >> On Tue, Sep 20, 2016 at 12:19 PM, Alexandre Poux wrote: >>> >>> Le 20/09/2016 à 19:54, Chris Murphy a écrit : On Tue, Sep 20, 2016 at 11:03 AM, Alexandre Poux wrote: > If

Re: multi-device btrfs with single data mode and disk failure

2016-09-20 Thread Alexandre Poux
Le 20/09/2016 à 20:56, Austin S. Hemmelgarn a écrit : > On 2016-09-20 13:54, Chris Murphy wrote: >> On Tue, Sep 20, 2016 at 11:03 AM, Alexandre Poux >> wrote: >> >>> If I wanted to try to edit my partitions with an hex editor, where >>> would >>> I find infos on how to do that ? >>> I really don't

Re: multi-device btrfs with single data mode and disk failure

2016-09-20 Thread Austin S. Hemmelgarn
On 2016-09-20 13:54, Chris Murphy wrote: On Tue, Sep 20, 2016 at 11:03 AM, Alexandre Poux wrote: If I wanted to try to edit my partitions with an hex editor, where would I find infos on how to do that ? I really don't want to go this way, but if this is relatively simple, it may be worth to tr

Re: multi-device btrfs with single data mode and disk failure

2016-09-20 Thread Alexandre Poux
Le 20/09/2016 à 20:38, Chris Murphy a écrit : > On Tue, Sep 20, 2016 at 12:19 PM, Alexandre Poux wrote: >> >> Le 20/09/2016 à 19:54, Chris Murphy a écrit : >>> On Tue, Sep 20, 2016 at 11:03 AM, Alexandre Poux wrote: >>> If I wanted to try to edit my partitions with an hex editor, where wou

Re: multi-device btrfs with single data mode and disk failure

2016-09-20 Thread Chris Murphy
On Tue, Sep 20, 2016 at 12:19 PM, Alexandre Poux wrote: > > > Le 20/09/2016 à 19:54, Chris Murphy a écrit : >> On Tue, Sep 20, 2016 at 11:03 AM, Alexandre Poux wrote: >> >>> If I wanted to try to edit my partitions with an hex editor, where would >>> I find infos on how to do that ? >>> I really

Re: multi-device btrfs with single data mode and disk failure

2016-09-20 Thread Alexandre Poux
Le 20/09/2016 à 19:54, Chris Murphy a écrit : > On Tue, Sep 20, 2016 at 11:03 AM, Alexandre Poux wrote: > >> If I wanted to try to edit my partitions with an hex editor, where would >> I find infos on how to do that ? >> I really don't want to go this way, but if this is relatively simple, it >>

Re: multi-device btrfs with single data mode and disk failure

2016-09-20 Thread Chris Murphy
On Tue, Sep 20, 2016 at 11:03 AM, Alexandre Poux wrote: > If I wanted to try to edit my partitions with an hex editor, where would > I find infos on how to do that ? > I really don't want to go this way, but if this is relatively simple, it > may be worth to try. Simple is relative. First you'd

Re: multi-device btrfs with single data mode and disk failure

2016-09-20 Thread Alexandre Poux
Le 20/09/2016 à 00:05, Alexandre Poux a écrit : > > Le 15/09/2016 à 23:54, Chris Murphy a écrit : >> On Thu, Sep 15, 2016 at 3:48 PM, Alexandre Poux wrote: >>> Le 15/09/2016 à 18:54, Chris Murphy a écrit : On Thu, Sep 15, 2016 at 10:30 AM, Alexandre Poux wrote: > Thank you very much fo

Re: multi-device btrfs with single data mode and disk failure

2016-09-19 Thread Alexandre Poux
Le 15/09/2016 à 23:54, Chris Murphy a écrit : > On Thu, Sep 15, 2016 at 3:48 PM, Alexandre Poux wrote: >> Le 15/09/2016 à 18:54, Chris Murphy a écrit : >>> On Thu, Sep 15, 2016 at 10:30 AM, Alexandre Poux wrote: Thank you very much for your answers Le 15/09/2016 à 17:38, Chris Mu

Re: multi-device btrfs with single data mode and disk failure

2016-09-15 Thread Chris Murphy
On Thu, Sep 15, 2016 at 3:48 PM, Alexandre Poux wrote: > > Le 15/09/2016 à 18:54, Chris Murphy a écrit : >> On Thu, Sep 15, 2016 at 10:30 AM, Alexandre Poux wrote: >>> Thank you very much for your answers >>> >>> Le 15/09/2016 à 17:38, Chris Murphy a écrit : On Thu, Sep 15, 2016 at 1:44 AM,

Re: multi-device btrfs with single data mode and disk failure

2016-09-15 Thread Chris Murphy
On Thu, Sep 15, 2016 at 10:30 AM, Alexandre Poux wrote: > Thank you very much for your answers > > Le 15/09/2016 à 17:38, Chris Murphy a écrit : >> On Thu, Sep 15, 2016 at 1:44 AM, Alexandre Poux wrote: >>> Is it possible to do some king of a "btrfs delete missing" on this >>> kind of set

Re: multi-device btrfs with single data mode and disk failure

2016-09-15 Thread Alexandre Poux
Thank you very much for your answers Le 15/09/2016 à 17:38, Chris Murphy a écrit : > On Thu, Sep 15, 2016 at 1:44 AM, Alexandre Poux wrote: >> Is it possible to do some king of a "btrfs delete missing" on this >> kind of setup, in order to recover access in rw to my other data, or >>

Re: multi-device btrfs with single data mode and disk failure

2016-09-15 Thread Chris Murphy
On Thu, Sep 15, 2016 at 1:44 AM, Alexandre Poux wrote: > I had a btrfs partition on a 6 disk array without raid (metadata in > raid10, but data in single), and one of the disks just died. > > So I lost some of my data, ok, I knew that. > > But two question : > > * > > Is it possible to know

multi-device btrfs with single data mode and disk failure

2016-09-15 Thread Alexandre Poux
I had a btrfs partition on a 6 disk array without raid (metadata in raid10, but data in single), and one of the disks just died. So I lost some of my data, ok, I knew that. But two question : * Is it possible to know (using metadata I suppose) what data I have lost ? * Is it p