Re: (no subject)

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

 



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.

Regards,
-- 
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: pgp4fvlX8bimG.pgp
Description: PGP signature

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux