[lug] RAID 5 to RAID 1

The Matt thompsma at colorado.edu
Mon Jun 23 17:09:47 MDT 2003

On Mon, 2003-06-23 at 15:45, Bill Jorgensen wrote:
> On 23 Jun 2003, Paul Nowosielski wrote:
> You can use cpio too. I am not as familiar with cpio command line
> arguements, but this is what I use on the Sun boxes I baby sit.
> cd <dir_to_archive>
> find . -print | cpio -dumpcv <absolute_path_to_fs_to_house_the_data>
> Done! Umount, mount and reclaim the disk for other uses.

Since I'm the only one it seems who uses it, you can also use pax for

Namely, copying directories can be done very fast (seems much faster
than cp -r) with:

pax -rw . destination/

The big caveat with this is the infinite death pinch of:

mkdir foo
pax -rw . foo

Only if you hate your computer should you do this.  If you do, you'll
get an infinite number of foo subdirectories with each with your home
dir in it.  You run out of disk space quite quickly.

For more on pax:


And, if you decide you like pax, I can email an RPM with bzip support
built in (easy to do).
"And isn't sanity really just a one-trick pony, anyway?  I mean,
all you get is one trick, rational thinking, but when you're good
and crazy, ooh ooh ooh, the sky's the limit!" -- The Tick
  The Matt -- http://ucsub.colorado.edu/~thompsma/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20030623/a75ee850/attachment.pgp>

More information about the LUG mailing list