SSH command to put NAS into sleep mode

Share your awesome tips and tricks here.
Post Reply
User avatar
Gunthor
Posts: 116
youtube meble na wymiar Warszawa
Joined: Sun Jun 23, 2013 6:04 pm
Location: Germany - Stuttgart

SSH command to put NAS into sleep mode

Post by Gunthor »

I have read [HOW TO] Run your own script on system startup and would like to write a script that will put the NAS into sleep mode automatically after the HDDs did not get used for e. g. 30 minutes.

So far the reboot and poweroff commands work as expected. However, the sbin/shutdown command does not exist and using halt causes my NAS to freeze :!:

Kindly let me know the SSH command to put my NAS (Asustor AS-604RS) into sleep mode :?:
Since 07/2023: Asustor AS6702T, (2 x Seagate IronWolf 12TB, RAID 1)
Old: Asustor AS-604RS, ADM 3.1.2.RHG1 (4 x WD Red WD30EFRX 3TB, RAID 5)
User avatar
Gunthor
Posts: 116
Joined: Sun Jun 23, 2013 6:04 pm
Location: Germany - Stuttgart

Re: SSH command to put NAS into sleep mode

Post by Gunthor »

OK I found it - it's not a command but a script:

Code: Select all

etc/init.d/NASsuspend
... and works as expected 8-)
Since 07/2023: Asustor AS6702T, (2 x Seagate IronWolf 12TB, RAID 1)
Old: Asustor AS-604RS, ADM 3.1.2.RHG1 (4 x WD Red WD30EFRX 3TB, RAID 5)
Post Reply

Return to “Tips & Tricks”