On Sat, Apr 20, 2013 at 02:15:14PM -0700, Roger Binns wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 20/04/13 13:48, Hugo Mills wrote:> On Sat, Apr 20, 2013 at 01:17:06PM > - -0700, Roger Binns wrote: > >> When I try to set it with balance there is a kernel message: > >> > >> btrfs: dup for data is not allowed > > > > What kernel and userspace versions are you using? I thought the > > restriction had been removed at some point (but possibly I'm just > > misremembering it). > > Whatever Ubuntu 12.10 ships with. Kernel package is 3.5.0.27.43 and > btrfs-tools is 0.19+20120328-7ubuntu1. Note the message came from the > kernel so it would appear to be solely to blame for refusing my request. OK, I'm not 100% certain, but that's probably too early for the fix I was thinking of. You should upgrade anyway -- there's been a number of serious bugs in btrfs fixed since then. Ubuntu has new kernels in a PPA at [1]. > > it can be quite hard to find every single implication of a feature when > > that feature gets changd/updated. > > I'm more amused that someone went to the trouble of putting in kernel > detection and messages plus updating the documentation in order to prevent > using DUP for data! It'd have been a mere couple of lines of code, and probably there to match historical usage of mkfs (which I believe has also been dealt with). Hugo. [1] https://launchpad.net/~yofel/+archive/btrfs -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- A linked list is still a binary tree. Just a --- very unbalanced one.
Attachment:
signature.asc
Description: Digital signature
