HP-UX

김병수님 좀 봐주세요.

 
주낙권
조언자

김병수님 좀 봐주세요.

항상 답변 감사드립니다.



Mirror관련 질문 드렸던 사람인데요.

가르쳐 주신 대로 명령을 실행했더니 다음과 같이 나오네요.



# swlist -l fileset |grep -i mirror

LVM.LVM-MIRROR-RUN B.11.23 LVM Mirror

PHCO_31709.LVM-MIRROR-RUN 1.0 LVM.LVM-MIRROR-RUN



위 결과물에서 LVM.LVM-MIRROR-RUN은 무슨 소프트웨어인지요?



OS는 11i v2 Foundation OE (May, 2005) 입니다.

1 응답 1
김병수
본과생

김병수님 좀 봐주세요.

itrc에 아래의 내용이 있습니다.



참조하시기 바랍니다.



MIRROR/UX: Determine If MirrorDisk/UX Is Installed (10.X / 11.X) DocId: KBAN00000249 Updated: 20030117



DOCUMENT

To see if MirrorDisk/UX is installed and configured, enter (on the command

line):



swlist -l fileset -a state | grep -i mir



On both 10.X and 11.X systems, the result should be:



LVM.LVM-MIRROR-RUN configured



Another way of confirming that MirrorDisk/UX is installed on the machine is to

run the command "what" on an LVM binary. Since the binary "lvextend" is used

to create mirroring, enter:



what /usr/sbin/lvextend



The following will be displayed if MirrorDisk/UX is installed:



$Revision: 82.26.1.9.1.31 $ MIRROR PRODUCT



Example:



Following is a vgdisplay of VG03. In this case, /dev/vg03/lvol1 is mirrored:



/usr/sbin/vgdisplay -v vg03



--- Volume groups ---

VG Name /dev/vg03

VG Write Access read/write

VG Status available

Max LV 255

Cur LV 1

Open LV 1

Max PV 16

Cur PV 2

Act PV 2

Max PE per PV 2034

VGDA 4

PE Size (Mbytes) 1

Total PE 4064

Alloc PE 3000

Free PE 1064

Total PVG 1

Total Spare PVs 0

Total Spare PVs in use 0



--- Logical volumes ---

LV Name /dev/vg03/lvol1

LV Status available

LV Size (Mbytes) 1500

Current LE 1500

Allocated PE 3000 <- double the number of

Used PV 2 total extents, includes

both primary and secondary

physical volumes



--- Physical volumes ---

PV Name /dev/dsk/c0t14d0 <-Primary PV

PV Status available

Total PE 2032

Free PE 532



PV Name /dev/dsk/c0t15d0 <-Secondary PV

PV Status available (mirror)

Total PE 2032

Free PE 532





--- Physical volume groups ---

PVG Name pv03

PV Name /dev/dsk/c0t14d0

PV Name /dev/dsk/c0t15d0







To confirm that a logical volume has been correctly configured for mirroring,

enter:



(In this example, lvol1 of vg03 has been mirrored)



/usr/sbin/lvdisplay -v /dev/vg03/lvol1



The result should be:



--- Logical volumes ---

LV Name /dev/vg03/lvol1

VG Name /dev/vg03

LV Permission read/write

LV Status available

Mirror copies 1 <- shows one mirror

Consistency Recovery NONE

Schedule parallel

LV Size (Mbytes) 1500

Current LE 1500

Allocated PE 3000

Stripes 0

Stripe Size (Kbytes) 0

Bad block on

Allocation strict

IO Timeout (Seconds) default



--- Distribution of logical volume ---

PV Name LE on PV PE on PV

/dev/dsk/c0t14d0 1500 1500

/dev/dsk/c0t15d0 1500 1500



--- Logical extents ---

LE PV1 PE1 Status 1 PV2 PE2 Status 2

0000 /dev/dsk/c0t14d0 0000 current /dev/dsk/c0t15d0 0000 current

0001 /dev/dsk/c0t14d0 0001 current /dev/dsk/c0t15d0 0001 current

0002 /dev/dsk/c0t14d0 0002 current /dev/dsk/c0t15d0 0002 current

0003 /dev/dsk/c0t14d0 0003 current /dev/dsk/c0t15d0 0003 current

0004 /dev/dsk/c0t14d0 0004 current /dev/dsk/c0t15d0 0004 current

0005 /dev/dsk/c0t14d0 0005 current /dev/dsk/c0t15d0 0005 current

0006 /dev/dsk/c0t14d0 0006 current /dev/dsk/c0t15d0 0006 current

0007 /dev/dsk/c0t14d0 0007 current /dev/dsk/c0t15d0 0007 current

0008 /dev/dsk/c0t14d0 0008 current /dev/dsk/c0t15d0 0008 current

0009 /dev/dsk/c0t14d0 0009 current /dev/dsk/c0t15d0 0009 current

0010 /dev/dsk/c0t14d0 0010 current /dev/dsk/c0t15d0 0010 current



Primary Volume Secondary Volume



(Extents 11 through 1489 are not shown)



1490 /dev/dsk/c0t14d0 1490 current /dev/dsk/c0t15d0 1490 current

1491 /dev/dsk/c0t14d0 1491 current /dev/dsk/c0t15d0 1491 current

1492 /dev/dsk/c0t14d0 1492 current /dev/dsk/c0t15d0 1492 current

1493 /dev/dsk/c0t14d0 1493 current /dev/dsk/c0t15d0 1493 current

1494 /dev/dsk/c0t14d0 1494 current /dev/dsk/c0t15d0 1494 current

1495 /dev/dsk/c0t14d0 1495 current /dev/dsk/c0t15d0 1495 current

1496 /dev/dsk/c0t14d0 1496 current /dev/dsk/c0t15d0 1496 current

1497 /dev/dsk/c0t14d0 1497 current /dev/dsk/c0t15d0 1497 current

1498 /dev/dsk/c0t14d0 1498 current /dev/dsk/c0t15d0 1498 current

1499 /dev/dsk/c0t14d0 1499 current /dev/dsk/c0t15d0 1499 current





그럼~~~