Creating The Drive/Password Mapping Json Files And Using It To Initialize The System; Example 2: Generating Random Passwords - Nvidia DGX A100 User Manual

Hide thumbs Also See for DGX A100:
Table of Contents

Advertisement

 
Alternatively, you can specify the output be presented in JSON format by using the
$ sudo nv-disk-encrypt info -j
In this case, drives that can be used for encryption are indicate by the following:
"sed_capable": true "used_for_boot": false
And drives that cannot be used for encryption are indicated by one of the following:
"sed_capable": true "used_for_boot": true
Or
"sed_capable": false
6.6.1.2.  Creating the Drive/Password Mapping JSON Files
and Using it to Initialize the System
You can initialize the system by creating the drive and password map the JSON files.
1. Create a JSON file that lists all the eligible SED-capable drives that you want to manage.
Note: These are the list of drives that you obtained from
Managed as
Self-Encrypting.
The following example shows the format of the JSON file.
{
"/dev/nvme2n1": "<your-password>",
"/dev/nvme3n1": "<your-password>",
"/dev/nvme4n1": "<your-password>",
"/dev/nvme5n1": "<your-password>",
}
Ensure that you follow the syntax exactly.
Passwords must consist of only upper-case letters, lower-case letters, digits, and/or
the following special characters: ~ : @ % ^ + = _ ,
2. Initialize the system and then enable locking.
The following command assumes you have placed the JSON file in the /tmp directory.
$ sudo nv-disk-encrypt init -f /tmp/<your-file>.json -g
$ sudo nv-disk-encrypt lock
When prompted, enter a password for the vault.
Passwords must consist of only upper-case letters, lower-case letters, digits, and/or the
following special characters: ~ : @ % ^ + = _ ,
6.6.2. 

Example 2: Generating Random Passwords

The commands in this topic use the
passwords. You pass the vault password into the command and then the command instructs
the tool to generate random passwords for each drive.
The vault password must consist of only upper-case letters, lower-case letters, digits, and/or
the following special-characters: ~ : @ % ^ + = _ ,
NVIDIA DGX A100
Managing the DGX A100 Self-Encrypting Drives
and
options so that you are not prompted to enter
-k
-r
-j
Determining Which Drives Can be
DU-09821-001 _v01   |   36
option.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents