Guido van Rooij wrote:
On Wed, Oct 25, 2006 at 11:34:25AM +0100, Tom Judge wrote:
Guido van Rooij wrote:
On Wed, Oct 25, 2006 at 11:07:14AM +0100, Tom Judge wrote:
Guido van Rooij wrote:
Is it possible to use gmirror to mirror a single BSD partition?
If not: is it possible with other tools?
Yes it is possible, I found this site had very good examples of setting it up:

http://people.freebsd.org/~rse/mirror/

This only documents how to set it up on an entire disk or on a slice.

-Guido
The instructions for mirroring a slice can be modified slightly (by using the correct devices) to do mirror a single partition.

Please tell me then how these modified instructions look.
I still do not know how to reserve the last sector of the partition. I can create 1-sector holes using bsdlabel, but I'm not sure this
would be the way to go...

-Guido

Please read Patricks reply to your earlier post re reserving blocks.

--SNIP--

You don't need to.

If your bsdlabel partition is N sectors in size, the gmirror
object will have size N - 1. Newfs will not be able to write
to that last sector. You newfs the finished mirror device,

--SNIP--

Tom not the individual partitions.


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to