How to mount or unlock encrypted QuTS Hero ZFS volume manually?


Senaste ändringsdatum: 2022-06-24
Applicable Products:
  • QuTS Hero
  • Encrypted ZFS volume

Scenarios:

The encrypted data volume is locked
img
or the encrypted data volume is un-mounted.
img
You can use the following commands via ssh to mount and unlock the data volume manually.

  1. Use the command below to know and get the path of the data volume, “encfolder1”

    [~] # cat /etc/volume.conf | grep -A4 encfolder1
    volName = encfolder
    encryption = yes
    ssdCache = no
    creating = no
    mappingName = zpool2/zfs23
  2. Get the key file name and path of the encrypted volume

    [~] # zfs get keysource zpool2/zfs23 -H -o value -p
    /tmp/temp.XHPDfk
  3. Prepare the key source file

    [~] # echo -n | md5sum | awk '{print $1}' > /tmp/temp.XHPDfk
    [~]

    Note: <password> ; Enter the passphrase of the encrypted volume here

  4. Verify the key source file with the volume

    [~] # /sbin/zfs validate zpool2/zfs23 /tmp/temp.XHPDfk
    verification succeeded
  5. Mount the data volume

    [~] # /sbin/zfs mount zpool2/zfs23
    [~] #
    [~] # /sbin/zfs mount zpool2/zfs23/RecentlySnapshot
    [~] #
  6. Modify the volume statusFind corresponding data volume section in /etc/volume.conf and modify its status to 0 and then save it
    img

  1. Done Now, you should see the data volume is mounted and unlocked in the web management page.img

Var den här artikeln till hjälp?

Användare som tyckte detta var användbart 20% procent.
Tack för din feedback.

Berätta för oss hur vi kan förbättra artikeln:

Ge oss fler synpunkter genom att skriva dem nedan.

Välj specifikation

      Visa fler Färre

      Denna webbplats i andra länder/regioner:

      open menu
      back to top