Re: Can't remove device -> I/O error

2017-09-30 Thread Duncan
Dirk Diggler posted on Fri, 29 Sep 2017 22:00:28 +0200 as excerpted: > is there any chance to get my device removed? > Scrub literally takes months to complete (SATA 2/3 mix, about 1 minute > per gigabyte) and i'm not sure if that helps. > I guess same with balance. Mabye there is a quicker way.

Re: Can't remove device -> I/O error

2017-09-30 Thread DocMAX
Thank you for all your effort. In "normal" conditions i know that the remove/delete command is working (i did that some times before). But in this case it seems that i have some inconsistent data which prevents the operation to complete. Am 30.09.2017 um 13:40 schrieb Goffredo Baroncelli:

Re: Can't remove device -> I/O error

2017-09-30 Thread Goffredo Baroncelli
On 09/30/2017 12:40 PM, DocMAX wrote: > I removed with "echo" command and also physically. > > Both quit with I/O error. Below the step which I used to simulate (in a virtual machine) your issue: ### created the filesystem, and populated it (with about 500MB) $ sudo mkfs.btrfs --force -d RAID5

Re: Can't remove device -> I/O error

2017-09-30 Thread DocMAX
I removed with "echo" command and also physically. Both quit with I/O error. Am 30.09.2017 um 09:16 schrieb Goffredo Baroncelli: On 09/30/2017 01:06 AM, DocMAX wrote: Did you removed the disk before mounting (physically or doing echo 1 >/sys/block/xxx/device/delete)? Which steps you

Re: Can't remove device -> I/O error

2017-09-30 Thread Goffredo Baroncelli
On 09/30/2017 01:06 AM, DocMAX wrote: >>> Did you removed the disk before mounting (physically or doing echo 1 >>> >/sys/block/xxx/device/delete)? Which steps you performed ? > > - removed drive physically > > - mounted degraded mode > > - btrfs dev del -> same i/o error > Did you switch off

Re: Can't remove device -> I/O error

2017-09-29 Thread DocMAX
>> Did you removed the disk before mounting (physically or doing echo 1 >/sys/block/xxx/device/delete)? Which steps you performed ? - removed drive physically - mounted degraded mode - btrfs dev del -> same i/o error -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs"

Re: Can't remove device -> I/O error

2017-09-29 Thread Goffredo Baroncelli
On 09/29/2017 11:09 PM, DocMAX wrote: > Thanks for the reply. > > I don't want to replace the drive. I want to remove. > > Also tried in degraded mode. I get the exact same error. Did you removed the disk before mounting (physically or doing echo 1 >/sys/block/xxx/device/delete)? Which steps

Re: Can't remove device -> I/O error

2017-09-29 Thread DocMAX
Thanks for the reply. I don't want to replace the drive. I want to remove. Also tried in degraded mode. I get the exact same error. I'm not sure but i think i formated the drive on Kernel 4.11. I am on Kernel 4.13 now. I have the bad feeling that i will never get rid of that small drive

Re: Can't remove device -> I/O error

2017-09-29 Thread Goffredo Baroncelli
On 09/29/2017 10:00 PM, Dirk Diggler wrote: > Hi, > > is there any chance to get my device removed? I simulated a device removing in KVM with echo 1 >/sys/block/sdj/device/delete then btrfs dev del 6 /mnt/ And I got success. But I am not sure if this is the right thing

Re: Can't remove device -> I/O error

2017-09-29 Thread DocMAX
Kernel: Linux game 4.13.3-1-ARCH #1 SMP PREEMPT Thu Sep 21 20:33:16 CEST 2017 x86_64 GNU/Linux -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Can't remove device -> I/O error

2017-09-29 Thread Dirk Diggler
Hi, is there any chance to get my device removed? Scrub literally takes months to complete (SATA 2/3 mix, about 1 minute per gigabyte) and i'm not sure if that helps. I guess same with balance. Mabye there is a quicker way. I can do without some data if it's corrupted. I have a backup, but i want