在NetApp NAS上启用磁盘加密的命令是什么,可以在每个磁盘/数组上执行吗?
发布于 2013-01-24 18:00:50
您没有给我提供更多的信息,因为有些命令是特定于您所拥有的nas类型的,但是是在黑暗中拍摄的。
通过运行以下命令,使用分配到的存储控制器上的现有KeyID手动启用此替换驱动器上的加密:
disk assign <disk_name> 将替换驱动器分配给存储控制器。用磁盘标签名替换。
disk encrypt show Dis[放置分配给存储控制器的驱动器和存储系统上使用的当前KeyID。写下要用于下一个命令的加密KeyID。
disk encrypt rekey <key_id> <disk_name> 用控制器的当前KeyID重键替换驱动器。
disk encrypt lock <disk_name> 锁定替换驱动器并启用磁盘上的存储加密。
disk encrypt show 验证替换驱动器与其他SED具有相同的KeyID,并且已锁定。
注意:必须锁定驱动器以启用驱动器上的存储加密。
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>https://serverfault.com/questions/418527
复制相似问题