I moved a ZFS pool to another server. Pool imported with no errors using
# zpool import pool0
pool0 contains both encrypted and unencrypted logical units. Encryption keys were restored to /local/keydata on the new server (plus a copy on another location). Unencrypted LU's were imported successfully using
# stmfadm import-lu /pool0/lu01
The encrypted ZFS filesystem (efs1) appears on the zfs list
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
pool0 43.1T 6.16T 23.9T /pool0
pool0/efs1 19.1T 6.16T 19.1T /pool0/efs1
...
but the encrypted LUs are not visible on the filesystem (before import-lu)
# ls -al /pool0/efs1
total 18
drwxr-xr-x+ 2 root root 2 Jan 9 2023 .
drwxr-xr-x+ 4 root root 11 Jan 23 2023 ..
Should I use the same command as on unencrypted LU's
# stmfadm import-lu /pool0/efs1/elu01
or are there other options required? My concern is to avoid damage to the encrypted LU's by not specifying corresponding options.
Thanks.
# zpool import pool0
pool0 contains both encrypted and unencrypted logical units. Encryption keys were restored to /local/keydata on the new server (plus a copy on another location). Unencrypted LU's were imported successfully using
# stmfadm import-lu /pool0/lu01
The encrypted ZFS filesystem (efs1) appears on the zfs list
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
pool0 43.1T 6.16T 23.9T /pool0
pool0/efs1 19.1T 6.16T 19.1T /pool0/efs1
...
but the encrypted LUs are not visible on the filesystem (before import-lu)
# ls -al /pool0/efs1
total 18
drwxr-xr-x+ 2 root root 2 Jan 9 2023 .
drwxr-xr-x+ 4 root root 11 Jan 23 2023 ..
Should I use the same command as on unencrypted LU's
# stmfadm import-lu /pool0/efs1/elu01
or are there other options required? My concern is to avoid damage to the encrypted LU's by not specifying corresponding options.
Thanks.