Re: Errors in rebalancing RAID1 array after disk failure.

2012-05-02 Thread Stefan Behrens
Oops, please scratch the attachment of the mail before, that patch is not yet finished. I forgot to remove it before hitting the send button :( Sorry. > I'll send a patch tomorrow to prevent the scrub crash in this situation. -- To unsubscribe from this list: send the line "unsubscribe linux-btrf

Re: Errors in rebalancing RAID1 array after disk failure.

2012-05-02 Thread Stefan Behrens
On 5/2/2012 5:22 PM, David Sterba wrote: > On Mon, Apr 30, 2012 at 03:01:04PM +0200, Marco L. Crociani wrote: >> ./btrfs device delete missing /mnt/sda3 >> ERROR: error removing the device 'missing' - Input/output error >> >> >> Apr 30 13:17:57 evo kernel: [ 108.866205] btrfs: allowing degraded mo

Re: Errors in rebalancing RAID1 array after disk failure.

2012-05-02 Thread Marco L. Crociani
> Is there anything I missed for steps to reproduce it? All the story is in previous mails. http://thread.gmane.org/gmane.comp.file-systems.btrfs/16829 http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg15949.html First mail is missing from mail-archive... Summary: Some damaged sectors on

Re: Errors in rebalancing RAID1 array after disk failure.

2012-05-02 Thread David Sterba
On Wed, May 02, 2012 at 04:59:03PM +0200, Marco L. Crociani wrote: > > On Thu, Apr 19, 2012 at 05:42:05PM +0200, Marco L. Crociani wrote: > > > Apr 19 17:38:41 evo kernel: [  347.661964]  [] > > > > btrfs_ioctl_dev_info+0x15c/0x1a0 [btrfs] [...] > I was on 3.4-rc5! You really saw this crash with 3

Re: Errors in rebalancing RAID1 array after disk failure.

2012-05-02 Thread David Sterba
On Mon, Apr 30, 2012 at 03:01:04PM +0200, Marco L. Crociani wrote: > ./btrfs device delete missing /mnt/sda3 > ERROR: error removing the device 'missing' - Input/output error > > > Apr 30 13:17:57 evo kernel: [ 108.866205] btrfs: allowing degraded mounts > Apr 30 13:17:57 evo kernel: [ 108.8662

Re: Errors in rebalancing RAID1 array after disk failure.

2012-05-02 Thread Marco L. Crociani
On Wed, May 2, 2012 at 4:54 PM, David Sterba wrote: > > On Thu, Apr 19, 2012 at 05:42:05PM +0200, Marco L. Crociani wrote: > > Apr 19 17:38:41 evo kernel: [  347.661915] Call Trace: > > Apr 19 17:38:41 evo kernel: [  347.661964]  [] > > > btrfs_ioctl_dev_info+0x15c/0x1a0 [btrfs] > > Apr 19 17:38:4

Re: Errors in rebalancing RAID1 array after disk failure.

2012-05-02 Thread David Sterba
On Thu, Apr 19, 2012 at 05:42:05PM +0200, Marco L. Crociani wrote: > Apr 19 17:38:41 evo kernel: [ 347.661915] Call Trace: > Apr 19 17:38:41 evo kernel: [ 347.661964] [] > > btrfs_ioctl_dev_info+0x15c/0x1a0 [btrfs] > Apr 19 17:38:41 evo kernel: [ 347.662013] [] > > btrfs_ioctl+0x571/0x6c0 [b

Re: Errors in rebalancing RAID1 array after disk failure.

2012-04-30 Thread Marco L. Crociani
Hi all, today another episode... I have compiled and tried kernel 3.4-rc5 ./btrfs fi sh Label: 'RootFS' uuid: c87975a0-a575-405e-9890-d3f7f25bbd96 Total devices 3 FS bytes used 1006.67GB devid3 size 1.75TB used 357.00GB path /dev/sdb3 devid1 size 1.75TB used 1.34TB

Re: Errors in rebalancing RAID1 array after disk failure.

2012-04-19 Thread Marco L. Crociani
Today I tried scrub... Apr 19 17:36:01 evo kernel: [ 187.932297] device label RootFS devid 1 transid 47046 /dev/sda3 Apr 19 17:36:02 evo kernel: [ 188.145858] device label RootFS devid 3 transid 47046 /dev/sdb3 Apr 19 17:36:19 evo kernel: [ 205.483044] device label RootFS devid 1 transid 47046

Re: Errors in rebalancing RAID1 array after disk failure.

2012-04-16 Thread Marco L. Crociani
On Tue, Apr 17, 2012 at 12:56 AM, Marco L. Crociani wrote: > On Mon, Apr 16, 2012 at 3:46 PM, David Sterba wrote: >> On Sat, Apr 14, 2012 at 06:39:12PM +0200, Marco L. Crociani wrote: >>> Apr 14 18:07:52 evo kernel: [  431.054709] btrfs: relocating block >>> group 1401002393600 flags 17 >>> Apr 1

Re: Errors in rebalancing RAID1 array after disk failure.

2012-04-16 Thread Marco L. Crociani
On Mon, Apr 16, 2012 at 3:46 PM, David Sterba wrote: > On Sat, Apr 14, 2012 at 06:39:12PM +0200, Marco L. Crociani wrote: >> Apr 14 18:07:52 evo kernel: [  431.054709] btrfs: relocating block >> group 1401002393600 flags 17 >> Apr 14 18:08:14 evo kernel: [  453.506541] btrfs csum failed ino 362 >>

Re: Errors in rebalancing RAID1 array after disk failure.

2012-04-16 Thread David Sterba
On Sat, Apr 14, 2012 at 06:39:12PM +0200, Marco L. Crociani wrote: > Apr 14 18:07:52 evo kernel: [  431.054709] btrfs: relocating block > group 1401002393600 flags 17 > Apr 14 18:08:14 evo kernel: [  453.506541] btrfs csum failed ino 362 > off 910946304 csum 432355644 private 175165154 The failed