[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] (no subject)

On Thu, Jul 14, 2005 at 09:53:09AM +0200, fredrik backman 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.

AJ Lewis                                   Voice:  612-638-0500
Red Hat                                    E-Mail: alewis 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...

Attachment: pgpquRn3gL8Yh.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]