zfs upgrade hang upgrading from v3 to v5

dteske at FreeBSD.org dteske at FreeBSD.org
Wed Jan 8 21:18:35 UTC 2014

> -----Original Message-----
> From: Darren Pilgrim [mailto:list_freebsd at bluerosetech.com]
> Sent: Wednesday, January 8, 2014 1:09 PM
> To: freebsd-fs; freebsd-questions
> Subject: Re: zfs upgrade hang upgrading from v3 to v5
> On 1/4/2014 2:54 PM, Darren Pilgrim wrote:
> > Later today I'll try setting a
> > mountpoint on it see if the upgrade will succeed then.
> Well, later that day didn't happen, but this morning did.
> To recap:
> When I upgraded the system from 8.3 to 9.2, I upgraded the zfs pool to
> feature flags and all filesystems to version 5.  Everything upgraded fine,
> except z0, the base filesystem in the pool.  z0 is the only filesystem
> mountpoint=none.  When upgrading z0, zfs upgrade hangs in tx-
> >tx_sync_done_cv.  The rest of the system apparently hangs on disk I/O to
> an extent requiring a hard reboot (NMI reset).
> Setting a mountpoint made the upgrade work:
> # zfs get mountpoint z0
> z0    mountpoint  none        local
> # mkdir /z0 &&  zfs set mountpoint=/z0 z0 # zfs list z0
> z0    84.3G   361G    30K  /z0
> # zfs upgrade z0
> 1 filesystems upgraded

Excellent, thank you for the feedback -- letting me know that there *is* at
least a simple work-around for the problem.

The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.

More information about the freebsd-questions mailing list