Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Jan 2014 13:09:08 -0800
From:      Darren Pilgrim <list_freebsd@bluerosetech.com>
To:        freebsd-fs <freebsd-fs@freebsd.org>,  freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: zfs upgrade hang upgrading from v3 to v5
Message-ID:  <52CDBE74.6040702@bluerosetech.com>
In-Reply-To: <52C89140.5040700@bluerosetech.com>
References:  <52C89140.5040700@bluerosetech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 with 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
NAME  PROPERTY    VALUE       SOURCE
z0    mountpoint  none        local
# mkdir /z0 &&  zfs set mountpoint=/z0 z0
# zfs list z0
NAME   USED  AVAIL  REFER  MOUNTPOINT
z0    84.3G   361G    30K  /z0
# zfs upgrade z0
1 filesystems upgraded



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52CDBE74.6040702>