Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Wojciech Puchar
no it doesn't You appear to be agreeing with me, but saying that your method does not produce that problem. sorry - possibly i missed something. both method results in system bootable from both drives and proper disklabels. Yes, these are the same methods that can be used with MBR partit

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Warren Block
On Thu, 12 Jul 2012, Wojciech Puchar wrote: last partition includes the block of gmirror metadata, that's an error. no it doesn't You appear to be agreeing with me, but saying that your method does not produce that problem. i do this 2 ways: method 1) i FIRST do gmirror on whole disk T

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Wojciech Puchar
last partition includes the block of gmirror metadata, that's an error. no it doesn't i do this 2 ways: method 1) i FIRST do gmirror on whole disk THEN partition it, so partition sizes sums up to gmirror size which is 1 sector less disk size. then bsdlabel -B method 2) i make same disklab

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Warren Block
On Thu, 12 Jul 2012, Wojciech Puchar wrote: If that last block is already part of an MBR partition, the more strict checking stops booting in 9.0. not making MBR partition would not make problems. There's no guarantee that bsdlabel checking won't be made more strict. No matter what type of

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Wojciech Puchar
If that last block is already part of an MBR partition, the more strict checking stops booting in 9.0. not making MBR partition would not make problems. There's no guarantee that bsdlabel checking won't be made more strict. No matter what type of partitioning scheme, the metadata should not b

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Warren Block
On Thu, 12 Jul 2012, Wojciech Puchar wrote: The current Handbook procedure avoids the copy by using the existing disk as-is and just writing the gmirror metadata to the last block. Exactly what i do doing instalations manually! If that last block is already part of an MBR partition, the more

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Wojciech Puchar
The current Handbook procedure avoids the copy by using the existing disk as-is and just writing the gmirror metadata to the last block. Exactly what i do doing instalations manually! If that last block is already part of an MBR partition, the more strict checking stops booting in 9.0. not

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Warren Block
On Thu, 12 Jul 2012, Wojciech Puchar wrote: I am no expert at this however a quick Google search comes up with: http://www.freebsd.org/doc/handbook/geom-mirror.html The procedure shown there produces a mirror that will not boot on FreeBSD 9. no idea but my procedure certainly would work i

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Wojciech Puchar
I am no expert at this however a quick Google search comes up with: http://www.freebsd.org/doc/handbook/geom-mirror.html The procedure shown there produces a mirror that will not boot on FreeBSD 9. no idea but my procedure certainly would work if you use installer 1) install to first disk 2

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Joseph Lenox
On 07/12/2012 05:47 AM, Mike Clarke wrote: On Wednesday 11 July 2012 16:20:41 Joseph Lenox wrote: What about a ZFS root? Just make sure both disks are in the BIOS/EFT boot order. http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/ Something else we noticed on our site is that backup of a syst

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Mike Clarke
On Wednesday 11 July 2012 16:20:41 Joseph Lenox wrote: > What about a ZFS root? Just make sure both disks are in the BIOS/EFT > boot order. > http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/ > > Something else we noticed on our site is that backup of a system > snapshot can be quickly restored

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Wojciech Puchar
I have two SAS disks for the FreeBSD install. I want to install the freeBSD on one disk and mirror to another disk. Just like the AIX Mirror. man gmirror ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-

Re: How to mirror the FreeBSD OS on two disks

2012-07-11 Thread Joseph Lenox
What about a ZFS root? Just make sure both disks are in the BIOS/EFT boot order. http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/ Something else we noticed on our site is that backup of a system snapshot can be quickly restored using just a live CD (do up to step 5, then replace steps 6-7

Re: How to mirror the FreeBSD OS on two disks

2012-07-11 Thread Warren Block
On Wed, 11 Jul 2012, Kaya Saman wrote: On Wed, Jul 11, 2012 at 10:18 AM, miles kuo wrote: Hi all, I have two SAS disks for the FreeBSD install. I want to install the freeBSD on one disk and mirror to another disk. Just like the AIX Mirror. Any changes will sync between the two disks. And if

Re: How to mirror the FreeBSD OS on two disks

2012-07-11 Thread Mikel King
There's an old article on BsdNews About using gmirrior perhaps that's the sort of thing you are looking for? -> http://BSDNews.net/index.php/2006/08/31/working-with-gmirror-on-a-sun-fire-x2100-part-1/ Regards, Mikel King On Jul 11, 2012, at 5:18 AM, miles kuo wrote: > Hi all, > > I have t

Re: How to mirror the FreeBSD OS on two disks

2012-07-11 Thread Andreas Rudisch
On Wed, 11 Jul 2012 17:18:56 +0800 miles kuo wrote: > Does the FreeBSD support the disk mirror? How to implement it? Hi, take a look at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html Andreas -- GnuPG key : 0x2A573565|http://www.gnupg.org/howtos/de/ Fingerp

Re: How to mirror the FreeBSD OS on two disks

2012-07-11 Thread Kaya Saman
On Wed, Jul 11, 2012 at 10:18 AM, miles kuo wrote: > Hi all, > > I have two SAS disks for the FreeBSD install. I want to install the freeBSD > on one disk and mirror to another disk. Just like the AIX Mirror. > > Any changes will sync between the two disks. And if one disk crashed or > disconnect