Re: Setup of a software RAID-1 to an existing system?

2003-06-22 Thread Thomas McIntyre
Johan,

The canonical answer is to repost to freebsd-questions, which enjoys
a larger readership.  But I'll try -- your question is interesting
b/c I'm in the same boat, except w/ CURRENT.  As you said, breezing
through the handbook will show a lot of detail, but perhaps it does
not directly address mirroring a live fs.

Aside from the handwaving, you might check http://www.vinumvm.org/. 
There seems to be a relevant (if a little dated) article:

   
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/vinum/index.html

It may be possible to mirror partitions, even if half of it is live. 
Were this not the case, it's prob possible to boot the install cdrom
and play some tricks with dd or dump to sync the disks.  Perhaps they
could then be mounted, vinum set up, and then booted into.  

It would be fantastic if the freebsd installer had the ability to run
raid 1 right out the chute.  Doubtless, there's a number of us w/
legacy servers having two disks but no hardware raid.

Good luck.  Share your notes (at least to newbies) once you get it
working!

Regards,
Tom McIntyre

-Original Message-
From: Johan Paul [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 22, 2003 12:19 PM
To: [EMAIL PROTECTED]
Subject: Setup of a software RAID-1 to an existing system?


Hi all!

I am pretty new to FreeBSD but thought it might be a nice idea to 
migrate from a Linux server to a FreeBSD one.

My question is regarding software RAID-1 for this FreeBSD box. I have

two IDE equally sized hard drives and I installed FreeBSD 4.8 on the 
other one. Now the question is: can I make a RAID-1 array of these
two 
disks while FreeBSD is installed on the other one (using vinum or 
other...)? Or how do I get RAID-1 to work on these two disks?

I've read some of the vinum documentation but it is unclear to me if
it 
is possible to set up a RAID-1 on a running disk system - and if my 
assumptions are correct, that it is impossible, it is unclear to me
how 
to set up this RAID-1?


Regards,

Johan Paul


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Setup of a software RAID-1 to an existing system?

2003-06-22 Thread Joshua Oreman
On Mon, Jun 23, 2003 at 05:00:23AM +0300 or thereabouts, Johan Paul seemed to write:
 Hi all!
 
 This is repost from freebsd-newbies mailing list since this might be a 
 more suitable mailing list for my question.

You're right, it is.

 
 I am pretty new to FreeBSD but thought it might be a nice idea to
 migrate from a Linux server to a FreeBSD one.
 
 My question is regarding software RAID-1 for this FreeBSD box. I have
 two qually sized IDE hard drives and I installed FreeBSD 4.8 on the 
 other one. Now the question is: can I make a RAID-1 array of these
 two disks while FreeBSD is installed on the other one (using vinum or
 other...)? Or how do I get RAID-1 to work on these two disks? FreeBSD 
 got one slice from each disk that occupy the whole disk. Only the first 
 disk is partitioned into 4 pieces (details about the partitions might be 
 unneccesary...?).
 
 I've read some of the vinum documentation but it is unclear to me if
 it is possible to set up a RAID-1 on a running file system - and if my
 assumptions are correct, that it is impossible, it is unclear to me
 how to set up this software RAID-1?

I would read the Bootstrapping Vinum article in the FreeBSD Documentation
Set. Alternative is just backup your data, boot from the Fixit CDROM, run
vinum, restore.

-- Josh

 
 
 Regards,
 
 Johan Paul
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Setup of a software RAID-1 to an existing system?

2003-06-22 Thread Greg 'groggy' Lehey
On Monday, 23 June 2003 at  5:00:23 +0300, Johan Paul wrote:
 Hi all!

 This is repost from freebsd-newbies mailing list since this might be a
 more suitable mailing list for my question.

 I am pretty new to FreeBSD but thought it might be a nice idea to
 migrate from a Linux server to a FreeBSD one.

 My question is regarding software RAID-1 for this FreeBSD box. I have
 two qually sized IDE hard drives and I installed FreeBSD 4.8 on the
 other one. Now the question is: can I make a RAID-1 array of these
 two disks while FreeBSD is installed on the other one (using vinum or
 other...)? Or how do I get RAID-1 to work on these two disks? FreeBSD
 got one slice from each disk that occupy the whole disk. Only the first
 disk is partitioned into 4 pieces (details about the partitions might be
 unneccesary...?).

 I've read some of the vinum documentation but it is unclear to me if
 it is possible to set up a RAID-1 on a running file system - and if my
 assumptions are correct, that it is impossible, it is unclear to me
 how to set up this software RAID-1?

You might like to take a look at
http://www.vinumvm.org/cfbsd/vinum.pdf or
http://www.vinumvm.org/cfbsd/vinum.txt.  This is the Vinum chapter
from The Complete FreeBSD.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers


pgp0.pgp
Description: PGP signature