Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sat Jun 23, 2018 10:43 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Mon Sep 08, 2008 7:04 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
"Spindown is a daemon that can spindown idle disks and so saving energy and giving the disks a longer lifetime. It works by checking how many blocks are read and written from the disks. When no blocks are read or written the disk is idle. When a disk stays idle long enough spindown uses sg_start to spin the disk down. It also works with usb disks and hotswappable disks because it doesn't watch the device name (hda, sdb, ...), but the device id. This means that it doesn't matter if the disk is swapped while the deamon is running."

http://hvkls.dyndns.org/downloads/docum ... ndown.html


Top
   
PostPosted: Tue Jan 27, 2009 4:27 pm 
Offline
Newbie

Joined: Mon Jan 21, 2008 3:23 am
Posts: 60
Has anyone tried this yet?


Top
   
PostPosted: Tue Jan 27, 2009 5:52 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
Me? It spins down my external hard drives reliably, the internal HDD is always too busy.

# cat /etc/spindown.conf
# /dev/hda
[DISK 0]
id = ata-Hitachi_HDT725050VLAT80_VF2700R4CWK14A
spindown = 1
command = hdparm -y
# mybook
[DISK 1]
id = usb-WD_10EACS_External_57442D572231534A31353936393833
spindown = 1
command = sg_start --stop --pc=3
# drivestation
[DISK 2]
id = usb-USB-HS_WDC_WD2500CA-00T_000008026BBF
spindown = 1
command = sg_start --stop --pc=3


Top
   
PostPosted: Tue Jan 27, 2009 7:58 pm 
Offline
Newbie

Joined: Mon Jan 21, 2008 3:23 am
Posts: 60
Mr. Admin

So you're saying its good for drives other than the hd where the system files of the NAS resides? Well, it possible to system standby the NAS drive much like Hibernate or standy in windows?


Top
   
PostPosted: Tue Jan 27, 2009 8:53 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
Spindownd does indeed spin my USB drives down after a configurable period of time. They have got ext3 file systems, mounted with the "noatime,nodiratime" option. There are too many I/O operations here for the internal HDD to ever spin down, as I'm running a webserver.

Spinning disks down is not the same as putting the system to sleep. You can achieve the latter with the Buffalo firmware or OpenLink via the webinterface, or with avr_evtd on FreeLink (Debian). If you need more information, please provide a few details on your hard- and software.


Top
   
PostPosted: Thu Aug 20, 2009 3:02 am 
Offline
Newbie
User avatar

Joined: Tue Feb 21, 2006 3:13 am
Posts: 44
Location: Warren, MI
The laptop-mode-tools are working fine for me. Works like a charm on the system disk. However, I don't have a lot going on. It's my portal to the planet, from an IP address all forum moderators know by now :) The port is a random one from somewhere around 7 to 65535 :)

TheWitness


Top
   
PostPosted: Tue Oct 13, 2009 6:30 am 
Offline
Newbie

Joined: Sat Mar 21, 2009 7:13 am
Posts: 8
Hi,

I tried this, but there are no binaries to download.
Compilation doesn't work at my Linkstation Pro.

Does anyone has the binaries for the Linkstation Pro or any hint how I can get this to work?

I tried the tool hdparam (hope I wrote it correctly), but it says it doesn't work for SCSI disks.
Actually I don't have a SCSI disk but an external USB device.

May be any hints on this.

What I want is to activate a spindown after an idle period for my external Seagate Free Agent Pro drive.

bye Stephan...


Top
   
PostPosted: Tue Oct 13, 2009 7:32 am 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
http://hvkls.dyndns.org/downloads/docum ... ndown.html
http://hvkls.dyndns.org/downloads/docum ... dparm.html

http://hvkls.dyndns.org/downloads/spind ... ppc.tar.gz
http://hvkls.dyndns.org/downloads/sdpar ... ppc.tar.gz

That combo can spin down external USB disks for me.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited