* [linux-lvm] Error setting up a mirrored lv
@ 2006-07-13 12:07 Laurenz, Dirk
2006-07-13 12:47 ` Laurenz, Dirk
2006-07-18 19:16 ` Harik A'ttar
0 siblings, 2 replies; 8+ messages in thread
From: Laurenz, Dirk @ 2006-07-13 12:07 UTC (permalink / raw)
To: LVM general discussion and development
Hi,
i'm doing this:
>> hgest3301:~/LVM2.2.02.06 # lvcreate -m1 -n lvmirror -L 10G
>> vgtest /dev/dm-55 /dev/dm-56
>> Not enough PVs with free space available for parallel allocation.
>> Consider --alloc anywhere if desperate.
here are the pvs?
>> hgest3301:~/LVM2.2.02.06 # pvs
>> PV VG Fmt Attr PSize PFree
>> /dev/dm-10 vgAGEST004 lvm2 a- 49.94G 25.94G
>> /dev/dm-11 vgHGEST3901 lvm2 a- 49.94G 0
>> /dev/dm-12 ehltest lvm2 a- 25.00G 22.00G
>> /dev/dm-13 vgtest lvm2 a- 24.94G 24.94G
>> /dev/dm-55 vgtest lvm2 a- 99.94G 99.94G
>> /dev/dm-56 vgtest lvm2 a- 99.94G 99.94G
>> /dev/dm-8 vgAGEST002 lvm2 a- 49.94G 45.94G
>> /dev/dm-9 vgAGEST003 lvm2 a- 49.94G 43.94G
>> /dev/sda8 vgOS lvm2 a- 20.00G 3.00G
>> /dev/sda9 vgBOTEST lvm2 a- 111.25G 15.25G
what's wrong?
Is there any documentation out there?
Why do we need three pvs? for a mirror?
Are there any other options?
Mit freundlichem Gruss,
Dirk Laurenz
Systems Engineer
S DE SE PS N/O
Fujitsu Siemens Computers GmbH
Hildesheimer Strasse 25
30880 Laatzen
Germany
Telephone: +49 511 84 89 18 08
Telefax: +49 511 84 89 25 18 08
Mobile: +49 170 22 10 78 1
Email: mailto: dirk.laurenz@fujitsu-siemens.com
Internet: http://www.fujitsu-siemens.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [linux-lvm] Error setting up a mirrored lv
2006-07-13 12:07 [linux-lvm] Error setting up a mirrored lv Laurenz, Dirk
@ 2006-07-13 12:47 ` Laurenz, Dirk
2006-07-18 19:16 ` Harik A'ttar
1 sibling, 0 replies; 8+ messages in thread
From: Laurenz, Dirk @ 2006-07-13 12:47 UTC (permalink / raw)
To: LVM general discussion and development
Hi,
>> -----Original Message-----
>> From: linux-lvm-bounces@redhat.com
>> [mailto:linux-lvm-bounces@redhat.com] On Behalf Of Laurenz, Dirk
>> Sent: Thursday, July 13, 2006 2:08 PM
>> To: LVM general discussion and development
>> Subject: [linux-lvm] Error setting up a mirrored lv
>>
>> Hi,
>>
>> i'm doing this:
>>
>> >> hgest3301:~/LVM2.2.02.06 # lvcreate -m1 -n lvmirror -L 10G
>> >> vgtest /dev/dm-55 /dev/dm-56
>> >> Not enough PVs with free space available for parallel
>> allocation.
>> >> Consider --alloc anywhere if desperate.
>>
>> here are the pvs?
>>
>> >> hgest3301:~/LVM2.2.02.06 # pvs
>> >> PV VG Fmt Attr PSize PFree
>> >> /dev/dm-10 vgAGEST004 lvm2 a- 49.94G 25.94G
>> >> /dev/dm-11 vgHGEST3901 lvm2 a- 49.94G 0
>> >> /dev/dm-12 ehltest lvm2 a- 25.00G 22.00G
>> >> /dev/dm-13 vgtest lvm2 a- 24.94G 24.94G
>> >> /dev/dm-55 vgtest lvm2 a- 99.94G 99.94G
>> >> /dev/dm-56 vgtest lvm2 a- 99.94G 99.94G
>> >> /dev/dm-8 vgAGEST002 lvm2 a- 49.94G 45.94G
>> >> /dev/dm-9 vgAGEST003 lvm2 a- 49.94G 43.94G
>> >> /dev/sda8 vgOS lvm2 a- 20.00G 3.00G
>> >> /dev/sda9 vgBOTEST lvm2 a- 111.25G 15.25G
>>
what i found out was, that /dev/dm-13 was missing.
Know i have a question about the behaviour:
I have two luns from to different storage systems via dm multipath
Lets say 50 GB each. Now i want to mirror them.
Should i use dmraid or dmmirror?
How can i find out in which state the lvs are?
How does the system behave like, when a lun is missing?
If a want to switch a vg, is a vgchange -an on host a sufficient?
As u can see, there are many questions.
Mit freundlichem Gruss,
Dirk Laurenz
Systems Engineer
S DE SE PS N/O
Fujitsu Siemens Computers GmbH
Hildesheimer Strasse 25
30880 Laatzen
Germany
Telephone: +49 511 84 89 18 08
Telefax: +49 511 84 89 25 18 08
Mobile: +49 170 22 10 78 1
Email: mailto: dirk.laurenz@fujitsu-siemens.com
Internet: http://www.fujitsu-siemens.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] Error setting up a mirrored lv
2006-07-13 12:07 [linux-lvm] Error setting up a mirrored lv Laurenz, Dirk
2006-07-13 12:47 ` Laurenz, Dirk
@ 2006-07-18 19:16 ` Harik A'ttar
2006-07-18 22:51 ` Luca Berra
1 sibling, 1 reply; 8+ messages in thread
From: Harik A'ttar @ 2006-07-18 19:16 UTC (permalink / raw)
To: LVM general discussion and development
Laurenz, Dirk wrote:
> Hi,
>
> i'm doing this:
>
>>> hgest3301:~/LVM2.2.02.06 # lvcreate -m1 -n lvmirror -L 10G
>>> vgtest /dev/dm-55 /dev/dm-56
>>> Not enough PVs with free space available for parallel allocation.
>>> Consider --alloc anywhere if desperate.
>
> what's wrong?
> Is there any documentation out there?
> Why do we need three pvs? for a mirror?
> Are there any other options?
As you noticed, you need a log partition. dm-mirror is a bit smarter
then the basic MD raid1 in that it uses a log disk to keep track of
write completions for synchronization. I've only recently got a kernel
that supports modern mirror, but it looks like the log file sticks at a
single extent even with a 20gb mirror (all my free space).
Is there a reason that the mirror is on a separate volume rather then a
serialized metadata chunk at the end of each? Just for seektime
performance reasons?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] Error setting up a mirrored lv
2006-07-18 19:16 ` Harik A'ttar
@ 2006-07-18 22:51 ` Luca Berra
2006-07-19 10:15 ` Laurenz, Dirk
0 siblings, 1 reply; 8+ messages in thread
From: Luca Berra @ 2006-07-18 22:51 UTC (permalink / raw)
To: linux-lvm
On Tue, Jul 18, 2006 at 03:16:13PM -0400, Harik A'ttar wrote:
>As you noticed, you need a log partition. dm-mirror is a bit smarter
>then the basic MD raid1 in that it uses a log disk to keep track of
>write completions for synchronization. I've only recently got a kernel
Just for fairness, modern md also supports bitmaps either on a different
device or inside the md components for this very purpose.
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [linux-lvm] Error setting up a mirrored lv
2006-07-18 22:51 ` Luca Berra
@ 2006-07-19 10:15 ` Laurenz, Dirk
2006-07-19 12:25 ` Denny Schierz
0 siblings, 1 reply; 8+ messages in thread
From: Laurenz, Dirk @ 2006-07-19 10:15 UTC (permalink / raw)
To: LVM general discussion and development
so, what is the best way to mirror storage?
lvm ontop of multipath and mirrored lvs or
lvm ontop of md ontop of multipath
Mit freundlichem Gruss,
Dirk Laurenz
Systems Engineer
S DE SE PS N/O
Fujitsu Siemens Computers GmbH
Hildesheimer Strasse 25
30880 Laatzen
Germany
Telephone: +49 511 84 89 18 08
Telefax: +49 511 84 89 25 18 08
Mobile: +49 170 22 10 78 1
Email: mailto: dirk.laurenz@fujitsu-siemens.com
Internet: http://www.fujitsu-siemens.com
>> -----Original Message-----
>> From: linux-lvm-bounces@redhat.com
>> [mailto:linux-lvm-bounces@redhat.com] On Behalf Of Luca Berra
>> Sent: Wednesday, July 19, 2006 12:52 AM
>> To: linux-lvm@redhat.com
>> Subject: Re: [linux-lvm] Error setting up a mirrored lv
>>
>> On Tue, Jul 18, 2006 at 03:16:13PM -0400, Harik A'ttar wrote:
>> >As you noticed, you need a log partition. dm-mirror is a
>> bit smarter
>> >then the basic MD raid1 in that it uses a log disk to keep track of
>> >write completions for synchronization. I've only recently
>> got a kernel
>> Just for fairness, modern md also supports bitmaps either on
>> a different
>> device or inside the md components for this very purpose.
>>
>> L.
>>
>> --
>> Luca Berra -- bluca@comedia.it
>> Communication Media & Services S.r.l.
>> /"\
>> \ / ASCII RIBBON CAMPAIGN
>> X AGAINST HTML MAIL
>> / \
>>
>> _______________________________________________
>> 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/
>>
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [linux-lvm] Error setting up a mirrored lv
2006-07-19 10:15 ` Laurenz, Dirk
@ 2006-07-19 12:25 ` Denny Schierz
2006-07-20 12:29 ` Laurenz, Dirk
0 siblings, 1 reply; 8+ messages in thread
From: Denny Schierz @ 2006-07-19 12:25 UTC (permalink / raw)
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 485 bytes --]
hi,
Am Mittwoch, den 19.07.2006, 12:15 +0200 schrieb Laurenz, Dirk:
> so, what is the best way to mirror storage?
>
> lvm ontop of multipath and mirrored lvs or
> lvm ontop of md ontop of multipath
in most cases i prefer lvm ontop of md devices, cause for better
handling and it works with every setup and distribution.
cu denny
--
Sicherheit verständlich http://www.sides.de
GnuPG Key
http://pgpkeys.pca.dfn.de:11371/pks/lookup?op=get&search=0x2A5CE192AB7D3FE0
[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [linux-lvm] Error setting up a mirrored lv
2006-07-19 12:25 ` Denny Schierz
@ 2006-07-20 12:29 ` Laurenz, Dirk
2006-07-20 13:49 ` Kelly Sauke
0 siblings, 1 reply; 8+ messages in thread
From: Laurenz, Dirk @ 2006-07-20 12:29 UTC (permalink / raw)
To: LVM general discussion and development
Hi,
>>
>> in most cases i prefer lvm ontop of md devices, cause for better
>> handling and it works with every setup and distribution.
>>
does md work ontop of multipathd?=
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] Error setting up a mirrored lv
2006-07-20 12:29 ` Laurenz, Dirk
@ 2006-07-20 13:49 ` Kelly Sauke
0 siblings, 0 replies; 8+ messages in thread
From: Kelly Sauke @ 2006-07-20 13:49 UTC (permalink / raw)
To: LVM general discussion and development
Laurenz, Dirk wrote:
> Hi,
>
>
>>> in most cases i prefer lvm ontop of md devices, cause for better
>>> handling and it works with every setup and distribution.
>>>
>>>
> does md work ontop of multipathd?=
>
yes.
> _______________________________________________
> 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/
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-07-20 13:49 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-13 12:07 [linux-lvm] Error setting up a mirrored lv Laurenz, Dirk
2006-07-13 12:47 ` Laurenz, Dirk
2006-07-18 19:16 ` Harik A'ttar
2006-07-18 22:51 ` Luca Berra
2006-07-19 10:15 ` Laurenz, Dirk
2006-07-19 12:25 ` Denny Schierz
2006-07-20 12:29 ` Laurenz, Dirk
2006-07-20 13:49 ` Kelly Sauke
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).