Applicable Products
QTS
QuTS hero
Solutions
This section provides step-by-step instructions to diagnose why your NAS drives fail to enter standby mode. If Solution 1 does not resolve the issue, proceed to Solution 2 for advanced analysis.
Solution 1: Disable Services and Apps
Many built-in services and apps on your NAS may prevent your drives from entering standby mode due to routine system access. Check the following list and disable unnecessary apps and services. Before you proceed, ensure that you have enabled disk standby mode following the steps below.
- Log in to your NAS as an administrator.
- Open Control Panel.
- Go to System > Hardware.
- Select Enable disk standby mode: The status LED will turn off if there is no access within.
- Click Apply.
Important
While standby mode reduces power consumption, frequent spin-ups and spin-downs cause more wear and tear compared to constant spinning. This poses a risk to disk health. Therefore, we recommend setting a power schedule instead of using standby mode. For instructions, see the "Configuring the Power Schedule" section in the
QTS User Guide.
Disable NAS Built-in Services
Disabling certain NAS built-in services can help prevent excessive network activity and allow your drives to enter standby mode.
- Disable UPnP Port Forwarding
- Log in to your NAS.
- Open myQNAPcloud.
- Click
on the top right corner.
A warning message appears. - Click OK.
- Select Auto Router Configuration.
- Disable the UPnP Port Forwarding toggle switch.
- Disable Microsoft Networking
- Log in to your NAS.
- Open Control Panel.
- Go to Network & File Services > Win/Mac/NFS/WebDAV.
- Deselect Enable file services for Microsoft Networking (SMB).
- Disconnect Unnecessary Devices
Disconnect devices that do not require frequent access to your NAS. - Disable DMZ and Port Forwarding
Disable Demilitarized Zone (DMZ) and port forwarding on your router or firewall if your NAS is connected to the internet. These settings expose your NAS to unsolicited access, compromising NAS security. - Remove Mapped Shared Folders
Remove mapped shared folders on computers that are constantly accessing your NAS. - Use a Wired Ethernet Connection
Connect your NAS to the network using an Ethernet cable instead of a USB Wi-Fi dongle. - Complete Indexing and Thumbnail Generation
When you upload data, your NAS indexes files and generates media thumbnails. This may take some time, depending on the number of files, and the drives remain active during the process.
Disable QNAP Apps
If you suspect the following apps are causing issues, disable them in App Center. Refer to the descriptions provided to determine which apps should be disabled. For instructions, see the "Enabling or Disabling an App" section in the QTS User Guide.
- AMIZcloud Agent: Routinely collects system resources, status and performance data.
- Container Station: Check if containers are running. If running, they keep your drives active
- Download Station: Check if Download Station or are running download or upload tasks. If running, they keep your drives active.
- DA Drive Analyzer: Regularly collects disk health information.
- HDP for SaaS: Routinely accesses cloud services to synchronize and back up cloud data.
- Helpdesk
- HybridMount: File Cloud Gateway routinely accesses cloud services to synchronize files.
- HBS 3 Hybrid Backup Sync
- Multimedia Console
- Media Streaming add-on
- Notes Station 3
- NetBak Replicator: Routinely searches for your NAS on the network.
- OceanKTV: Routinely synchronizes recommended playlists with online databases.
- Q'center Agent: Routinely collects disk health and monitoring information.
- Q'center Server: Routinely stores information sent from your NAS.
- QuFirewall
- QmailAgent: Routinely accesses and checks email accounts to synchronize and back up emails.
- Virtualization Station: Check if virtual machines are running. If running, they keep your drives active
- Qfinder Pro: Routinely searches for your NAS on the network.
- QVPN Service
- Security Center: Includes Security Advisory, which notifies you of new security advisories when logging into the NAS, and Unusual File Activity Monitoring, which monitors unusual file behaviors. If enabled, these features may keep your drives active.
Disable Third-Party Apps
Disable the following third-party apps in App Center. For instructions, see the "Enabling or Disabling an App" section in the QTS User Guide.
- P2P Apps
- Mattermost
- McAfee Antivirus
- Plex Media Server
Solution 2: Analyze File Modifications
If disabling services and apps does not resolve the issue, you can use the following steps to identify the specific app that prevents your hard drives from spinning down.
- Access your NAS via SSH. For instructions, see this tutorial.
- Execute the following command in the terminal.
cd /dev/shm; wget https://eu1.qnap.com/Storage/tsd/utility/standby_debug.sh -O standby_debug.sh ; sudo sh standby_debug.sh
The SSH terminal displays a list of the most recently modified files on your NAS. The file that appears at the bottom of the list might be what prevents your NAS from entering standby mode. - Verify the status LED on your NAS turns off after the terminal output stops updating. This indicates the drive has successfully entered standby mode.
- Open File Station 5 on your NAS.
- Click the Public folder on the left panel.
- Right-click the newly created standby test log.
- Select Download.
- Open the downloaded standby test log.
- Examine the lines indicating "Last file modification". See the following for an example.
Last file modification: Wed Mar 9 15:15:46 2022/share/CACHEDEV1_DATA/.qpkg/Qcenter/qnap-cms/var/log/rrd_pregen.log.
This indicates that Q'center performed a write operation, preventing the disk from spinning down. - Disable the app identified in the file path. For instructions, see the "Enabling or Disabling an App" section in the QTS User Guide.
Further Reading
Can the NAS control External HDDs Standby mode?
适用产品
QTS
QuTS hero
解决方案
本节提供逐步说明,以诊断您的 NAS 硬盘为何无法进入待机模式。如果解决方案 1 未能解决问题,请继续进行解决方案 2 以进行优异分析。
解决方案 1:禁用服务和应用程序
NAS 上的许多内置服务和应用程序可能由于常规系统访问而阻止硬盘进入待机模式。请检查以下列表并禁用不必要的应用程序和服务。在继续之前,请确保已按照以下步骤启用磁盘待机模式。
- 以管理员身份登录到您的 NAS。
- 打开控制台。
- 转到 系统 > 硬件。
- 选择启用磁盘待机模式:如果在内没有访问,状态 LED 将关闭。
- 点击应用。
重要提示
虽然待机模式可以降低功耗,但频繁的启动和停止比持续旋转会导致更多的磨损。这对磁盘健康构成风险。因此,我们建议设置电源计划而不是使用待机模式。有关说明,请参阅
QTS 用户指南中的“配置电源计划”部分。
禁用 NAS 内置服务
禁用某些 NAS 内置服务可以帮助防止过多的网络活动,并允许硬盘进入待机模式。
- 禁用 UPnP 端口转发
- 登录到您的 NAS。
- 打开 myQNAPcloud。
- 点击
右上角。
出现警告信息。 - 点击确定。
- 选择自动路由器配置。
- 禁用UPnP 端口转发 切换开关。
- 禁用 Microsoft 网络
- 登录到您的 NAS。
- 打开控制台。
- 转到网络和文件服务 > Win/Mac/NFS/WebDAV。
- 取消选择启用 Microsoft 网络 (SMB) 的文件服务。
- 断开不必要的设备连接
断开那些不需要频繁访问 NAS 的设备连接。 - 禁用 DMZ 和端口转发
如果您的 NAS 连接到互联网,请在路由器或防火墙上禁用隔离区(DMZ)和端口转发。这些设置会使您的 NAS 暴露于未经请求的访问,危及 NAS 的安全。 - 移除映射的共享文件夹
移除在计算机上映射的、持续访问您 NAS 的共享文件夹。 - 使用有线以太网连接
使用以太网电缆将您的 NAS 连接到网络,而不是使用 USB Wi-Fi 适配器。 - 完整索引和缩略图生成
当您上传数据时,您的 NAS 会索引文件并生成媒体缩略图。根据文件数量,这可能需要一些时间,并且在此过程中驱动器会保持活跃。
禁用 QNAP 应用
如果您怀疑以下应用导致问题,请在 App Center 中禁用它们。请参阅提供的描述以确定应禁用哪些应用。有关说明,请参阅QTS 用户指南中的“启用或禁用应用”部分。
- AMIZcloud Agent:定期收集系统资源、状态和性能数据。
- Container Station:检查容器是否正在运行。如果正在运行,它们会使您的硬盘保持活跃
- 下载站:检查下载站是否正在运行下载或上传任务。如果正在运行,它们会使您的硬盘保持活跃。
- DA Drive Analyzer:定期收集磁盘健康信息。
- HDP for SaaS:定期访问云服务以同步和备份云数据。
- 帮助台
- HybridMount: 文件云网关定期访问云服务以同步文件。
- HBS 3 Hybrid Backup Sync
- Multimedia Console
- 媒体流附加组件
- Notes Station 3
- NetBak Replicator:定期在网络上搜索您的 NAS。
- OceanKTV:定期与在线数据库同步推荐播放列表。
- Q'center Agent:定期收集磁盘健康和监控信息。
- Q'center Server:定期存储从您的 NAS 发送的信息。
- QuFirewall
- QmailAgent:定期访问和检查电子邮件帐户以同步和备份电子邮件。
- Virtualization Station:检查虚拟机是否正在运行。如果正在运行,它们会使您的硬盘保持活跃
- Qfinder Pro:定期在网络上搜索您的 NAS。
- QVPN VPN 服务器
- 安全中心: 包括安全公告,当登录到 NAS 时通知您新的安全公告,以及异常文件活动监控,监控异常文件行为。如果启用,这些功能可能会使您的硬盘保持活跃。
禁用第三方应用
在 App Center 中禁用以下第三方应用。有关说明,请参阅QTS 用户指南中的“启用或禁用应用程序”部分。
- P2P 应用
- Mattermost
- McAfee 杀毒软件
- Plex 媒体服务器
解决方案 2:分析文件修改
如果禁用服务和应用程序不能解决问题,您可以使用以下步骤识别阻止硬盘进入休眠状态的特定应用程序。
- 通过 SSH 访问您的 NAS。有关说明,请参阅此教程。
- 在终端中执行以下命令。
cd /dev/shm; wget https://eu1.qnap.com/Storage/tsd/utility/standby_debug.sh -O standby_debug.sh ; sudo sh standby_debug.sh
SSH 终端显示 NAS 上较近修改的文件列表。列表底部显示的文件可能是阻止 NAS 进入待机模式的原因。 - 验证 NAS 上的状态 LED 在终端输出停止更新后是否关闭。这表明驱动器已成功进入待机模式。
- 在您的 NAS 上打开 File Station 5。
- 点击左侧面板上的Public 文件夹。
- 右键单击新创建的待机测试日志。
- 选择下载。
- 打开下载的待机测试日志。
- 检查指示“较后文件修改”的行。请参见以下示例。
较后文件修改:Wed Mar 9 15:15:46 2022/share/CACHEDEV1_DATA/.qpkg/Qcenter/qnap-cms/var/log/rrd_pregen.log。
这表明 Q'center 执行了写操作,阻止了磁盘进入休眠状态。 - 禁用文件路径中标识的应用程序。有关说明,请参阅QTS 用户指南中的“启用或禁用应用程序”部分。
进一步阅读
NAS 能否控制外部硬盘的待机模式?