Re: Data single *and* raid?

2015-08-07 Thread Duncan
Hendrik Friedel posted on Fri, 07 Aug 2015 07:16:04 +0200 as excerpted: But then: # btrfs fi df /mnt/__Complete_Disk/ Data, RAID5: total=3.83TiB, used=3.78TiB System, RAID5: total=32.00MiB, used=576.00KiB Metadata, RAID5: total=6.46GiB, used=4.84GiB GlobalReserve, single: total=512.00MiB,

Re: Data single *and* raid?

2015-08-07 Thread Hugo Mills
On Fri, Aug 07, 2015 at 07:16:04AM +0200, Hendrik Friedel wrote: Hello Quo, thanks for your reply. But then: root@homeserver:/mnt/__Complete_Disk# btrfs fi df /mnt/__Complete_Disk/ Data, RAID5: total=3.83TiB, used=3.78TiB System, RAID5: total=32.00MiB, used=576.00KiB Metadata, RAID5:

Re: Data single *and* raid?

2015-08-06 Thread Hendrik Friedel
Hello Quo, thanks for your reply. But then: root@homeserver:/mnt/__Complete_Disk# btrfs fi df /mnt/__Complete_Disk/ Data, RAID5: total=3.83TiB, used=3.78TiB System, RAID5: total=32.00MiB, used=576.00KiB Metadata, RAID5: total=6.46GiB, used=4.84GiB GlobalReserve, single: total=512.00MiB,

Re: Data single *and* raid?

2015-08-06 Thread Qu Wenruo
Hendrik Friedel wrote on 2015/08/06 20:57 +0200: Hello Hugo, hello Chris, thanks for your advice. Now I am here: btrfs balance start -dprofiles=single -mprofiles=raid1 /mnt/__Complete_Disk/ Done, had to relocate 0 out of 3939 chunks root@homeserver:/mnt/__Complete_Disk# btrfs fi show Label:

Re: Data single *and* raid?

2015-08-06 Thread Hendrik Friedel
Hello Hugo, hello Chris, thanks for your advice. Now I am here: btrfs balance start -dprofiles=single -mprofiles=raid1 /mnt/__Complete_Disk/ Done, had to relocate 0 out of 3939 chunks root@homeserver:/mnt/__Complete_Disk# btrfs fi show Label: none uuid: a8af3832-48c7-4568-861f-e80380dd7e0b

Re: Data single *and* raid?

2015-08-02 Thread Hendrik Friedel
Hello, Looking at the btrfs fi show output, you've probably run out of space during the conversion, probably due to an uneven distribution of the original single chunks. I think I would suggest balancing the single chunks, and trying the conversion (of the unconverted parts) again: #

Re: Data single *and* raid?

2015-08-02 Thread Hugo Mills
On Sun, Aug 02, 2015 at 12:31:13PM -0600, Chris Murphy wrote: On Sat, Aug 1, 2015 at 9:46 PM, Duncan 1i5t5.dun...@cox.net wrote: If it was setup with something earlier (not sure about 4.1.0, was it affected? No. but 4.0.x and earlier should be fine for setup), however, once on a

Re: Data single *and* raid?

2015-08-02 Thread Chris Murphy
On Sat, Aug 1, 2015 at 9:46 PM, Duncan 1i5t5.dun...@cox.net wrote: If it was setup with something earlier (not sure about 4.1.0, was it affected? No. but 4.0.x and earlier should be fine for setup), however, once on a new kernel the usual ENOSPC workarounds can be given a try. That would

Re: Data single *and* raid?

2015-08-01 Thread Duncan
Chris Murphy posted on Sat, 01 Aug 2015 19:14:13 -0600 as excerpted: On Sat, Aug 1, 2015 at 6:27 PM, Duncan 1i5t5.dun...@cox.net wrote: 1) If this fs was created with btrfs-progs v4.1.1, get what you need to retrieve off of it immediately, then blow it away and start over, as the thing

Re: Data single *and* raid?

2015-08-01 Thread Hugo Mills
(of the unconverted parts) again: # btrfs balance start -dprofiles=single -mprofile=raid1 /mnt/new_storage/ # btrfs balance start -dconvert=raid5,soft -mconvert=raid5,soft /mnt/new_storage/ You may have to do this more than once. Hugo. Why is there Data single and Raid? Why is Metadata RAID1 and Raid5

Re: Data single *and* raid?

2015-08-01 Thread Chris Murphy
On Sat, Aug 1, 2015 at 2:32 PM, Hugo Mills h...@carfax.org.uk wrote: On Sat, Aug 01, 2015 at 10:09:35PM +0200, Hendrik Friedel wrote: Hello, I converted an array to raid5 by btrfs device add /dev/sdd /mnt/new_storage btrfs device add /dev/sdc /mnt/new_storage btrfs balance start

Data single *and* raid?

2015-08-01 Thread Hendrik Friedel
# btrfs fi df /mnt/new_storage/ Data, single: total=2.55TiB, used=2.55TiB Data, RAID5: total=2.73TiB, used=2.72TiB System, RAID5: total=32.00MiB, used=736.00KiB Metadata, RAID1: total=6.00GiB, used=5.33GiB Metadata, RAID5: total=3.00GiB, used=2.99GiB Why is there Data single and Raid? Why is Metadata

Re: Data single *and* raid?

2015-08-01 Thread Duncan
Chris Murphy posted on Sat, 01 Aug 2015 14:44:52 -0600 as excerpted: On Sat, Aug 1, 2015 at 2:32 PM, Hugo Mills h...@carfax.org.uk wrote: On Sat, Aug 01, 2015 at 10:09:35PM +0200, Hendrik Friedel wrote: Hello, I converted an array to raid5 by btrfs device add /dev/sdd /mnt/new_storage

Re: Data single *and* raid?

2015-08-01 Thread Duncan
Hugo Mills posted on Sat, 01 Aug 2015 22:34:13 + as excerpted: Yes and that also puts it in the realm of kernels that weren't releasing/deallocating empty chunks; although I don't know if that's a factor, if dconvert forcibly deals with this.. It does -- you only have to look at the

Re: Data single *and* raid?

2015-08-01 Thread Chris Murphy
Metadata, RAID5: total=3.00GiB, used=2.99GiB Why is there Data single and Raid? Why is Metadata RAID1 and Raid5? What kernel version? -- Chris Murphy -- 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

Re: Data single *and* raid?

2015-08-01 Thread Chris Murphy
On Sat, Aug 1, 2015 at 3:45 PM, Duncan 1i5t5.dun...@cox.net wrote: Does fi usage deal with raid5 yet? Now that you mention it, I think it doesn't. But if it did, it would show this problem better than df I think. But, somewhere along the line he got 6 GiB of raid1 metadata. Either he

Re: Data single *and* raid?

2015-08-01 Thread Hugo Mills
On Sat, Aug 01, 2015 at 04:26:25PM -0600, Chris Murphy wrote: On Sat, Aug 1, 2015 at 3:45 PM, Duncan 1i5t5.dun...@cox.net wrote: Does fi usage deal with raid5 yet? Now that you mention it, I think it doesn't. But if it did, it would show this problem better than df I think. But,

Re: Data single *and* raid?

2015-08-01 Thread Chris Murphy
On Sat, Aug 1, 2015 at 6:27 PM, Duncan 1i5t5.dun...@cox.net wrote: 1) If this fs was created with btrfs-progs v4.1.1, get what you need to retrieve off of it immediately, then blow it away and start over, as the thing isn't stable and all data is at risk. Agreed. But I'd go so far as to say