* [linux-lvm] Ambiguous mirror log option
@ 2009-09-18 13:07 brem belguebli
2009-09-18 13:08 ` [linux-lvm] " brem belguebli
0 siblings, 1 reply; 3+ messages in thread
From: brem belguebli @ 2009-09-18 13:07 UTC (permalink / raw)
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
Hi,
I've been struggling with lvcreate for more than a hour to create a
mirror'ed LV with on disk log, with no success (I'm ashamed! :-| )
Here's what I typed on a VG (with 2 X 8678 4MB extents free), it's not a
free space issue...
lvcreate -m1 --mirrorlog disk -L 9G -n lvolvm1 VMVG, it complains about
2304 more extents required (wich make the exact size of the LV I want to
create), plus where to define the log device to use ?
same command whith --corelog (instead of --mirrorlog disk) succeeds.
Same command without any of these 2 options fails with the same complain as
the first (man page says that default no option == mirrolog disk).
Any tip ?
Regards
[-- Attachment #2: Type: text/html, Size: 893 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [linux-lvm] Re: Ambiguous mirror log option
2009-09-18 13:07 [linux-lvm] Ambiguous mirror log option brem belguebli
@ 2009-09-18 13:08 ` brem belguebli
2009-09-18 14:21 ` brem belguebli
0 siblings, 1 reply; 3+ messages in thread
From: brem belguebli @ 2009-09-18 13:08 UTC (permalink / raw)
To: LVM general discussion and development; +Cc: brem belguebli
[-- Attachment #1: Type: text/plain, Size: 790 bytes --]
Running x86_64 RHEL 5u4
2009/9/18, brem belguebli <brem.belguebli@gmail.com>:
>
> Hi,
>
> I've been struggling with lvcreate for more than a hour to create a
> mirror'ed LV with on disk log, with no success (I'm ashamed! :-| )
>
>
> Here's what I typed on a VG (with 2 X 8678 4MB extents free), it's not a
> free space issue...
>
> lvcreate -m1 --mirrorlog disk -L 9G -n lvolvm1 VMVG, it complains about
> 2304 more extents required (wich make the exact size of the LV I want to
> create), plus where to define the log device to use ?
>
> same command whith --corelog (instead of --mirrorlog disk) succeeds.
>
> Same command without any of these 2 options fails with the same complain
> as the first (man page says that default no option == mirrolog disk).
>
> Any tip ?
>
> Regards
>
[-- Attachment #2: Type: text/html, Size: 1212 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [linux-lvm] Re: Ambiguous mirror log option
2009-09-18 13:08 ` [linux-lvm] " brem belguebli
@ 2009-09-18 14:21 ` brem belguebli
0 siblings, 0 replies; 3+ messages in thread
From: brem belguebli @ 2009-09-18 14:21 UTC (permalink / raw)
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 1122 bytes --]
Got the right doc,
the log device MUST belong to the VG, it cannot be an external device, it is
specified as thrid device vhen creating the LV:
lvcreate -m1 --mirrorlog disk -L 9G -n lvolvm1 VMVG /dev/firstleg
/dev/secondleg /dev/log...
2009/9/18, brem belguebli <brem.belguebli@gmail.com>:
>
> Running x86_64 RHEL 5u4
>
> 2009/9/18, brem belguebli <brem.belguebli@gmail.com>:
>>
>> Hi,
>>
>> I've been struggling with lvcreate for more than a hour to create a
>> mirror'ed LV with on disk log, with no success (I'm ashamed! :-| )
>>
>>
>> Here's what I typed on a VG (with 2 X 8678 4MB extents free), it's not a
>> free space issue...
>>
>> lvcreate -m1 --mirrorlog disk -L 9G -n lvolvm1 VMVG, it complains about
>> 2304 more extents required (wich make the exact size of the LV I want to
>> create), plus where to define the log device to use ?
>>
>> same command whith --corelog (instead of --mirrorlog disk) succeeds.
>>
>> Same command without any of these 2 options fails with the same complain
>> as the first (man page says that default no option == mirrolog disk).
>>
>> Any tip ?
>>
>> Regards
>>
>
>
[-- Attachment #2: Type: text/html, Size: 1966 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-09-18 14:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-18 13:07 [linux-lvm] Ambiguous mirror log option brem belguebli
2009-09-18 13:08 ` [linux-lvm] " brem belguebli
2009-09-18 14:21 ` brem belguebli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).