在NetApp NAS上启用磁盘encryption的命令是什么?可以按磁盘/arrays完成吗?
你没有给我更多的信息,因为一些命令是特定于你所拥有的但是在黑暗中射击的types。
通过运行以下命令,使用分配的存储控制器上现有的KeyID手动启用此replace驱动器上的encryption:
disk assign <disk_name>
将replace驱动器分配给存储控制器。 replace为磁盘标签名称。
disk encrypt show
Dis [放置分配给存储控制器的驱动器和存储系统上使用的当前KeyID。 记下要用于下一个命令的encryptionKeyID。
disk encrypt rekey <key_id> <disk_name>
用控制器当前的KeyID重新更换驱动器。
disk encrypt lock <disk_name>
lockingreplace驱动器并启用磁盘上的存储encryption。
disk encrypt show
validationreplace驱动器是否具有与其他SED相同的KeyID,并且它是locking的。
注意:驱动器必须locking才能在驱动器上启用存储encryption。
Example: nse2040cl1-rtp2> disk assign 0c.00.7 Thu Nov 10 20:19:15 EST [nse2040cl1-rtp2:diskown.changingOwner:info]: changing ownership for disk 0c.00.7 (S/N ***********) from unowned (ID *********) to nse2040cl1-rtp2 (ID 135113972) nse2040cl1-rtp2> disk encrypt show Disk Key ID Locked? 0c.00.9 **************************************************************** YES 0c.00.4 **************************************************************** YES 0c.00.11 **************************************************************** YES 0c.00.0 **************************************************************** YES 0c.00.7 0x0 No <--Note that the KeyID is 0x0 and it is not Locked; a drive that is not locked is treated as a Cleartext unencrypted drive. nse2040cl1-rtp2> disk encrypt rekey **************************************************************** 0c.00.7 0c.00.7 successful rekey. nse2040cl1-rtp2> disk encrypt lock 0c.00.7 <--Locks and enables full disk encryption on the replacement drive. 0c.00.7 successful lock. nse2040cl1-rtp2> disk encrypt show Disk Key ID Locked? 0c.00.9 **************************************************************** YES 0c.00.4 **************************************************************** YES 0c.00.11 **************************************************************** YES 0c.00.0 **************************************************************** YES 0c.00.7 **************************************************************** YES <--Verify the drive has the same Encryption Key ID as the existing drives and verify the drive is LOCKED to enable encryption. nse2040cl1-rtp2>