Re: [ILUG] copying files

From: Niall O Broin (nobroin at domain sced.esoc.esa.de)
Date: Wed 29 Sep 1999 - 12:46:45 IST


Vincent Cunniffe asked

> I'm currently adding a 13gig disk to a RAID-0 setup at home, which
> requires me to move everything off the current raid in order to
> change it and format the new one.
>
> I starting trying to tar the whole thing (the first section was
> about 5 gig of mainly binaries), and stopped halfway through realising
> that it was going to hit the 2G filesize limit.
>
> What's the best way to move very large volumes of data around under
> Linux like this?

Well, you'll have to put them somewhere, either on a tape with tar / cpio / dump
or copy to a different filesystem - my favourite for that is

cd source-dir
find .|cpio -pmd dest-dir

but you'll need YALD (yet another large disk) as you can't leave the files on
either of the disks which you are raiding together, on account of you'll be
making a new filesystem on them. But you should probably ask yourself why you're
making such a big RAID-0 filesystem - if you really need it, fine, but it strikes
me that 5GB of binaries is an accumulation of stuff which could happily be
put into different filesystems. Also, such a big ext2fs filesystem is as slow
as hello to run e2fsck AND if you have a fault on one disk, bang goes at least
18GB of data.

Just my 2MB worth . . . . .

Kindest regards,

Niall O Broin

UNIX Network Administrator nobroin at domain esoc.esa.de
Ground Systems Engineering Department Ph./Fax +49 6151 90 3619/2179
European Space Operations Centre, Darmstadt, Germany



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:38 GMT