All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] LVM Mirroring
@ 2009-03-06 17:34 Senthil Kumar
  2009-04-22  8:34 ` Marian Csontos
  0 siblings, 1 reply; 9+ messages in thread
From: Senthil Kumar @ 2009-03-06 17:34 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 255 bytes --]

Hi All,

Is it Possible to create LVM mirroring with out using RAID
If possible can u send related document or URL.
Thanks in  Advance.

Senthilkumar.C


      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/

[-- Attachment #2: Type: text/html, Size: 577 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [linux-lvm] LVM mirroring..
@ 2009-02-04 18:42 Prateek Donni
  2009-02-06 13:51 ` Curtis Doty
  0 siblings, 1 reply; 9+ messages in thread
From: Prateek Donni @ 2009-02-04 18:42 UTC (permalink / raw)
  To: LVM general discussion and development

I have been trying to make use of LVM mirroring to create a data
protection application , i tried configuring it on two disks but it
does not work w/o using --corelog. And secondly i cannot see the
volume which is the mirror using lvscan , but can only be seen in the
GUI.

Kindly help me with this..

Thanks,
 Prateek

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [linux-lvm] lvm mirroring
@ 2003-02-22 10:41 Roman Gavrilov
  2003-02-25  9:32 ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 9+ messages in thread
From: Roman Gavrilov @ 2003-02-22 10:41 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 2204 bytes --]

Hello,

I have 2 physical discs.
I have 4 partitions on the first disk. 
I created a volume group "lvmhd" from all of the partitions and later created logical volumes.

this is the result from the vgdisplay
--- Volume group ---
VG Name               lvmhd
VG Access             read/write
VG Status             available/resizable
VG #                  0
MAX LV                256
Cur LV                3
Open LV               3
MAX LV Size           2 TB
Max PV                256
Cur PV                4
Act PV                4
VG Size               35.59 GB
PE Size               32 MB
Total PE              1139
Alloc PE / Size       1131 / 35.34 GB
Free  PE / Size       8 / 256 MB
VG UUID               xqamqE-9gSs-Xy3O-2tVQ-wYzy-Cp3u-0Wivbd

and those are the logical volumes
/dev/lvmhd/lvm_usr    3.0G  980M  1.8G  35% /usr
/dev/lvmhd/lvm_var    4.9G   65M  4.6G   2% /var
/dev/lvmhd/lvm_home    27G   33M   25G   1% /home

later I mirrored the first disk to the second disk with dd if=/dev/hda of=/dev/hdb so if the first disk breaks I can remove it and replace it with the second disk and get the server up in minutes.

Now I want to be able to use the second disk while I am running from the first. But the volume groups are the same and I am afraid that if I will recreate the logical volumes I'll ruin some thing on the second disk.
Is there anything I can do about it so I could use the second disk for backups but still have the same architecture as the primary disk ?
is there any way to mount those logical volumes which are mirrors of the primary disk ?
for example I can do 
pvdisplay /dev/hdb3 (this is the slave disk which is the mirror of the primary and its not mounted)
--- Physical volume ---
PV Name               /dev/hdb3
VG Name               lvmhd
PV Size               13.67 GB [28676025 secs] / NOT usable 32.19 MB [LVM: 129 KB]
PV#                   1
PV Status             available
Allocatable           yes (but full)
Cur LV                3
PE Size (KByte)       32768
Total PE              436
Free PE               0
Allocated PE          436
PV UUID               5XenPH-2NLb-cmN0-qEBb-QGuJ-zWxv-otMr7i

thanks

[-- Attachment #2: Type: text/html, Size: 5484 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [linux-lvm] lvm mirroring
@ 2000-01-21 14:32 Sebastian Tomac
  2000-01-21 15:01 ` Heinz J. Mauelshagen
  0 siblings, 1 reply; 9+ messages in thread
From: Sebastian Tomac @ 2000-01-21 14:32 UTC (permalink / raw)
  To: linux-lvm

Correct me if I'm wrong, but if I read the LVM-0.8 code right there is
no mirroring  implemented.  Both AIX and Solaris lvm has mirroring
capabilities (sk. lv copies).

If there is interest to enable this feature in LVM, I  would be prepared
to start working on it.

Let me know...

regards
Sebastian

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

end of thread, other threads:[~2009-04-22 10:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-06 17:34 [linux-lvm] LVM Mirroring Senthil Kumar
2009-04-22  8:34 ` Marian Csontos
2009-04-22 10:18   ` Bryn M. Reeves
  -- strict thread matches above, loose matches on Subject: below --
2009-02-04 18:42 [linux-lvm] LVM mirroring Prateek Donni
2009-02-06 13:51 ` Curtis Doty
2003-02-22 10:41 [linux-lvm] lvm mirroring Roman Gavrilov
2003-02-25  9:32 ` Heinz J . Mauelshagen
2000-01-21 14:32 Sebastian Tomac
2000-01-21 15:01 ` Heinz J. Mauelshagen

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.