Re: I can't have the mirror_log mirrored, LVM complains "there is no suitable space"

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

 




Same result if done from a Debian LiveCD. If there are a lot of PEs why LVM complains it is not suitable, in my case it needs just 1 PE.

I used --alloc anywherebut it noticed the two mirror-logs were on the same disk, thing that I don't want of course...

Here's the proof fro the test --alloc anywhere

root@debian:/home/user# lvs -a -o+devices
  LV                   VG           Attr     LSize Pool Origin Data%  Move Log       Copy%  Convert Devices
  root                 lvgrptstnlvm mwi-a-m- 6.00g                         root_mlog 100.00         root_mimage_0(0),root_mimage_1(0)
  [root_mimage_0]      lvgrptstnlvm iwi-aom- 6.00g                                                  /dev/sda1(0)
  [root_mimage_1]      lvgrptstnlvm iwi-aom- 6.00g                                                  /dev/sdb1(0)
  [root_mlog]          lvgrptstnlvm mwa-aom- 4.00m                                   100.00         root_mlog_mimage_0(0),root_mlog_mimage_1(0)
  [root_mlog_mimage_0] lvgrptstnlvm iwi-aom- 4.00m                                                  /dev/sdb1(1536)
  [root_mlog_mimage_1] lvgrptstnlvm iwi-aom- 4.00m                                                  /dev/sdb1(1537)

root@debian:/home/user# pvs -a -o+devices,pv_pe_count,pv_pe_alloc_count
  PV                     VG           Fmt  Attr PSize PFree Devices         PE   Alloc
  /dev/loop0                               ---     0     0                     0     0
  /dev/lvgrptstnlvm/root                   ---     0     0                     0     0
  /dev/sda1              lvgrptstnlvm lvm2 a--  9.00g 3.00g /dev/sda1(0)    2303  1536
  /dev/sda1              lvgrptstnlvm lvm2 a--  9.00g 3.00g                 2303  1536
  /dev/sdb1              lvgrptstnlvm lvm2 a--  7.07g 1.06g /dev/sdb1(0)    1809  1538
  /dev/sdb1              lvgrptstnlvm lvm2 a--  7.07g 1.06g /dev/sdb1(1536) 1809  1538
  /dev/sdb1              lvgrptstnlvm lvm2 a--  7.07g 1.06g /dev/sdb1(1537) 1809  1538
  /dev/sdb1              lvgrptstnlvm lvm2 a--  7.07g 1.06g                 1809  1538

Might this be for devs' attention?

Alex
_______________________________________________
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