[linux-lvm] (no subject)

AJ Lewis alewis at redhat.com
Thu Jul 14 13:50:46 UTC 2005


On Thu, Jul 14, 2005 at 09:53:09AM +0200, fredrik.backman at nll.se wrote:
> I'm testing the experimental mirroring support and this doesn't add upp 
> for me?
> 
> 
>  pvs
>   PV         VG      Fmt  Attr PSize    PFree
>   /dev/sdb   test_vg lvm2 a-   1020.00M 1020.00M
>   /dev/sdc   test_vg lvm2 a-   1020.00M 1020.00M
> 
>  vgs
>   VG      #PV #LV #SN Attr  VSize VFree
>   test_vg   2   0   0 wz--n 1.99G 1.99G
> 
> 
> lvcreate -m1 -L 100M -v -ntest test_vg
>     Finding volume group "test_vg"
>     Archiving volume group "test_vg" metadata (seqno 8).
>     Creating logical volume test_mlog
>   Not enough PVs with free space available for parallel allocation.
>   Consider --alloc anywhere if desperate.
> 
> 
> However, if I add another PV into my volume group, the lvcreate above 
> succeeds.

Yep - persistant mirrors require a log lv as well as the two mirror lvs, so
with the default allocation right now it will fail if you don't have three
disks.  The log LV keeps track of which regions are dirty and which are clean
for resyncing purposes.

Regards,
-- 
AJ Lewis                                   Voice:  612-638-0500
Red Hat                                    E-Mail: alewis at redhat.com
One Main Street SE, Suite 209
Minneapolis, MN 55414
   
Current GPG fingerprint = D9F8 EDCE 4242 855F A03D  9B63 F50C 54A8 578C 8715
Grab the key at: http://people.redhat.com/alewis/gpg.html or one of the
many keyservers out there...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20050714/b4390ac7/attachment.sig>


More information about the linux-lvm mailing list