Copying a large file system (again)
Harald_Jensas at Dell.com
Harald_Jensas at Dell.com
Mon Dec 3 09:11:37 CST 2007
Hi,
You could use tar and split to create a single large TAR archive that is divided into pieces.
>From this article:
http://www.redhatmagazine.com/2007/10/24/tips-from-an-rhce-splitting-tar-archives-on-the-fly/?sc_cid=3406
create the archive:
tar -czf /dev/stdout $(DIRECTORY_OR_FILE_TO_COMPRESS) | split -d -b $(CHUNK_SIZE_IN_BYTES) - $(FILE_NAME_PREFIX)
extract the contents:
cat $(FILE_NAME_PREFIX)* >> /dev/stdout | tar -xzf /dev/stdin
Regards
Harald
> -----Original Message-----
> From: linux-poweredge-bounces at dell.com [mailto:linux-poweredge-
> bounces at dell.com] On Behalf Of Tino Schwarze
> Sent: 03 December 2007 15:25
> To: linux-poweredge-Lists
> Subject: Copying a large file system (again)
>
> Hi there,
>
> it's me again with my 600 GB BackupPC files (9 million files, 15
> million directories, loads of hardlinks).
>
> I tried copying everything with star via netcat to another machine
> (with
> a new shiny xfs filesystem). It's been running for about 48 hours now
> and about 450 GB have been copied. So far so well, but star is using
> over 900 meg memory now, the machine only has a gig and it just started
> swapping, so the job could take ages.
>
> Is there a way to transport hardlink information across multiple TAR
> archives? Or should I rather try to get another GB from somewhere and
> start over from scratch? Would GNU tar perform better? Shall I try
> csync2?
>
> Thanks,
>
> Tino.
>
> --
> www.craniosacralzentrum.de
> www.lebensraum11.de
> www.spiritualdesign-chemnitz.de
>
> Tino Schwarze * Parkstraße 17h * 09120 Chemnitz
>
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
More information about the Linux-PowerEdge
mailing list