1.启用安全擦前先检查盘片是否支持安全擦 hdparm -I /dev/sdx直接拉到最后面看Security相关信息 PS: 这里可以看到有“not supported: enhanced erase”这只是表明该盘片不支持加强安全擦,在运行安全擦相关命令时则会出现下图中红框的部分,该提示不用特别在意,只要在设置安全擦密码后确认已经启用安全擦,在进行安全擦...
hdparm -I /dev/sdx 检查是否成功启用。设置密码后,使用相应的命令进行安全擦除,根据设置的用户(user或master)不同,命令如下:对于使用user设置的密码:hdparm --user-master u --security-erase gk /dev/sdx 对于使用master设置的密码:hdparm --user-master m --security-erase gk1 /dev/sdx...
擦除方式1,对应启用安全擦方式1: hdparm --security-set-pass password /dev/sdx 或 hdparm --user-master u --security-erase password /dev/sdx 擦除方式2,对应启用安全擦方式2: hdparm --user-master m --security-set-pass password/dev/sdx或hdparm --user-master m --security-erase password /dev/...
unknown 206[12] (vendor specific) Security: Master password revision code = 65534 supported not enabled not locked not frozen not expired: security count supported: enhanced erase 104min for SECURITY ERASE UNIT. 104min for ENHANCED SECURITY ERASE UNIT. Logical Unit WWN Device Identifier: 5000c500d...
hdparm --user-master u --security-erase PASSWORD /dev/sda 安全擦除 类似安全擦除: hdparm –yes-i-know-what-i-am-doing –sanitize-crypto-scramle /dev/sdx hdparm –yes-i-know-what-i-am-doing –sanitize-status /dev/sdx b.设置硬盘容量(硬盘必须直连服务器,通过raid卡无法执行此项指令) ...
hdparm –user-master u –security-erase PASSWORD /dev/sda 安全擦除 类似安全擦除: hdparm –yes-i-know-what-i-am-doing –sanitize-crypto-scramle /dev/sdx hdparm –yes-i-know-what-i-am-doing –sanitize-status /dev/sdx b.设置硬盘容量(硬盘必须直连服务器,通过raid卡无法执行此项指令) ...
The running kernel lacks CONFIG_IDE_TASK_IOCTL support for this device. SECURITY_ERASE: Invalid argument Environment Red Hat Enterprise Linux 7 Red Hat Enterprise Linux 8 Red Hat Enterprise Linux 9Subscriber exclusive content A Red Hat subscription provides unlimited access to our knowledgebase, tools...
hdparm --user-master u --security-erase PASSWORD /dev/sda 安全擦除 类似安全擦除: hdparm –yes-i-know-what-i-am-doing –sanitize-crypto-scramle /dev/sdx hdparm –yes-i-know-what-i-am-doing –sanitize-status /dev/sdx 2、设置硬盘容量(硬盘必须直连服务器,通过raid卡无法执行此项指令) ...
A bash script to securely erase ATA disks, runs the SECURITY ERASE UNIT command using hdparm. If successful, clears all SSD memory cells (should reset a drive to factory write-performance state.) hdparmata-security-erase UpdatedDec 18, 2018 ...
hdparm -I /dev/sdc 检查磁盘security状态,如果frezen直接热插拔,然后再次检查该磁盘状态,如果状态切换到了not frozen则可以进行secure erase操作 07 Linux下查看CPU型号,内存大小,硬盘空间的命令(详解) # cat /proc/cpuinfo | grep "physical id" | uniq | wc -l ...