<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1255">
<META content="MSHTML 6.00.2722.900" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have 2 physical discs.</FONT></DIV>
<DIV><FONT face=Arial size=2>I have 4 partitions on the first disk.
</FONT></DIV>
<DIV><FONT face=Arial size=2>I created a volume group "lvmhd" from all of the
partitions and later created logical volumes.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>this is the result from the vgdisplay</FONT></DIV>
<DIV><FONT face=Arial size=2>--- Volume group ---<BR>VG
Name
lvmhd<BR>VG
Access
read/write<BR>VG
Status
available/resizable<BR>VG
#
0<BR>MAX
LV
256<BR>Cur
LV
3<BR>Open
LV
3<BR>MAX LV Size 2
TB<BR>Max
PV
256<BR>Cur
PV
4<BR>Act
PV
4<BR>VG
Size
35.59 GB<BR>PE
Size
32 MB<BR>Total
PE
1139<BR>Alloc PE / Size 1131 / 35.34
GB<BR>Free PE / Size 8 / 256 MB<BR>VG
UUID
xqamqE-9gSs-Xy3O-2tVQ-wYzy-Cp3u-0Wivbd<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>and those are the logical volumes</FONT></DIV>
<DIV><FONT face=Arial size=2>/dev/lvmhd/lvm_usr 3.0G
980M 1.8G 35% /usr<BR>/dev/lvmhd/lvm_var
4.9G 65M 4.6G 2%
/var<BR>/dev/lvmhd/lvm_home 27G 33M
25G 1% /home<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2>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 ?</FONT></DIV>
<DIV><FONT face=Arial size=2>is there any way to mount those logical volumes
which are mirrors of the primary disk ?</FONT></DIV>
<DIV><FONT face=Arial size=2>for example I can do </FONT></DIV>
<DIV><FONT face=Arial size=2>pvdisplay /dev/hdb3 (this is the slave disk which
is the mirror of the primary and its not mounted)<BR>--- Physical volume
---<BR>PV
Name
/dev/hdb3<BR>VG
Name
lvmhd<BR>PV
Size
13.67 GB [28676025 secs] / NOT usable 32.19 MB [LVM: 129
KB]<BR>PV#
1<BR>PV
Status
available<BR>Allocatable
yes (but full)<BR>Cur
LV
3<BR>PE Size (KByte) 32768<BR>Total
PE
436<BR>Free
PE
0<BR>Allocated PE
436<BR>PV
UUID
5XenPH-2NLb-cmN0-qEBb-QGuJ-zWxv-otMr7i<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>thanks</DIV></FONT></FONT></DIV></BODY></HTML>