Try something like this:

rsync -avvHR /source/. /destination

The -vv is optional, but will print a line for each file as it is being 
copied. If the copy is interrupted partway through, just run it again 
and it'll pick up where it left off. If you don't have rsync installed, 
look for it in packages or ports.

On Friday 15 December 2006 10:22, you wrote:
>OpenBSD 3.7 - i386
>Pentium 4 3GHz - 1GB RAM - 2GB swap
>
>Hello list,
>
>For the past 3 weeks, I have been working on a difficult problem:
> moving a backuppc (http://backuppc.sourceforge.net/) pool from a
> RAID0 to a big disk, in order to free the RAID0 before rebuilding a
> RAID5.
>
>The RAID0 has one partition, its size is 2112984700 blocks
> (512-blocks), roughly 1008GB, which is close to the maximum allowed
> by ffs. The big disk is 300GB.
>
>I need to move 96GB of data which are, due to backuppc design, full of
>hardlinks!
>
>So far, I have tried to use:
>    1) dd: impossible because the partitions cannot be the same size
>(and the RAID5 won't be the same size as the RAID0)
>    2) pax -rw: after transferring almost 70GB, it bails out with a
>"Segmentation fault"
>    3) tar to archive: after something like 60GB, it complains with
> some "file name too long" errors
>    4) gtar to archive (from package gtar-1.15.1p0-static.tgz): ends
> up with a "gtar: memory exhauted" error
>    5) dump to file: successful but
>    5') restore from file: stops even before starting due to a "no
>memory for entry table" error (there is still a lot of unused memory
> and swap - and no ulimit)
>
>Any help is appreciated because I really don't know what to do next.
>
>Matthias Bertschy
>Echo Technologies SA

-- 
------------------------------------------------------------------------
Dan Ramaley                            Dial Center 118, Drake University
Network Programmer/Analyst             2407 Carpenter Ave
+1 515 271-4540                        Des Moines IA 50311 USA

Reply via email to