https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229167

--- Comment #22 from p...@twisted.org.uk ---
(In reply to Dexuan Cui from comment #21)

Its interesting that you got the panic on UFS previous - so did I, but I can't
reproduce it anymore either. However it is there on ZFS.

ZFS is superb - you have missed out if you haven't used it - but this is not
the place for ZFS advocacy :-) A quick guide would be to simply attach a drive
and partition as you would for UFS, except using freebsd-zfs for the type of
the main partition. Use /boot/gptzfsboot instead of /boot/gptboot in the boot
partition though. Then make a pool, and I usually create a separate filesystem
for booting, like this:

   zpool create tank da2p2
   zfs create tank/ROOT
   zfs create tank/ROOT/default

Copy the existing system to it using cpdup:

   cpdup -v -i0 / /tank/ROOT/default

Finally set that filesystem as the one to be posted on the pool:

   zpool set bootfs=tank/ROOT/default

And you are good to go... (typed from memory BTW! hopefully all correct...)

Am just doing a rebuild with current to see if that has the same issue. Will
build and boot on UFS first, then copy to a ZFS filesystem using the above
method for testing. I'll let you know how it goes.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to