Qnap 设置 APM 254

 fdisk -l

 

– Go to the ‘Application servers’ area in the admin control panel… then to the ‘QPKG’ area. From here I installed and activated ‘Optaware.’ This will install the ipkg system for Linux. -打开 网页服务器 -打开 连接 http://192.168.1.xx:80/Optware/ -搜索 hdparm 点击 install -SSH 服务打开 登陆 ssh 运行 hdparm- hdparm -B 254 /dev/sda 返回的结果 [~] # hdparm -B 254 /dev/sda /dev/sda: setting Advanced Power Management level to 0xFE (254) HDIO_DRIVE_CMD failed: Invalid argument

 

 等待完全启动 再运行

 

hdparm-hdparm -B 254 /dev/sda

hdparm-hdparm -B 254 /dev/sdb


– Go to the ‘Application servers’ area in the admin control panel… then to the ‘QPKG’ area. From here I installed and activated ‘Optaware.’ This will install the ipkg system for Linux.

– Now log out of any telnet/SSH connection and re login with admin / root authority and type … ipkg install hdparm

– You should now see the latest verison being dowbloaded and installed

– You will now essentially have two hdparm apps installed so the original hdparm commands wont work… instead you’ll probably need to use hdparm-hdparm to start your string. E.G. ‘hdparm-hdparm -B 254 /dev/sda’