ssh와 dd 명령을 이용한 block device 원격복제
1) 로컬에있는 블럭디바이스를 원격(210.220.224.137)으로 복제할때..
# dd if=/dev/sda | ssh 210.220.224.137 “dd of=/dev/sda”
– 다른유저로 사용할때에는 ssh@hostip 형식으로지정한다
2) 원격(210.220.224.137)에있는 블럭디바이스를 로컬에있는 디바이스로 복제할때..
# ssh 210.220.224.137 “dd if= /dev/sda1” | dd of=/dev/vg0/lv01
3) 혹시모를 rsh를 이용한 복제예제 (rsh 관련설정은 미리해놓아야함)
# rsh -n 192.168.0.3 dd if=/dev/sda bs=4096 | dd of=/dev/sdb bs=4096
4 Responses
… [Trackback]
[…] There you can find 46391 more Information on that Topic: nblog.syszone.co.kr/archives/2993 […]
… [Trackback]
[…] Read More to that Topic: nblog.syszone.co.kr/archives/2993 […]
… [Trackback]
[…] Read More on that Topic: nblog.syszone.co.kr/archives/2993 […]
… [Trackback]
[…] Find More here on that Topic: nblog.syszone.co.kr/archives/2993 […]