FreeBSD ZFS system

Damien Fleuriot ml at my.gd
Thu Jun 23 01:38:16 UTC 2011



On 22 Jun 2011, at 22:22, krad <kraduk at gmail.com> wrote:

> On 21 June 2011 21:23, Matthew Seaman <m.seaman at infracaninophile.co.uk>wrote:
> 
>> On 21/06/2011 20:01, Dick Hoogendijk wrote:
>>> I'd like to install FreeBSD (pcbsd) on a (zfs) mirror
>>> In OpenSolaris you can install directly to the zfs mirror, but how's
>>> this in this situation> After all, an UFS partitin is also created. How
>>> can I get the equivalent of an OpenSolaris mirrored install for a
>>> FreeBSD system?
>> 
>> http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror
>> 
>>       Cheers
>> 
>>       Matthew
>> 
>> --
>> Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
>>                                                 Flat 3
>> PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
>> JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW
>> 
>> 
> 
> its dead easy to do retrospective as well no need to  rebuild or ditch the
> pcbsd install method.
> 
> X = current boot drive
> Y = blank drive
> z = zfs partition/slice eg s1d, p3 etc
> 
> gpart backup /dev/X | gpart restore /dev/Y
> 

Hey that's pretty cool, does this work to copy from a small disk to a bigger one like dump does, or do the partitions have to be the same size ?


> gpart bootcode -b /zfsboot/pmbr -p /zfsboot/(gpt)*zfsboot -i 1 /dev/Y
> zpool attach <pool> /dev/Xz /dev/Yz
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list