having issue removing a drive with a bad block

2018-04-15 Thread Alexander Zapatka
i recently set up a drive pool in single mode on my little media server. about a week later SMART started telling me that the drive was having issue and there is one bad sector. since the array is far from full i decided to remove the drive from the pool. but running btrfs device remove /dev/sd

Re: having issue removing a drive with a bad block

2018-04-15 Thread Alexander Zapatka
thanks, Chris. i have given a timeout of 300 to all the drives. they are all USB, all connected to an apollo lake based htpc. then i started the command again... the dmesg output is here from a few minutes after i started the btrfs device remove command. https://paste.ee/p/H1R0i. no hopes, high

deadlock on btrfs scrub...

2018-06-12 Thread Alexander Zapatka
hello. a while ago i wrote to the list that i was getting a deadlock when working with a btrfs file system on a drive that had a bad sector. i finally resolved the bad sector, smartctl says there are no bad sectors, and it has been successfully remapped. after it had been resolved i still am get