Power saving on file server

Heikki Koivisto
Heikki Koivisto
132 بار بازدید - پارسال - Here is how to configure
Here is how to configure external hard drive power management so that the drive spins up when the file share is active and goes into power-saving mode when it is not in use.

Here is previous video where we configured Samba server:
setup a file share server on a Raspbe...

here's some commands:
sudo hdparm -B /dev/sda

smb.conf

[global]
 Spin down idle drives after 10 minutes
  idle spin delay = 600
[myshare]
  comment = My shared folder
  path = /mnt/mydrive
  browseable = yes
  read only = no
  guest ok = no
  create mask = 0755
  directory mask = 0755
  valid users = pi
  preexec = /usr/sbin/hdparm -B 255 /dev/sda
پارسال در تاریخ 1401/12/12 منتشر شده است.
132 بـار بازدید شده
... بیشتر