请问各位高手,FreeBSD两硬盘之间如何进行数据拷贝!!

发表于:2007-06-09来源:作者:点击数: 标签:
操作系统是FreeBSE4.5,硬盘空间是9G,有几个分区,如/usr,/var等等,现我有个新的硬盘为18G,我想把旧硬盘完成copy到新硬盘中,用新硬盘代替旧硬盘工作,但又不想重新安装,请问各位高手有没有好的办法提供一下,我知道dos下有个ghost软件能完成相关功能,但

操作系统是FreeBSE4.5,硬盘空间是9G,有几个分区,如/usr,/var等等,现我有个新的硬盘为18G,我想把旧硬盘完成copy到新硬盘中,用新硬盘代替旧硬盘工作,但又不想重新安装,请问各位高手有没有好的办法提供一下,我知道dos下有个ghost软件能完成相关功能,但只是在windows操作系统下试过,不知FreeBSD能否使用?万分感谢!!

 quakelee 回复于:2003-01-13 20:30:04
你可以用一个windows启动盘上面带上ghost,然后进去以后打开ghost就可以
freebsd本身不能用ghost

 ihweb 回复于:2003-01-14 08:46:01
[quote][b]下面引用由[u]quakelee[/u]在 [i]2003/01/13 08:30pm[/i] 发表的内容:[/b]
你可以用一个windows启动盘上面带上ghost,然后进去以后打开ghost就可以
freebsd本身不能用ghost
[/quote]
这样你会发现慢得要死!!!!!!

因为连空白的HD也GHOST过去的!!!我做错测试,奇慢。

 .netlnet 回复于:2003-01-14 09:54:44
why??

 zyme 回复于:2003-01-14 14:10:25
new FBSD is 3
from 1 cp to 2 in 3

mount 1 to /d1
mount 2 to /d2

tar -cf - -C /d1 . | tar xpf - -C /d2

This I found was the most efficient way of copying files and preserving 
permissions. 

 hsboy 回复于:2003-01-14 18:44:39
[quote][b]下面引用由[u]zyme[/u]在 [i]2003/01/14 02:10pm[/i] 发表的内容:[/b]
new FBSD is 3
from 1 cp to 2 in 3
mount 1 to /d1
mount 2 to /d2
...
[/quote]

帮主,你最牛啦。 响应帮助,大家好好看看tar吧。


 ihweb 回复于:2003-01-16 09:01:14
[quote][b]下面引用由[u]zyme[/u]在 [i]2003/01/14 02:10pm[/i] 发表的内容:[/b]
new FBSD is 3
from 1 cp to 2 in 3
mount 1 to /d1
mount 2 to /d2
...
[/quote]
我想这种方法应该是比较好的。

因为BSD不存在M¥那种所谓的版权+注册表什么之类的一定要安装才可以用。

 itisok96 回复于:2003-07-11 21:20:36



、、、、、、、、、、、、、、、、、、、、、、、、、
梅雨来临时,我看到了水,在论坛闲逛时,我喝到了水

 zhangzhen 回复于:2003-09-20 14:55:43
顶!

 rainren 回复于:2003-12-01 20:29:43
[quote:df98c7cebc="zyme"]new FBSD is 3
from 1 cp to 2 in 3

mount 1 to /d1
mount 2 to /d2

tar -cf - -C /d1 . | tar xpf - -C /d2

This I found was the most efficient way of copying files and preserving 
permissions. [/quote:df98c7cebc]

两个盘的容量不想同应该不能这样做吧! :oops:  :oops:

 imagecoco 回复于:2004-02-01 16:22:54
[quote:d2ca912fd0="zyme"]new FBSD is 3
from 1 cp to 2 in 3

mount 1 to /d1
mount 2 to /d2

tar -cf - -C /d1 . | tar xpf - -C /d2

This I found was the most efficient way of copying files and preserving 
permissions. [/quote:d2ca912fd0]

老大,看不懂了。
是不是在电脑 freebsd3里面 mount 上旧硬盘1 和新硬盘2。
再用命令:
mount 1 to /d1
mount 2 to /d2

tar -cf - -C /d1 . | tar xpf - -C /d2

来拷啊? 

tar -cf - -C /d1 . | tar xpf - -C /d2 这个东西看不懂。可不可以说清楚点?

强烈谢谢。

原文转自:http://www.ltesting.net