Re: Problems with "btrfs dev remove" of dead disk

2016-02-14 Thread Anand Jain
Feb 14 18:30:21 specialbrew kernel: [27576201.178630] BTRFS: bdev /dev/sdh errs: wr 128, rd 8, flush 2, corrupt 0, gen 0 Feb 14 18:30:21 specialbrew kernel: [27576201.309583] BTRFS: lost page write due to I/O error on /dev/sdh Feb 14 18:30:21 specialbrew kernel: [27576201.315761] BTRFS: bdev

Re: Problems with "btrfs dev remove" of dead disk

2016-02-14 Thread Andy Smith
Hi Chris, On Sun, Feb 14, 2016 at 04:49:29PM -0700, Chris Murphy wrote: > On Sun, Feb 14, 2016 at 2:55 PM, Andy Smith wrote: > > $ sudo btrfs dev remove /dev/sdh /srv/tank > > ERROR: not a block device: /dev/sdh > > > Since now it's a missing device, it should be > > sudo

Re: Problems with "btrfs dev remove" of dead disk

2016-02-14 Thread Chris Murphy
On Sun, Feb 14, 2016 at 2:55 PM, Andy Smith wrote: > > So, ideally I'd like to remove the missing device sdh (id 2) to have > redundant copies of the data until I can insert a new drive. But > "remove" doesn't seem to want to work: > > $ sudo btrfs dev remove /dev/sdh

Problems with "btrfs dev remove" of dead disk

2016-02-14 Thread Andy Smith
Hi, One of my drives died earlier in a fairly emphatic way in that not only did it show IO errors and got removed as a device by the kernel, but it was also making audible grinding/screeching noises until I hot unplugged it. Feb 14 18:29:36 specialbrew kernel: [27576156.070961] ata6.15: SATA