Upgrading Encrypted ZFS File Systems

Before you upgrade an Oracle Solaris 11 system to Oracle Solaris 11.1, ensure that your encrypted file systems are mounted. Mount the encrypted file systems and provide the passphrases, if prompted.

$ zfs mount -a
Enter passphrase for 'pond/jaust': xxxxxxxx
Enter passphrase for 'pond/rori': xxxxxxxx
$ zfs mount | grep pond
pond                            /pond
pond/jaust                      /pond/jaust
pond/rori                       /pond/rori

Then, upgrade the encrypted file systems.

$ zfs upgrade -a

If you attempt to upgrade encrypted ZFS file systems that are unmounted, a message similar to the following is displayed:

$ zfs upgrade -a
cannot set property for 'pond/jaust': key not present

In addition, the zpool status output might show corrupted data.

$ zpool status -v pond
...
pond/jaust:<0x1>
pond/rori:<0x1>

If the above errors occur, remount the encrypted file systems as directed above. Then, scrub and clear the pool errors.

$ zpool scrub pond
$ zpool clear pond

For more information about upgrading file systems, see Upgrading ZFS File Systems.