From: Alasdair G Kergon <agk@redhat.com>
To: Bryan Larsen <bryan@larsen.st>
Cc: linux-lvm@redhat.com
Subject: Re: [linux-lvm] -l 100%FREE doesn't work with RAID1
Date: Wed, 20 Jan 2016 19:16:26 +0000 [thread overview]
Message-ID: <20160120191626.GE2125@agk-dp.fab.redhat.com> (raw)
In-Reply-To: <CAJbEnTyXh8t6o5de6dFfWqSBLuemHE3rkJkA5StQR27f1NOvkA@mail.gmail.com>
On Wed, Jan 20, 2016 at 12:19:13PM +0000, Bryan Larsen wrote:
> I'm setting up some provisioning scripts, so I don't know the actual sizes
> of the hard drives
> $ sudo lvcreate --type raid1 -m 1 -l 100%FREE -n backups hdd_vg
> Insufficient free space: 781320 extents needed, but only 390658 available
> $ sudo lvcreate --type raid1 -m 1 -l 50%FREE -n backups hdd_vg
> Insufficient free space: 390662 extents needed, but only 390658 available
Works for me here.
Perhaps you're using an old version?
When run with -vvvv, the key line for me is this one
metadata/lv_manip.c:3036 Found fewer allocatable extents for logical volume lvol1 than requested: using 48 extents (reduced by 142).
Alasdair
prev parent reply other threads:[~2016-01-20 19:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-20 12:19 [linux-lvm] -l 100%FREE doesn't work with RAID1 Bryan Larsen
2016-01-20 18:17 ` Fran Garcia
2016-01-20 18:55 ` Bryan Larsen
2016-01-20 19:16 ` Alasdair G Kergon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160120191626.GE2125@agk-dp.fab.redhat.com \
--to=agk@redhat.com \
--cc=bryan@larsen.st \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).