Is it possible to use gmirror to mirror a single BSD partition? If not: is it possible with other tools? -Guido
On Wed, Oct 25, 2006 at 12:07:59PM +0200, Guido van Rooij wrote:> Is it possible to use gmirror to mirror a single BSD partition? > If not: is it possible with other tools?I think this is possible, have you tried (inspired by man gmirror) # gmirror label -v -b split -s 2048 data da0s1a da1s1a da2s1a It's been a while since I last used this; but I believe it will work. Regards, -- Rink P.W. Springer - http://rink.nu "Patience is for those who cannot afford decent hardware." - Peter Koeleman -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061025/ea08845f/attachment.pgp
Guido van Rooij wrote:> Is it possible to use gmirror to mirror a single BSD partition? > If not: is it possible with other tools? > > -Guido > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >Yes it is possible, I found this site had very good examples of setting it up: http://people.freebsd.org/~rse/mirror/ Tom
Hi Guido, all, On Wed, Oct 25, 2006 at 12:07:59PM +0200, Guido van Rooij wrote:> Is it possible to use gmirror to mirror a single BSD partition? > If not: is it possible with other tools?With gmirror you can mirror everything that's a geom provider, a disk, a slice, a partition or a complex object such as a stripe (though usually you would want to stripe mirrors instead of mirroring stripes). HTH> -GuidoPaul Schenkeveld
Am 25.10.2006 um 12:07 schrieb Guido van Rooij:> Is it possible to use gmirror to mirror a single BSD partition?Yes. The only caveat is that the mirrored provider will be one sector shorter than the original partition. Stefan -- Stefan Bethke <stb@lassitu.de> Fon +49 170 346 0140
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
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. > > -GuidoThe instructions for mirroring a slice can be modified slightly (by using the correct devices) to do mirror a single partition. Tom