Tweo SCSI drives.

2003-01-19 Thread Grant Peel
OK, While I am asking truely basic questions.

I have two drive sa0 and sa1

Both have freebsd loaded on them (on the same machine of course)

I want to mirror the first drive to the second one each night.

1) How do I 'see' the contents of the second drive?

2) Does anyone know where to find a decent mirror script? (Once I learn how
to see/read/write to the second drive, I can write one :-)).

TIA,

-Grant

Grant W. Peel
Server Admin
[EMAIL PROTECTED]
http://thenetnow.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Tweo SCSI drives.

2003-01-19 Thread Bill Moran
Grant Peel wrote:

OK, While I am asking truely basic questions.

I have two drive sa0 and sa1

Both have freebsd loaded on them (on the same machine of course)

I want to mirror the first drive to the second one each night.

1) How do I 'see' the contents of the second drive?


man mount
You'll need to know the partition layout of the second drive,
then you can mount the partitions to wherever you want using
mount.
A lot of people will make mountpoints off of /mnt (such as
/mnt/usr /mnt/root /mnt/var)


2) Does anyone know where to find a decent mirror script? (Once I learn how
to see/read/write to the second drive, I can write one :-)).


I recommend rsync, which will speed things up by only copying the
files that have changed, actually it will only copy the changed
parts of files that have changed, making things very fast.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message