On Fri, Aug 25, 2017 at 7:31 AM, Eryu Guan <eguan@xxxxxxxxxx> wrote: > On Thu, Aug 24, 2017 at 02:48:26PM +0200, Ilya Dryomov wrote: >> lvm utility in Ubuntu 14.04 LTS treats -l 100%FREE as a hard number and >> not as an approximate upper limit. With ~5G scratch partition and ~128M > > I just looked for an Ubuntu 14.04 LTS box and confirmed lvcreate does > support '-l 100%FREE'. Even on distributions as old as RHEL6 support > this usage too. Perpahs there were other things went wrong in your test > environment? The syntax is supported, but the semantics are different. Compare lvcreate(8) man pages on Ubuntu 14.04 LTS and something more recent: "When expressed as a percentage, the number is treated as an approximate upper limit for the total number of physical extents to be allocated (including extents used by any mirrors, for example)." In the example I gave, '-l 100%FREE' translates to 1310 PEs on Trusty vs ~60 PEs on a recent Fedora. Thanks, Ilya -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html