My disk is not corrupted. It is just that the mini usb connection is
rather unstable lately. It caused the mounted partitions to disappear and
reappear as if a new disk is inserted. This upset me that why I bought and new disk and try to copy everthing over using as little time as possible. If I tighten the connection for the old disk, the dismount/mount problem can be delayed so I have a small window to copy
the data between the disks.
anyway, I did a few tests on my systems (both Dell desktop and
Fujitsu laptop, both installed with the same 64-bit CentOS 5.2).
I untar (using the standard tar -xvf ) the 22GB tar file on the the same physical disk. And I am quite amassed that I get 3.25 MB/sec, 3.7 MB/sec, and 2.6 MB/sec rates on different machines (I didn't do the full extraction: I stopped after 1 to 2 hours and stop the process, but it is good enough to let me figure out how much data is copied/created). In short, the number varies, but it is definitely
better than miserable 0.9 MB/sec I have gotten in post #1.
Armed with this, I tried one more time of
Quote:
date > ~/timeinfo; tar cf - * | (cd /media/VFDATAD1/t ; tar xvf -) ; date >> ~/timeinfo
|
This test involves data on two physical disks, i.e., tar cf in disk 1 and tar xf in another disk.
During the copying process, I use du -ak to find out the disk space,
and divided by the elapsed time in secs, and I get a seemingly progressively slower rate of 1.6, 1.4, 1.3 MB/sec (statistics collected
after at least one hour in 3 occasions, since I have the initial time
in ~/timeinfo, I can work out the time difference at any time during
the copyign process) I discontinued the
test since I need to do some work on the physical drive.
I have no theory why (1) the speed drop by quite a lot when 2 disks are
involved (from more than 2.6MB/sec to 1.6 MB/sec at best), and (2) the rate seems to get smaller and smaller (i.e., 1.6, 1.4, 1.3 MB/sec). I am feeling rather defeated by all sorts of numbers without a concrete theory. But the only conclusion is that I should (1) tar everything and put the a.tar file in the same physical disk if possible, (2) use cp to copy a.tar to the new disk, and (3) tar -xvf a.tar to get a higher rate.
There are many issues involved here : I am not sure the read/write rate for vfat32 is the same as the read/write rate for ext3. There are just too many issues involved, but since I guess my job of copying is already done as mentioned in post 1 with 6 hours 45 mins, I think I shall leave this issue behind and move on.