HP-UX
1753547 회원
5481 온라인
108795 솔루션
새 메시지

[질문]make_recovery command error 발생

 
Tony, Lim
임시 조언자

[질문]make_recovery command error 발생

rp5470 HP-UX 11i 에 IBM의 8mm tape device를 연결하여서 make_recovery command를 수행하였습니다.



# mt -t /dev/rmt/3m status

Drive: EXABYTE IBM-8505

Format: 8mm Exabyte 8500 format compressed

Status: EOT online compression immediate-report-mode

File: 0

Block: 0



tape device 상태는 위 message 결과대로 나오구요.



# make_recovery -AC -d /dev/rmt/3m -v

NOTE : make_recovery(103): The make_recovery command will be replaced by make_tape_recovery. Both commands are supported in this release (Ignite-UX Revision 3.2). Please read the man page make_tape_recovery(1M) for usage of the new command. In a future release, make_recovery will be replaced by a script that calls make_tape_recovery.

Option -A specified. Entire Core Volume Group/disk will be backed up.





***************************************

HP-UX System Recovery

Validating append file

Done



File Systems on Core OS Disks/Volume Groups:



vg name = vg00

pv_name = /dev/dsk/c1t2d0

pv_name = /dev/dsk/c2t2d0



vg00 /dev/vg00/lvol3 /

vg00 /dev/vg00/GLOB /GLOB

vg00 /dev/vg00/HOME /HOME

vg00 /dev/vg00/lvol1 /stand



/opt is not a mounted directory

It is on the core device



/var is not a mounted directory

It is on the core device

Destination = /dev/rmt/3m

Boot LIF location = /var/tmp/uxinstlf.recovery







***************************************

Creating the configuration file.

Done

Modifying the configuration file.

Done

Backing up vg configurations

Volume Group vg00

Done

Creating the /var/opt/ignite/recovery/makrec.last file

Done

Going to create the tape.

Processing tape

Invoking instl_adm -T

Creating boot LIF

Done

Writing boot LIF to tape /dev/rmt/3mn

make_recovery(472): /usr/bin/dd failed,res=512,errno=9

Cleanup



상기와 같은 error가 나오면서 backup 수행이 안됩니다.

error의 원인이 먼지 알수있을까요 ?
8 응답 8
김병수
본과생

[질문]make_recovery command error 발생

ignite ux를 사용하여 bakcup를 받을경우

default device file은 no-rewind option를 사용해야 합니다.



위의 error를 보면 errorno=9 는 Bad file number 입니다.



# make_recovery -A -Cv -d /dev/rmt/3mn



으로 다시해보시기 바랍니다.



tape device의 무결성을 확인해보기 위해

# dd if=/dev/rmt/3m of=/dev/null bs=8192k

도 해보시기 바랍니다.



그럼~~~
고광태
중학생

[질문]make_recovery command error 발생

cleaning tape 을 먼저 돌리고 나서 한번 다시 해보시기 바랍니다.



참조하시길..
Tony, Lim
임시 조언자

[질문]make_recovery command error 발생

위에 답변주신 내용대로 head cleaning 하구



#make_recovery -A -Cv -d /dev/rmt/3mn



으로 백업을 하였는데도 계속 아래와 같은 error message가 나오네요.



make_recovery(472): /usr/bin/dd failed,res=512,errno=9

Cleanup



HP-UX에 ibm tape device여서 그렇지는 않겠죠?



혹 IBM 4mm tape device로 바꾸면 나으려나.. T.T
김봉기
조언자

[질문]make_recovery command error 발생



cleaning을 한 후

EXABYTE tape를 다른 tape로 바꾼 후 시도해 보세요.
고광태
중학생

[질문]make_recovery command error 발생





그럼 현재 커널에 올라와있는 테잎드라이버가 stape 으로 되어있나요?



tape2 를 올려서 다시 ibm 테잎 드라이버를 잡고 다시 실행을 해보세요..



안되는 이유가 드라이버때문일수도 있습니다.



확인은 sam -> kernel -> driver 에서 확인하고 올리고 내리고 할수가 있습니다.

Tony, Lim
임시 조언자

[질문]make_recovery command error 발생

driver는 ioscan, insf command를 통해 자동으로 생성시켰구요 stape, tape2 모두 current state, pending state가 in 으로 되어있습니다.

IBM 8mm tape은 stape으로 잡혀있는 상태이구 sam에서 확인하니 stape, tape 2 모두 in 상태인데 stape에는 LTO가 연결되어 있어서 driver를 remove 할 수는 없구요...

어떻게 stape으로 잡혀있는 driver를 tape 2로 바꿀 수 있나요?

흠..hp machine과 ibm tape device여서 문제가 있는 것인지...

혹 IBM 4mm tape에서는 제대로 되려나.. 이궁...ㅡㅡ^
고광태
중학생

[질문]make_recovery command error 발생





그러시면 stape 드라이버를 제거하는 방법으로는 일단 시스템에서 tape 을 제거하시고 sam 에서 해보시고 그래도 안되면 tape 이 안붙어있는 상태에서 리부팅하시고 sam으로 stape을 제거를 하시고

다시 테잎장비를 연결을 하시고



# ioscan -f ( tape장비를 인식하는지 보시고)

# insf -e (device 파일을 만드시고)



# ioscan -fnkCtape 으로 확인해보십시오..
Tony, Lim
임시 조언자

[질문]make_recovery command error 발생

왜 앞서와 같은 error가 발생했는지는 모르겠군요..



일단 IBM 8mm tape device를 IBM 4mm DDS2 tape device로 변경후



다시 ioscan -f, insf -e 등으로 driver를 생성하여서 해당 driver



로 tar backup으로 정상작동을 확인한 후



# make_recovery -A -Cv -d /dev/rmt/4mn



하니 정상적으로 OS backup이 되는 것 같습니다.



이전엔 보이지않던 message가 뜨면서 완료까지 30분 걸린다는



message가 뜨네요. 머 완료후에 check_recovery 명령으로 확인까지



해 봐야겠지만...



확인하고 또 안되면 다시 질문드리겠습니다.



답변주신 분들 감사드립니다.