All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG-REPORT] mirror legs in the same PV with --alloc anywhere
@ 2010-04-15 21:13 Takahiro Yasui
  2010-04-15 22:03 ` Alasdair G Kergon
  0 siblings, 1 reply; 19+ messages in thread
From: Takahiro Yasui @ 2010-04-15 21:13 UTC (permalink / raw)
  To: lvm-devel

Alasdair,

I tested the latest lvm2 and found that mirror legs were allocated
in the same PV when "--alloc anywhere" was specified. This happens
for mirrored log as well.

# /sbin/lvm.static version
  LVM version:     2.02.64(1)-cvs (2010-04-14)
  Library version: 1.02.47-cvs (2010-04-14)
  Driver version:  4.11.5
# pvs
  PV         VG   Fmt  Attr PSize  PFree
  /dev/sdc   vg00 lvm2 a-   16.00G 16.00G
  /dev/sdd   vg00 lvm2 a-   16.00G 16.00G
# lvcreate -m1 -L12m -nlv00 --mirrorlog disk --alloc anywhere vg00
  Logical volume "lv00" created
# dmsetup ls --tree
vg00-lv00 (253:3)
 |-vg00-lv00_mimage_1 (253:2)
 |  `- (8:32)
 |-vg00-lv00_mimage_0 (253:1)
 |  `- (8:32)
 `-vg00-lv00_mlog (253:0)
    `- (8:48)

The workaround in this case is to create a mirror device with a core
log, and then to convert it to a mirror with a disk log.

Is "--alloc anywhere" feature still under development? Or is this a
new behavior?

Thanks,
Taka



^ permalink raw reply	[flat|nested] 19+ messages in thread
* [BUG-REPORT] mirror legs in the same PV with --alloc anywhere
@ 2010-04-23 20:01 Josh Moyer
  0 siblings, 0 replies; 19+ messages in thread
From: Josh Moyer @ 2010-04-23 20:01 UTC (permalink / raw)
  To: lvm-devel



-----Original Message-----
From: Takahiro Yasui <tyasui@redhat.com>
Sent: April 23, 2010 12:47 PM
To: lvm-devel@redhat.com <lvm-devel@redhat.com>
Subject: Re: [lvm-devel] [BUG-REPORT] mirror legs in the same PV with --alloc anywhere


On 04/23/10 17:09, brem belguebli wrote:
> On Fri, 2010-04-23 at 14:54 -0400, Takahiro Yasui wrote:
>> On 04/23/10 12:01, brem belguebli wrote:
>>> I've read in the RHEL 5.5 technical datasheet that the shipped LVM
>>> version 2.02.56 was alraedy capable of mirrored log.
>>
>> As far as I see lvm2 code, I don't think lvm2 in RHEL5.5 has
>> mirrored log feature. I'm not sure which document you referred to.
>> Could you tell me the exact name of "RHEL 5.5 technical datasheet"?
>
> http://www.redhat.com/f/pdf/rhel/RHEL_5_5_TechOverview_wp_web.pdf
> page 4, LVM
>
> " LVM ??? the Logical Volume Management storage suite has been augmented
> to provide hot sparing
>  for mirror journals, enabling automatic replacement or removal of
> failed logging devices.
> "

Thanks for the information, but I am not sure if this sentence is
telling 'mirrored log.' What I can say is the lvm2-2.02.56-8 doesn't
have 'mirrored log' feature. I hope someone may give you a explanation...

Thanks,
Taka

--
lvm-devel mailing list
lvm-devel at redhat.com
https://www.redhat.com/mailman/listinfo/lvm-devel



^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2010-05-06  1:44 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-15 21:13 [BUG-REPORT] mirror legs in the same PV with --alloc anywhere Takahiro Yasui
2010-04-15 22:03 ` Alasdair G Kergon
2010-04-16 15:19   ` Takahiro Yasui
2010-04-16 16:07     ` Alasdair G Kergon
2010-04-16 18:22       ` Takahiro Yasui
2010-04-16 18:42         ` Alasdair G Kergon
2010-04-16 18:50         ` malahal
2010-04-16 19:06           ` Alasdair G Kergon
2010-04-17  9:15     ` brem belguebli
2010-04-21 15:18       ` Takahiro Yasui
2010-04-21 17:36         ` brem belguebli
2010-04-23 16:01           ` brem belguebli
2010-04-23 18:54             ` Takahiro Yasui
2010-04-23 21:09               ` brem belguebli
2010-04-23 19:49                 ` Takahiro Yasui
2010-05-05 14:13                   ` Petr Rockai
2010-05-05 14:35                     ` Malahal Naineni
2010-05-06  1:44                     ` brem belguebli
  -- strict thread matches above, loose matches on Subject: below --
2010-04-23 20:01 Josh Moyer

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.