Re: Btrfs dev del

2016-10-18 Thread Austin S. Hemmelgarn
On 2016-10-18 11:02, Stefan Malte Schumacher wrote: Hello One of the drives which I added to my array two days ago was most likely already damaged when I bought it - 312 read errors while scrubbing and lots of SMART errors. I want to take the drive out, go to my hardware vendor and have it repla

Re: `btrfs dev del` fails with `No space left on device`

2016-08-30 Thread ojab //
On Tue, Aug 30, 2016 at 5:13 PM, Chris Murphy wrote: > On Tue, Aug 30, 2016 at 4:22 AM, ojab // wrote: >> On Mon, Aug 29, 2016 at 9:05 PM, Chris Murphy >> wrote: >>> On Mon, Aug 29, 2016 at 10:04 AM, ojab // wrote: >>> What do you get for 'btrfs fi us ' >> >> $ sudo btrfs fi us /mnt/xxx/ >> Ov

Re: `btrfs dev del` fails with `No space left on device`

2016-08-30 Thread Chris Murphy
On Tue, Aug 30, 2016 at 4:22 AM, ojab // wrote: > On Mon, Aug 29, 2016 at 9:05 PM, Chris Murphy wrote: >> On Mon, Aug 29, 2016 at 10:04 AM, ojab // wrote: >> What do you get for 'btrfs fi us ' > > $ sudo btrfs fi us /mnt/xxx/ > Overall: > Device size: 3.64TiB > Device al

Re: `btrfs dev del` fails with `No space left on device`

2016-08-30 Thread Hugo Mills
On Tue, Aug 30, 2016 at 10:22:24AM +, ojab // wrote: > On Mon, Aug 29, 2016 at 9:05 PM, Chris Murphy wrote: > > On Mon, Aug 29, 2016 at 10:04 AM, ojab // wrote: > > What do you get for 'btrfs fi us ' > > $ sudo btrfs fi us /mnt/xxx/ > Overall: > Device size: 3.64TiB >

Re: `btrfs dev del` fails with `No space left on device`

2016-08-30 Thread ojab //
On Mon, Aug 29, 2016 at 9:05 PM, Chris Murphy wrote: > On Mon, Aug 29, 2016 at 10:04 AM, ojab // wrote: > What do you get for 'btrfs fi us ' $ sudo btrfs fi us /mnt/xxx/ Overall: Device size: 3.64TiB Device allocated: 1.82TiB Device unallocated:

Re: `btrfs dev del` fails with `No space left on device`

2016-08-29 Thread Chris Murphy
On Mon, Aug 29, 2016 at 10:04 AM, ojab // wrote: > Hi, > [and I hope that this message will not be sent during compose] > I've had BTRFS filesystem with two 1Tb drives (sdb1 & sdc1), data > raid0 & metadata raid1. I need to replace one drive with 2Tb drive, so > I've done `btrfs dev add /dev/sdd /

Re: btrfs dev del hangs on 4.7

2016-08-10 Thread Hugo Mills
On Tue, Aug 09, 2016 at 07:41:42PM +, Hugo Mills wrote: > On Tue, Aug 09, 2016 at 03:22:03PM -0400, Chris Mason wrote: > > > > > > On 08/09/2016 03:11 PM, Hugo Mills wrote: > > >On Tue, Aug 09, 2016 at 06:27:33PM +, Hugo Mills wrote: > > >>On Tue, Aug 09, 2016 at 02:26:14PM -0400, Chris M

Re: btrfs dev del hangs on 4.7

2016-08-09 Thread Hugo Mills
On Tue, Aug 09, 2016 at 03:22:03PM -0400, Chris Mason wrote: > > > On 08/09/2016 03:11 PM, Hugo Mills wrote: > >On Tue, Aug 09, 2016 at 06:27:33PM +, Hugo Mills wrote: > >>On Tue, Aug 09, 2016 at 02:26:14PM -0400, Chris Mason wrote: > >>>On 08/09/2016 02:23 PM, Hugo Mills wrote: > Hi, C

Re: btrfs dev del hangs on 4.7

2016-08-09 Thread Chris Mason
On 08/09/2016 03:11 PM, Hugo Mills wrote: On Tue, Aug 09, 2016 at 06:27:33PM +, Hugo Mills wrote: On Tue, Aug 09, 2016 at 02:26:14PM -0400, Chris Mason wrote: On 08/09/2016 02:23 PM, Hugo Mills wrote: Hi, Chris, On Tue, Aug 09, 2016 at 02:02:20PM -0400, Chris Mason wrote: On 08/09/20

Re: btrfs dev del hangs on 4.7

2016-08-09 Thread Hugo Mills
On Tue, Aug 09, 2016 at 06:27:33PM +, Hugo Mills wrote: > On Tue, Aug 09, 2016 at 02:26:14PM -0400, Chris Mason wrote: > > On 08/09/2016 02:23 PM, Hugo Mills wrote: > > > Hi, Chris, > > > > > >On Tue, Aug 09, 2016 at 02:02:20PM -0400, Chris Mason wrote: > > >>On 08/09/2016 01:27 PM, Hugo Mill

Re: btrfs dev del hangs on 4.7

2016-08-09 Thread Hugo Mills
On Tue, Aug 09, 2016 at 02:26:14PM -0400, Chris Mason wrote: > On 08/09/2016 02:23 PM, Hugo Mills wrote: > > Hi, Chris, > > > >On Tue, Aug 09, 2016 at 02:02:20PM -0400, Chris Mason wrote: > >>On 08/09/2016 01:27 PM, Hugo Mills wrote: > >>> Over the weekend, I started doing some maintenance on my

Re: btrfs dev del hangs on 4.7

2016-08-09 Thread Chris Mason
On 08/09/2016 02:23 PM, Hugo Mills wrote: Hi, Chris, On Tue, Aug 09, 2016 at 02:02:20PM -0400, Chris Mason wrote: On 08/09/2016 01:27 PM, Hugo Mills wrote: Over the weekend, I started doing some maintenance on my server: I upgraded to 4.7.0, and I started deleting a device from my array,

Re: btrfs dev del hangs on 4.7

2016-08-09 Thread Hugo Mills
Hi, Chris, On Tue, Aug 09, 2016 at 02:02:20PM -0400, Chris Mason wrote: > On 08/09/2016 01:27 PM, Hugo Mills wrote: > > Over the weekend, I started doing some maintenance on my server: I > >upgraded to 4.7.0, and I started deleting a device from my array, > >preparatory to putting in a larger

Re: btrfs dev del hangs on 4.7

2016-08-09 Thread Chris Mason
On 08/09/2016 01:27 PM, Hugo Mills wrote: Over the weekend, I started doing some maintenance on my server: I upgraded to 4.7.0, and I started deleting a device from my array, preparatory to putting in a larger one. About halfway through the operation, several kernel threads hung up for a while