gpart

Dmitry Morozovsky marck at rinet.ru
Thu May 21 20:45:50 UTC 2009


On Tue, 19 May 2009, Randy Bush wrote:

RB> as punishment, here is yet another email
RB> 
RB> so i have it all partitioned using fixit/dist.
RB>   ad4p1 64k freebsd-boot
RB>   ad4p2	64g freebsd-zfs (to use as zfs mirror)
RB>   ad4p3 64g freebsd-swap
RB>   ad4p4 2tb freebsd-zfs (to use as raidz2)
RB> 
RB> same for ad5.  ad6 and ad7 have only p1 to join the raidz2.
RB> 
RB> but i can not build the boot zfs mirror because i can not follow the
RB> destructions at
RB> 
RB>     http://lulf.geeknest.org/blog/freebsd/Setting_up_a_zfs-only_system/
RB>     http://wiki.freebsd.org/AppleMacbook
RB>     etc
RB> 
RB> because fixit/dist is a world where i can not mount the zfs pool because
RB> / is read-only md0.  so i can not set up the bootable zfs mirror system.

this can be avoided by mounting small md to local /boot/zfs and then copying 
zpool.cache to the original place. Or, you can even null-mount the "future" 
/boot/zfs to /dist/boot/zfs to have this automagically done.

-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-current mailing list