This page documents various techniques that people have found useful for transferring disk images to a SAN target.
netcat
If the source machine does only have one HDD which has been used completely, netcat can be used to transfer the image to the target in one step:
On the storage Server: nc -l -p 30000 | dd of=/path/to/image/file.img
On the Netboot-Box: dd if=/dev/sdX bs=8225280 count=1825 | nc <SAN-IP> 30000
This command will extract the same portion of the disk directly to the server. The Port (30000) can be chosen free but has to be the same on both sides.
本文介绍了一种利用Netcat工具进行磁盘镜像文件传输的方法。具体步骤包括在存储服务器上监听指定端口并通过dd命令写入镜像文件,在源机上通过Netcat发送磁盘分区数据到目标服务器。
578

被折叠的 条评论
为什么被折叠?



