Skip to main content
add information on how to disable the warning
Source Link
lucidbrot
  • 557
  • 1
  • 6
  • 23

I have been running zfs on root in ubuntu 18.04 and recently did a release-upgrade to 22.04. With it, zfs was upgraded from 0.8.something to 2.1.4.

Now, my zpool on the laptop prominently informs me about zpool upgrade:

generic@motorbrot:/tmp$ sudo zpool status tank -v
  pool: tank
 state: ONLINE
status: Some supported and requested features are not enabled on the pool.
    The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
    the pool may no longer be accessible by software that does not support
    the features. See zpool-features(7) for details.
  scan: scrub repaired 0B in 00:29:29 with 0 errors on Mon Feb 13 17:24:37 2023
config:

    NAME         STATE     READ WRITE CKSUM
    tank         ONLINE       0     0     0
      nvme0n1p9  ONLINE       0     0     0

errors: No known data errors

Why would I want to do this, in the scenario of simple consumer use-cases?

I am aware that it has to do with some features (that can be listed with zpool get all tank | grep feature@) but the list of features is not self-explanatory. Hence I am wondering whether I should heed the warning or better ignore it.

In favor of simply doing nothing:

  • I do not want to break access to the pool. Chances of this happening are small though, unless I'd downgrade my zfs version again.

  • I also do not want to break backing up and it is unclear whether backing up from an upgraded pool to an old pool would still work.

  • This github issue

    The whole problem of this message in the first place is it encourages the user to perform a completely unnecessary pool upgrade, putting the pool at risk and limiting compatibility. Users should be taught to be conservative and only perform upgrades if they really want or need a new feature. "If it ain't broke, don't fix it."

It is apparently possible to disable the warning:

Fortunately OpenZFS 2.1.0 provides a feature that lets you shut this up, in the form of OpenZFS's support for partial upgrades. If you set the new 'compatibility' property to what you already have, 'zpool status' won't nag you (although 'zpool upgrade -v' will show you what you're missing).

So all things considered, do I want to upgrade the zpool without explicitly being aware of a newer feature that I'd need? Or should I ignore the warning? Perhaps even better, can I turn it off somehow so that it would only show up once there is actually a missing feature?

I have been running zfs on root in ubuntu 18.04 and recently did a release-upgrade to 22.04. With it, zfs was upgraded from 0.8.something to 2.1.4.

Now, my zpool on the laptop prominently informs me about zpool upgrade:

generic@motorbrot:/tmp$ sudo zpool status tank -v
  pool: tank
 state: ONLINE
status: Some supported and requested features are not enabled on the pool.
    The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
    the pool may no longer be accessible by software that does not support
    the features. See zpool-features(7) for details.
  scan: scrub repaired 0B in 00:29:29 with 0 errors on Mon Feb 13 17:24:37 2023
config:

    NAME         STATE     READ WRITE CKSUM
    tank         ONLINE       0     0     0
      nvme0n1p9  ONLINE       0     0     0

errors: No known data errors

Why would I want to do this, in the scenario of simple consumer use-cases?

I am aware that it has to do with some features (that can be listed with zpool get all tank | grep feature@) but the list of features is not self-explanatory. Hence I am wondering whether I should heed the warning or better ignore it.

In favor of simply doing nothing:

  • I do not want to break access to the pool. Chances of this happening are small though, unless I'd downgrade my zfs version again.

  • I also do not want to break backing up and it is unclear whether backing up from an upgraded pool to an old pool would still work.

  • This github issue

    The whole problem of this message in the first place is it encourages the user to perform a completely unnecessary pool upgrade, putting the pool at risk and limiting compatibility. Users should be taught to be conservative and only perform upgrades if they really want or need a new feature. "If it ain't broke, don't fix it."

So all things considered, do I want to upgrade the zpool without explicitly being aware of a newer feature that I'd need? Or should I ignore the warning? Perhaps even better, can I turn it off somehow so that it would only show up once there is actually a missing feature?

I have been running zfs on root in ubuntu 18.04 and recently did a release-upgrade to 22.04. With it, zfs was upgraded from 0.8.something to 2.1.4.

Now, my zpool on the laptop prominently informs me about zpool upgrade:

generic@motorbrot:/tmp$ sudo zpool status tank -v
  pool: tank
 state: ONLINE
status: Some supported and requested features are not enabled on the pool.
    The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
    the pool may no longer be accessible by software that does not support
    the features. See zpool-features(7) for details.
  scan: scrub repaired 0B in 00:29:29 with 0 errors on Mon Feb 13 17:24:37 2023
config:

    NAME         STATE     READ WRITE CKSUM
    tank         ONLINE       0     0     0
      nvme0n1p9  ONLINE       0     0     0

errors: No known data errors

Why would I want to do this, in the scenario of simple consumer use-cases?

I am aware that it has to do with some features (that can be listed with zpool get all tank | grep feature@) but the list of features is not self-explanatory. Hence I am wondering whether I should heed the warning or better ignore it.

In favor of simply doing nothing:

  • I do not want to break access to the pool. Chances of this happening are small though, unless I'd downgrade my zfs version again.

  • I also do not want to break backing up and it is unclear whether backing up from an upgraded pool to an old pool would still work.

  • This github issue

    The whole problem of this message in the first place is it encourages the user to perform a completely unnecessary pool upgrade, putting the pool at risk and limiting compatibility. Users should be taught to be conservative and only perform upgrades if they really want or need a new feature. "If it ain't broke, don't fix it."

It is apparently possible to disable the warning:

Fortunately OpenZFS 2.1.0 provides a feature that lets you shut this up, in the form of OpenZFS's support for partial upgrades. If you set the new 'compatibility' property to what you already have, 'zpool status' won't nag you (although 'zpool upgrade -v' will show you what you're missing).

So all things considered, do I want to upgrade the zpool without explicitly being aware of a newer feature that I'd need? Or should I ignore the warning? Perhaps even better, can I turn it off somehow so that it would only show up once there is actually a missing feature?

Source Link
lucidbrot
  • 557
  • 1
  • 6
  • 23

How to deal with the "Some supported features are not enabled" warning in zfs?

I have been running zfs on root in ubuntu 18.04 and recently did a release-upgrade to 22.04. With it, zfs was upgraded from 0.8.something to 2.1.4.

Now, my zpool on the laptop prominently informs me about zpool upgrade:

generic@motorbrot:/tmp$ sudo zpool status tank -v
  pool: tank
 state: ONLINE
status: Some supported and requested features are not enabled on the pool.
    The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
    the pool may no longer be accessible by software that does not support
    the features. See zpool-features(7) for details.
  scan: scrub repaired 0B in 00:29:29 with 0 errors on Mon Feb 13 17:24:37 2023
config:

    NAME         STATE     READ WRITE CKSUM
    tank         ONLINE       0     0     0
      nvme0n1p9  ONLINE       0     0     0

errors: No known data errors

Why would I want to do this, in the scenario of simple consumer use-cases?

I am aware that it has to do with some features (that can be listed with zpool get all tank | grep feature@) but the list of features is not self-explanatory. Hence I am wondering whether I should heed the warning or better ignore it.

In favor of simply doing nothing:

  • I do not want to break access to the pool. Chances of this happening are small though, unless I'd downgrade my zfs version again.

  • I also do not want to break backing up and it is unclear whether backing up from an upgraded pool to an old pool would still work.

  • This github issue

    The whole problem of this message in the first place is it encourages the user to perform a completely unnecessary pool upgrade, putting the pool at risk and limiting compatibility. Users should be taught to be conservative and only perform upgrades if they really want or need a new feature. "If it ain't broke, don't fix it."

So all things considered, do I want to upgrade the zpool without explicitly being aware of a newer feature that I'd need? Or should I ignore the warning? Perhaps even better, can I turn it off somehow so that it would only show up once there is actually a missing feature?