zpool doesn't upgrade - Re: ZFS directory with a large number of files

Ronald Klop ronald-freebsd8 at klop.yi.org
Tue Aug 9 13:18:07 UTC 2011


On Tue, 09 Aug 2011 10:38:01 +0200, seanrees at gmail.com  
<seanrees at gmail.com> wrote:

> On Tue, Aug 2, 2011 at 8:59 PM, Ronald Klop  
> <ronald-freebsd8 at klop.yi.org> wrote:
>> On Tue, 02 Aug 2011 12:55:43 +0200, seanrees at gmail.com  
>> <seanrees at gmail.com>
>> wrote:
>> I think this zpool upgrade thing is weird. Can you try 'zpool upgrade  
>> -a'?
>>
>> Mine says:
>> zpool get version zroot
>> NAME   PROPERTY  VALUE    SOURCE
>> zroot  version   28       default
>>
>> Mind the SOURCE=default vs. SOURCE=local.
>> Is it possible you did 'zpool set version=15 tank' in the past? You can
>> check that with 'zpool history'.
>>
>> NB: if you upgrade the boot pool, don't forget to upgrade to boot  
>> loader.
>> (See UPDATING)
>
> % sudo zpool upgrade -a
> Password:
> This system is currently running ZFS pool version 15.
>
> All pools are formatted using this version.
>
> I checked zpool history and I never set the version explicitly. My
> 'world' is from the 8th of March; it's possible my tree is
> sufficiently old (my kernel was built on the 12th of June; I'm fairly
> sure its from the same tree as the world, but it's also possible my
> kernel and userland have been out of sync for 2 months).
>
> I'll upgrade this machine sometime soon and see if that fixes the issue.
>
> Sean

You can set the property to 28 and upgrade after that.
zpool set version=28 zroot


More information about the freebsd-stable mailing list