On Fri, Aug 7, 2015 at 2:30 AM, Patrik Lundquist <[email protected]> wrote: > On 7 August 2015 at 00:17, Peter Foley <[email protected]> wrote: >> Hi, >> >> I have an btrfs volume that spans multiple disks (no raid, just >> single), and earlier this morning I hit some hardware problems with >> one of the disks. >> I tried btrfs dev del /dev/sda1 /, but btrfs was unable to migrate the >> 1gb that appears to be causing the read errors. >> See http://sprunge.us/aeZC > > You might want to try to save as much as possible from the failing > disk with the help of GNU ddrescue. Either by copying sda to a > replacement disk or by copying sda1 to a file for loopback mounting. > > Unmount filesystem before copying and remove sda before you mount with the > copy.
So, it turns out that the only corrupted file was some random header. I was able to rm the file, and then the btrfs dev del succeeded. Thanks, Peter -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
