All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Cannot create a logical volume
Date: Fri, 12 Sep 2008 20:45:13 +0200	[thread overview]
Message-ID: <48CAB8B9.60407@redhat.com> (raw)
In-Reply-To: <48CA9EC1.1070701@redhat.com>

Jaroslav Stava wrote:
>> [root@localhost ~]# pvscan
>>   PV /dev/md3   VG gt_vg   lvm2 [909.91 GB / 909.91 GB free]
>>   Total: 1 [909.91 GB] / in use: 1 [909.91 GB] / in no VG: 0 [0   ]

...
>> [root@localhost ~]# lvcreate -L 5G -n data gt_vg
>>   Not enough PVs with free space available for parallel allocation.
>>   Consider --alloc anywhere if desperate.
>>
>> Any feedback would be very much appreciated,
>>
>> Thanks for your time,
>>
>>   
> AFAIK this message should be seen only when trying to create a mirrored
> or striped lv.
There is another possible problem:

Is the PV allowed to allocate any extents?

Please check "pvdisplay /dev/md3" - there should be
  Allocatable           yes

If not, allow allocation on the PV: "pvchange -x y /dev/md3"
and try lvcreate again.

That error message is misleading it this situation...

Milan
--
mbroz@redhat.com

      reply	other threads:[~2008-09-12 18:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-12  7:16 [linux-lvm] Cannot create a logical volume Vikas
2008-09-12 16:54 ` Jaroslav Stava
2008-09-12 18:45   ` Milan Broz [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=48CAB8B9.60407@redhat.com \
    --to=mbroz@redhat.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.