![]() It’s by far the most polished option, but it costs 10 USD on the Mac App Store. The first and sleekest option is the AutoMounter app. What the best option is will depend on your needs and price sensitivity (most options are free). I’ll list the different options in order of feature completeness and ease of use. All the options discussed in this article will be front ends built on top of what’s already built into MacOS. MacOS supports a lot of different network share protocols: SMB, NFS, and WebDAV plus the legacy AFP and FTP (read-only) protocols. Here are five different options for auto-mounting network share on MacOS. Some apps can fail to launch if they depend on files stored on an unmounted network share. ![]() To configure it, you can edit the /etc/config/hd-idle file and then autostart and run the hd-idle service service hd-idle enable & service hd-idle start.It can be annoying to have to constantly remount network drives and network shares. To install the CLI package (without LuCi): To configure it, use the “Services” menu of the LuCi web GUI of your device. Opkg update & opkg install luci-app-hd-idle To install the package that even has LuCi frontend integration: Unlike the permanent spindown command from hdparm, a lot more USB2.0-SATA cases seem to support this “spindown-now” SATA command. Once the defined timeout counter reaches 0, it will send a “live” spindow SATA command to the disk. Option: hd-idle (With LuCi integration) hd-idle is a service than runs in the background of the OpenWrt device and maintains its own idletimeout counter. # set timeout to put the drive into idle (low-power) mode /sbin /hdparm -S 240 /dev /sda2Ģ. For persistent changes use /etc/rc.local file, like: The harddisk firmware itself manages the spindown timeout, not a OpenWrt service. Depending on your harddisk, the value may be active until the next reset or permanently stored on the harddisk. Of course you can always change the timeout or disable auto-spindown again later on. ![]() to set a reasonable idle timeout of 20 minutes on the harddisk, use:Ģ41 to 251 specify from 1 to 11 units of 30 minutes, for timeouts from 30 minutes to 5.5 hours. But fortunately most USB3.0-SATA-cases seem to support the required SATA command.Į.g. Unfortunately many older USB2.0-PATA/SATA-adapters do not support the required SATA command, although even decade-old harddisks do support it. So no OpenWrt service has to be run in the background for this and 'hdparm' could even be uninstalled after setting this parameter. Its actually just a command line interface for a built-in harddisk function. This tool permanently saves a spindown timer on the harddisk itself, using standardized SATA disk commands (the harddisk will then remember that spindown-timer value, even if turned off, even after a restart and even if attached to a different device). Both require installing optional packages on OpenWrt. There are different options, to automatically spin down the motor of the attached harddisk after a certain time of inactivity. when using a home-edition harddisk (instead of a 24×7-datacenter edition). Either because you want to have it quiet in your room during nighttime or to increase lifetime of the harddisk (e.g. If you want to use OpenWrt as a permanent NAS, you might want to spin down the harddisk motor during times of inactivity.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |