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:檢查容器是否正在運行。如果正在運行,它們會使您的硬碟保持活躍
- Download Station:檢查 Download Station 是否正在運行下載或上傳任務。如果正在運行,它們會使您的硬碟保持活躍。
- DA Drive Analyzer:定期收集磁碟健康資訊。
- HDP for SaaS:定期存取雲端服務以同步和備份雲端數據。
- Helpdesk
- HybridMount: 檔案型雲網關定期存取雲端服務以同步檔案。
- HBS 3 Hybrid Backup Sync
- Multimedia Console
- Media Streaming add-on
- 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 Antivirus
- Plex Media Server
解決方案 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 能否控制外接硬碟的待命模式?