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卡无法执行此项指令) yum install sg3_utils.x86_64 sg_readcap /dev/sdb hdparm-N VP --yes-i-know-what-i...
-c Get/set IDE 32-bit IO setting -C Check drive power mode status -d Get/set using_dma flag -D Enable/disable drive defect management -E Set cd/dvd drive speed -f Flush buffer cache for device on exit -F Flush drive write cache -g Display drive geometry -h Display terse usage inf...
-c Get/set IDE 32-bit IO setting -C Check drive power mode status -d Get/set using_dma flag -D Enable/disable drive defect management -E Set cd/dvd drive speed -f Flush buffer cache for device on exit -F Flush drive write cache -g Display drive geometry -h Display terse usage inf...
-c Get/set IDE 32-bit IO setting -C Check drive power mode status -d Get/set using_dma flag -D Enable/disable drive defect management -E Set cd/dvd drive speed -f Flush buffer cache for device on exit -F Flush drive write cache -g Display drive geometry -h Display terse usage inf...
hdparm –yes-i-know-what-i-am-doing –sanitize-status /dev/sdx 2、设置硬盘容量(硬盘必须直连服务器,通过raid卡无法执行此项指令) yum install sg3_utils.x86_64 sg_readcap /dev/sdb hdparm -N VP --yes-i-know-what-i-am-doing /dev/sdb (VP: certain LBA blocks) ...
hdparm –yes-i-know-what-i-am-doing –sanitize-status /dev/sdx b.设置硬盘容量(硬盘必须直连服务器,通过raid卡无法执行此项指令) yum install sg3_utils.x86_64 sg_readcap /dev/sdb hdparm -N VP --yes-i-know-what-i-am-doing /dev/sdb (VP: certain LBA blocks) ...
Options:-aGet/setfs readahead-AGet/setthe drive look-ahead flag (0/1)-bGet/setbus state (0==off,1==on,2==tristate)-BSetAdvanced Power Management setting (1-255)-cGet/setIDE32-bit IO setting-CCheckdrive power mode status-dGet/setusing_dma flag-D Enable/disable drive defect management...
-C Check drive power mode status -d Get/set using_dma flag -D Enable/disable drive defect management -E Set cd/dvd drive speed -f Flush buffer cache for device on exit -F Flush drive write cache -g Display drive geometry -h Display terse usage information ...
hdparm[options]...[device]...hdparm[参数]...[设备]...Options:-a Get/setfs readahead-AGet/setthe drive look-aheadflag(0/1)-b Get/setbusstate(0==off,1==on,2==tristate)-BSet Advanced Power Managementsetting(1-255)-c Get/setIDE32-bitIOsetting-CCheck drive power mode status-d Get...
Options:-a Get/set fs readahead -A Get/set the drive look-ahead flag (0/1)-b Get/set bus state (0 == off, 1 == on, 2 == tristate)-B Set Advanced Power Management setting (1-255)-c Get/set IDE 32-bit IO setting -C Check drive power mode status -d ...