HP-UX
1752369 회원
5809 온라인
108787 솔루션
새 메시지

mirror깨짐....

 
손창헌
조언자

mirror깨짐....

수고하십니다.

o/s mirror가 구성이 되었있었는데 mirror구성이 깨진것 같습니다.

내용은 아래와 같습니다.



--- Distribution of logical volume ---

PV Name LE on PV PE on PV

/dev/dsk/c2t1d0s2 938 938



--- Logical extents ---

LE PV1 PE1 Status 1

00000 /dev/dsk/c2t1d0s2 01032 current

00001 /dev/dsk/c2t1d0s2 01033 current

00002 /dev/dsk/c2t1d0s2 01034 current

00003 /dev/dsk/c2t1d0s2 01035 current

00004 /dev/dsk/c2t1d0s2 01036 current

00005 /dev/dsk/c2t1d0s2 01037 current

00006 /dev/dsk/c2t1d0s2 01038 current

00007 /dev/dsk/c2t1d0s2 01039 current

00008 /dev/dsk/c2t1d0s2 01040 current

00009 /dev/dsk/c2t1d0s2 01041 current

00010 /dev/dsk/c2t1d0s2 01042 current

00011 /dev/dsk/c2t1d0s2 01043 current

00012 /dev/dsk/c2t1d0s2 01044 current

mp1:/] strings /etc/lvmtab

/dev/vg00

/dev/dsk/c2t1d0s2

/dev/dsk/c2t0d0



syslog는 아래와 같구요..



eb 28 20:51:11 mp1 LVM: vgexport -p -m /tmp/RSM.27588.vg02 /dev/vg02

Feb 28 20:51:11 mp1 LVM: vgexport -p -m /tmp/RSM.27588.vg03 /dev/vg03

Feb 28 20:52:15 mp1 vmunix: 0/4/1/0: Unable to access previously accessed device at nport ID 0x10100.

Feb 28 23:51:00 mp1 LVM: vgexport -p -m /tmp/RSM.4503.vg00 /dev/vg00

Feb 28 23:51:00 mp1 LVM: vgexport -p -m /tmp/RSM.4503.vg02 /dev/vg02

Feb 28 23:51:00 mp1 LVM: vgexport -p -m /tmp/RSM.4503.vg03 /dev/vg03

Feb 28 23:58:46 mp1 vmunix: 0/4/1/0: Unable to access previously accessed device at nport ID 0x10100.

Feb 29 02:51:19 mp1 vmunix: 0/4/1/0: Unable to access previously accessed device at nport ID 0x10100.

Feb 29 02:51:19 mp1 LVM: vgexport -p -m /tmp/RSM.11272.vg00 /dev/vg00

Feb 29 02:51:19 mp1 LVM: vgexport -p -m /tmp/RSM.11272.vg02 /dev/vg02

Feb 29 02:51:19 mp1 LVM: vgexport -p -m /tmp/RSM.11272.vg03 /dev/vg03

Feb 29 02:52:23 mp1 vmunix: 0/4/1/0: Unable to access previously accessed device at nport ID 0x10100.

Feb 29 05:51:22 mp1 vmunix: 0/4/1/0: Unable to access previously accessed device at nport ID 0x10100.

Feb 29 05:51:22 mp1 LVM: vgexport -p -m /tmp/RSM.18038.vg00 /dev/vg00

Feb 29 05:51:22 mp1 LVM: vgexport -p -m /tmp/RSM.18038.vg02 /dev/vg02

Feb 29 05:51:22 mp1 LVM: vgexport -p -m /tmp/RSM.18038.vg03 /dev/vg03

Feb 29 05:52:27 mp1 EMS : ------ EMS Event Notification ------ Value: "CRITICAL (5)" for Resource: "/adapters/events/TL_adapter/0_4_1_0" (Threshold: >= " 3") Execute the following command to obtain event details: /opt/resmon/bin/resdata -R 233177093 -r /adapters/events/TL_adapter/0_4_1_0 -n 233177163 -a

Feb 29 05:52:27 mp1 vmunix: 0/4/1/0: Unable to access previously accessed device at nport ID 0x10100.

Feb 29 07:55:17 mp1 su: + 4 root-eai

Feb 29 07:56:35 mp1 su: + 4 root-jeus

Feb 29 08:51:22 mp1 vmunix: 0/4/1/0: Unable to access previously accessed device at nport ID 0x10100.

Feb 29 08:51:22 mp1 LVM: vgexport -p -m /tmp/RSM.25025.vg00 /dev/vg00

Feb 29 08:51:22 mp1 LVM: vgexport -p -m /tmp/RSM.25025.vg02 /dev/vg02

Feb 29 08:51:22 mp1 LVM: vgexport -p -m /tmp/RSM.25025.vg03 /dev/vg03

Feb 29 08:52:26 mp1 vmunix: 0/4/1/0: Unable to access previously accessed device at nport ID 0x10100.

Feb 29 10:01:10 mp1 ftpd: Data port : 20

Feb 29 10:01:10 mp1 ftpd: FTP server (Revision 1.1 Version wuftpd-2.6.1 Fri Jul 16 19:08:11 GMT 2004) ready.

Feb 29 10:01:10 mp1 ftpd: FTP LOGIN FROM 192.168.5.197 , jeus

Feb 29 10:04:37 mp1 ftpd: FTP session closed

Feb 29 10:38:24 mp1 su: + 3 root-root



log내용과 mirror깨진게 상관이 있는지 모르겠습니다.



복구를 해야야하는데 방법을 주시면 감사하겠습니다.







4 응답 4
고재진
중학생

mirror깨짐....

안녕하세요.

로그내용이 좀 이상하네요.



우선



00000 /dev/dsk/c2t1d0s2 01032 current



이부분으로 짐작컨데 미러가 되어있지 않습니다.

단순히 vgextend 만 걸어 놓은것 같네요.

미러가 걸려있으면 /dev/dsk/c2t0d0 정보와 stale 이라는 메세지가 있어야 됩니다.

그리고 syslog 에도 디스크가 깨졌다는 메세지는 없습니다.



Feb 29 08:52:26 mp1 vmunix: 0/4/1/0: Unable to access previously accessed device at nport ID 0x10100



ioscan 으로 0/4/1/0 부분의 디스크가 어떻게 보이는지 모르겠습니다.

혹시 controller나 fc카드를 바꾼적이 있으신지 궁금합니다.

위메세지는 컨트롤러쪽이나 fc 카드의 정보가 바뀌었을때 나오는 메세지입니다.



#fcmsutil /dev/fcd_ replce_dsk 0x10100

(fcd or td)



이렇게 하시면 에러는 없어질것 같습니다.
양계전
초등학생

mirror깨짐....

mp1:/] strings /etc/lvmtab

/dev/vg00

/dev/dsk/c2t1d0s2

/dev/dsk/c2t0d0



미러가 아닌듯 싶습니다



보통

/dev/vg00

/dev/dsk/c2t1d0s2

/dev/dsk/c2t0d0s2

이래야 맞습니다



0/4/1/0 쪽 hba path 쪽이 문제 있어 보입니다.





손창헌
조언자

mirror깨짐....

답변 감사합니다.

그럼 이 상태에서 미러 구성을 걸어주기만 하면 되는건가요?

그리고,fc 카드를 추가하거나 제거,이동 한적은 없었습니다.
고재진
중학생

mirror깨짐....

안녕하세요.



fc 카드로그는 아무 문제 없었다면 fcmsutil 명령어로 없애시면 됩니다. fc카드,san switch 포트, storage controller 등에서 문제(?)가 생겼을때 나옵니다.



제가 보기엔 미러는 다시거는게 좋을것 같습니다.

ia 서버는 미러거는게 조금 틀리니까..

제대로 걸려있는지 확인 하는 절차보다 다시거는게 좋을것 같네요.



vgreduce /dev/vg00 /dev/dsk/c2t0d0

vi /tmp/partitionfile

3

EFI 500MB

HPUX 100%

HPSP 400MB



idisk -wpf /tmp/partitionfile /dev/rdsk/c2t0d0

insf -e -Cdisk

efi_fsinit -d /dev/rdsk/c2t0d0s1

mkboot -e -l /dev/rdsk/c2t0d0

efi_ls -d /dev/rdsk/c2t0d0s1

lifls -l /dev/rdsk/c2t0d0s2

efi_cp -d /dev/rdsk/c2t0d0s1 -u /EFI/HPUX/AUTO /tmp/xfile

cat /tmp/xfile

mkboot -a "boot vmunix -lq" /dev/rdsk/c2t0d0

mkboot -a "boot vmunix -lq" /dev/rdsk/c2t1d0

dd if=/dev/rdsk/c2t1d0s3 of=/dev/rdsk/c2t0d0s3 bs=1024k

pvcreate -B -f /dev/rdsk/c2t0d0s2

vgextend /dev/vg00 /dev/dsk/c2t0d0s2

lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t0d0s2

lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c2t0d0s2

lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c2t0d0s2

lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c2t0d0s2

lvlnboot -R

lvlnboot -b /dev/vg00/lvol1

lvlnboot -s /dev/vg00/lvol2

lvlnboot -r /dev/vg00/lvol3

lvlnboot -d /dev/vg00/lvol2

setboot -a 0/1/1/0.0.0