[linux-lvm] Error setting up a mirrored lv

Laurenz, Dirk Dirk.Laurenz at fujitsu-siemens.com
Thu Jul 13 12:47:56 UTC 2006


Hi,


>> -----Original Message-----
>> From: linux-lvm-bounces at redhat.com 
>> [mailto:linux-lvm-bounces at 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 at fujitsu-siemens.com
Internet:	http://www.fujitsu-siemens.com






More information about the linux-lvm mailing list