Re: RAID5 Unable to remove Failing HD

2016-04-19 Thread Lionel Bouton
Hi, Le 19/04/2016 11:13, Anand Jain a écrit : > >>> # btrfs device delete 3 /mnt/store/ >>> ERROR: device delete by id failed: Inappropriate ioctl for device >>> >>> Were the patch sets above for btrfs-progs or for the kernel ? >> [...] > > By the way, For Lionel issue, delete missing should

Re: RAID5 Unable to remove Failing HD

2016-04-19 Thread Duncan
Anand Jain posted on Tue, 19 Apr 2016 17:13:04 +0800 as excerpted: >>> # btrfs device delete 3 /mnt/store/ >>> ERROR: device delete by id failed: Inappropriate ioctl for device >>> >>> Were the patch sets above for btrfs-progs or for the kernel ? >> >> Looks like you're primarily interested in

Re: RAID5 Unable to remove Failing HD

2016-04-19 Thread Anand Jain
# btrfs device delete 3 /mnt/store/ ERROR: device delete by id failed: Inappropriate ioctl for device Were the patch sets above for btrfs-progs or for the kernel ? Looks like you're primarily interested in the concern2 patches, device delete by devid. A quick search of the list back-history

Re: RAID5 Unable to remove Failing HD

2016-04-19 Thread Duncan
Lionel Bouton posted on Mon, 18 Apr 2016 10:59:35 +0200 as excerpted: > Hi, > > Le 10/02/2016 10:00, Anand Jain a écrit : >> >> Thanks for the report. Fixes are in the following patch sets >> >> concern1: >> Btrfs to fail/offline a device for write/flush error: >>[PATCH 00/15] btrfs: Hot

Re: RAID5 Unable to remove Failing HD

2016-04-18 Thread Lionel Bouton
Le 18/04/2016 10:59, Lionel Bouton a écrit : > [...] > So the obvious thing to do in this circumstance is to delete the drive, > forcing the filesystem to create the missing replicas in the process and > only reboot if needed (no hotplug). Unfortunately I'm not sure of the > conditions where this

Re: RAID5 Unable to remove Failing HD

2016-04-18 Thread Lionel Bouton
Hi, Le 10/02/2016 10:00, Anand Jain a écrit : > > > Rene, > > Thanks for the report. Fixes are in the following patch sets > > concern1: > Btrfs to fail/offline a device for write/flush error: >[PATCH 00/15] btrfs: Hot spare and Auto replace > > concern2: > User should be able to delete a

Re: RAID5 Unable to remove Failing HD

2016-02-10 Thread Rene Castberg
Arnand, thanks for the tip. What kernels are these meant for? I am not able to apply these cleanly to the kernels i have tried. Or is there a kernel with these incorporated? I have tried rebooting without the disk attached and am unable to mount the partition. Complaining about bad tree and

Re: RAID5 Unable to remove Failing HD

2016-02-10 Thread Anand Jain
On 02/11/2016 12:58 AM, Rene Castberg wrote: Arnand, thanks for the tip. What kernels are these meant for? I am not able to apply these cleanly to the kernels i have tried. Or is there a kernel with these incorporated? As I am trying again, they apply nice on v4.4-rc8 (last commit

Re: RAID5 Unable to remove Failing HD

2016-02-10 Thread Anand Jain
Rene, Thanks for the report. Fixes are in the following patch sets concern1: Btrfs to fail/offline a device for write/flush error: [PATCH 00/15] btrfs: Hot spare and Auto replace concern2: User should be able to delete a device when device has failed: [PATCH 0/7] Introduce device