본문 바로가기

오라클DBMS/관리(Admin)

RAW DEVICE control file 복사

디비는 내려주고 


용량확인

dbfsize /dev/vg00/rlvol_ctl02


Database file: /dev/vg00/rlvol_ctl02

Database file type: raw device

Database file size: 1140 16384 byte blocks



dd if=/dev/vg00/rlvol_ctl02 of=/dev/vg01/rlvol_ctl03 bs=1024 skip=1 seek=1 


결과 :

I/O error

131073+0 records in

131072+1 records out


I/O error 라는 말이 뜨면 망한거임-_-

블럭사이즈도 같은대 왜 에러가 날까... ;;; 슬프답 


그래서 count 를 쓰기로 함 



dd if=/dev/vg_kfsdata02/rlvol_ctl02 of=/dev/vg_kfsdata03/rlvol_ctl03 bs=4096  count=32750 skip=1 seek=1


블럭사이즈를 1024byte 로 잡으니 너무 느려서 4096(4k)로 잡고 32750 블럭 복사로 해결