Monday, September 25, 2006

Archived one RAID to Another

We archived the contents of one RAID to another. It takes awhile but it works.

Here’s what we did in single user mode.

#mount /dev/dsk/c1t3d0s0 /DATA1
#mount /dev/dsk/c1t4d0s0 /DATA2

#cd /DATA1; tar cvfp - . | (cd /DATA2; tar xvfp -)

mount – utility used to mount the UFS block devices to /DATA1 and /DATA2 directories
UFS – UNIX File System
cd – change directory utility
tar – tape archive utility

No comments: