ZFS filesystem version out of date?

Status
Not open for further replies.

Z300M

Guru
Joined
Sep 9, 2011
Messages
882
Having just updated my system to the latest FreeNAS version, I now get a message:

'ZFS filesystem version is out of date. Consider upgrading using "zfs upgrade" command line.'

Two of my pools are currently at version 4; what new feature(s) am I missing if I don't upgrade, and does it matter?
 

Z300M

Guru
Joined
Sep 9, 2011
Messages
882

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Actually there are 2 types of ZFS versions, pools and datasets. ZFS version 4 sounds like
the dataset version. So ZFS dataset version 5 would add as below, (vesion 4 shown for
comparison);

https://en.wikipedia.org/wiki/ZFS#Detailed_release_history
...
4 - Properties: userquota, groupquota, userused and groupused
5 - System attributes; symlinks now their own object type
 
Joined
Apr 4, 2016
Messages
6
After upgrading a freenas box from 8.3 to 9.3, I got the warnings that the ZFS filesystem version is out of date.

According to the documentation at http://doc.freenas.org/9.3/freenas_install.html#upgrading-a-zfs-pool , I upgraded the pools from the GUI.

However I still get the yellow light and "WARNING: ZFS filesystem version is out of date. Consider upgrading using "zfs upgrade" command line."

The box has two ZRAID5, with three drives each. Running the command above gives me the following:

[root@dzigual-server ~]# zfs upgrade
This system is currently running ZFS filesystem version 5.

The following filesystems are out of date, and can be upgraded. After being
upgraded, these filesystems (and any 'zfs send' streams generated from
subsequent snapshots) will no longer be accessible by older software versions.


VER FILESYSTEM
--- ------------
4 caviarsblack2tb
4 caviarsblack2tb/backups_adm
4 caviarsblack2tb/cdfinder
4 caviarsblack2tb/dib
4 caviarsblack2tb/dib_os
4 caviarsblack2tb/dps
4 caviarsblack2tb/pdt
4 caviarsgreen4tb
[root@dzigual-server ~]#

How do I upgrade these from the CLI, to stop the warning? And should I do it?

I ask because I'm about to replace the drives and grow the caviarsblack2tb pool. The fact that it is running an older version can cause problems in this procedure?

Thanks

(And sorry for ressurrecting an old thread)
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680

Well, thar's your problem, what's a ZRAID5?!?

No, but seriously, "RAIDZ1", "RAIDZ2", or "RAIDZ3".

As for the warning, it is harmless, and you can click it off to stop it from alerting. When you know for certain you will not be going back to 8.3, then you can upgrade your pool. And you shouldn't do it until then.
 
Joined
Apr 4, 2016
Messages
6
It is a "RAIDZ1", sorry for the mistake.

Anyway, I'm certain I'll never go back to v8.3. How do I upgrade the versions from the CLI?
 
Joined
Apr 4, 2016
Messages
6
I think there's some inconsistency in my system.

Using "zfs upgrade" gives me the response above (and the yellow warning keeps appearing).

Usin "zpool upgrade -a" I get the following:

[root@dzigual-server ~]# zpool upgrade -a
This system supports ZFS pool feature flags.

All pools are already formatted using feature flags.

Every feature flags pool already has all supported features enabled.
[root@dzigual-server ~]#

Or are zpool upgrade and zfs upgrade separate things?
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Yes, they are separate things.
 

tha_toadman

Dabbler
Joined
Jun 5, 2011
Messages
16
I'm going through the same thing as Rodrigo and I'm still stuck. I have all the same screens and output messages.

How do we update the filesystem(s) to be version 5 via CLI? I'm ready for the flashing yellow alert to disappear.
 
Joined
Apr 4, 2016
Messages
6
I didn't find any freenas documentation about this, but I used the command zfs upgrade -a

I know running a command without really knowing what it will do isn't the most responsible thing, but I did it anyway (after a full backup).

The yellow warning is gone now.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Just keep in mind that you now have an OS depedency for access of your Zpool and datasets.

My external backup pool disk is at a specific Zpool and dataset version. That's so I can access
it from Linux, (using the ZFS on Linux software).
 

tha_toadman

Dabbler
Joined
Jun 5, 2011
Messages
16
I ran that command but I'm still getting the flashing yellow alert.

Code:
# zpool upgrade -a
This system supports ZFS pool feature flags.

All pools are already formatted using feature flags.

Every feature flags pool already has all supported features enabled.


Then I ran this again...

Code:
# zfs upgrade
This system is currently running ZFS filesystem version 5.

The following filesystems are out of date, and can be upgraded.  After being
upgraded, these filesystems (and any 'zfs send' streams generated from
subsequent snapshots) will no longer be accessible by older software versions.

VER  FILESYSTEM
---  ------------
4   [share here]
4   [share here]
4   [share here]
4   [share here]
4   [share here]
4   [share here]


This seems contradictory. My system is running ZFS filesystem version 5 but the shares are all version 4? Why didn't they upgrade? Is there a command I can issue aside from what I've already done to resolve this issue?

From the documentation:

To perform the ZFS pool upgrade, go to Storage ‣ Volumes ‣ View Volumes and highlight the volume (ZFS pool) to upgrade. Click the “Upgrade” button as seen in Figure 2.5f.

Note: if the “Upgrade” button does not appear, the pool is already at the latest feature flags and does not need to be upgraded.

I have no upgrade button so that answers that question.

Finally, I have this...

Code:
# zpool get version array
NAME    PROPERTY  VALUE    SOURCE
[share] version   -        default


I was expecting a value other than a dash. I'm also getting the feeling I have a unique situation here.
 

styno

Patron
Joined
Apr 11, 2016
Messages
466
Yes there is, the info was already here, be careful if you don't know what you are doing...
Is there a command I can issue aside from what I've already done to resolve this issue?
I didn't find any freenas documentation about this, but I used the command zfs upgrade -a
The yellow warning is gone now.
Just keep in mind that you now have an OS depedency for access of your Zpool and datasets.
 

styno

Patron
Joined
Apr 11, 2016
Messages
466
From your post you ran 'zpool upgrade -a' and 'zfs upgrade', missing the '-a' on the last command...
 

tha_toadman

Dabbler
Joined
Jun 5, 2011
Messages
16
Styno, the two commands were submitted to show the following:

1) I ran the command and nothing happened
2) The omitted "-a" was to show that the file system is on ver 5 and my shares are on ver 4. This was done to reiterate my point.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
What the statement means, is that your OS CAN run ZFS dataset version 5.
But then lists your datasets are at a lower version, (version 4).

Confusing message. Wish it was clearer.
 

tha_toadman

Dabbler
Joined
Jun 5, 2011
Messages
16
I realize that I misrepresented that second item but yeah, I understand what it's saying.

This takes me back though to my original question:

Is there a command I can issue aside from what I've already done to resolve this issue?

My system seems to be stuck in limbo or something. All upgrade attempts are saying nothing can be done yet the system is stuck on version 4.
 
Status
Not open for further replies.
Top