Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jul 2018 08:58:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 229167] [Hyper-V] [Jun 19, 2018] Recently FreeBSD VM panics during boot-up, especially with Mellanox VF configured
Message-ID:  <bug-229167-27103-oScEt5981s@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229167-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229167-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229167

--- Comment #22 from pete@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 ca=
n'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 dr=
ive
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 bo=
ot
partition though. Then make a pool, and I usually create a separate filesys=
tem
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=3Dtank/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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229167-27103-oScEt5981s>