This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Request: Package spindown-0.3a

Post/Debate your Suggestions & Requests of XigmaNAS here. This ONLY pertains to XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Delta1981
NewUser
NewUser
Posts: 5
Joined: 31 Dec 2013 15:49
Location: Netherlands
Status: Offline

Request: Package spindown-0.3a

Post by Delta1981 »

Hello,

Is is possible to add the package spindown-0.3a to the embedded version of Nas4free?

With this package it is possible to spindown harddrives that are connected to a LSI raid card (M1015), normal spindown commands don't work on certain raid cards.

Information for spindown-0.3a:

Comment:
SCSI/firewire harddrive spindown daemon

Description:
SCSI / firewire harddrive spindown daemon

This is a small program for handling automated spinning down of
SCSI harddrives. With SCSI devices it is not as common to spindown
for power management purposes as for ATA however it might be required
to spin down a disk contained in a firewire enclosure for instance.

WWW: http://www.noresult.net/freebsd/spindown/


Thanx.
Last edited by Delta1981 on 18 Jan 2014 21:19, edited 1 time in total.

RedAntz
experienced User
experienced User
Posts: 125
Joined: 11 Jul 2012 07:46
Location: Sydney, Australia
Status: Offline

Re: Request: Package spindown-0.3a

Post by RedAntz »

Hi Delta1981,

Thanks for your suggestions. I am aware that power management is not working with cam and will review if this fits to the solution.

If you are using IBM M1015 and want to handle this manually, you can use 'camcontrol' command to handle that for now. To test :

Code: Select all

smartctl -a /dev/da1 |grep Start_Stop_Count
Note the raw value. Then run

Code: Select all

camcontrol stop da1
After that, run the smratctl command again :

Code: Select all

smartctl -a /dev/da1 |grep Start_Stop_Count
You will notice that the command will take a little longer to appear and it has incremented.

Delta1981
NewUser
NewUser
Posts: 5
Joined: 31 Dec 2013 15:49
Location: Netherlands
Status: Offline

Re: Request: Package spindown-0.3a

Post by Delta1981 »

Hello RedAntz,

Thanks for the reply, i'll try your camcontrol commands for the spindown of the harddrives.

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 758
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: Request: Package spindown-0.3a

Post by ChriZathens »

If LSI cards don't support spin down via the normal way, then I second this request, since spin down does not work for me, either...
Stopping manually the disks is not the best solution..
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

sodalimon
Starter
Starter
Posts: 25
Joined: 26 Feb 2013 07:17
Status: Offline

Re: Request: Package spindown-0.3a

Post by sodalimon »

Sounds to me like a life changing solution :)
Seriously...

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Request: Package spindown-0.3a

Post by b0ssman »

+1 for spindown to be included.

dont worry about webgui or so just include it.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

danic
Starter
Starter
Posts: 30
Joined: 26 Jun 2012 21:07
Status: Offline

Re: Request: Package spindown-0.3a

Post by danic »

The solution I have for my NAS running the embedded version and SAS2008 based cards is add this to the Command Scripts Section (Post Init). It requires that the NAS has internet at boot time.

Code: Select all

pkg_add -r spindown && /usr/local/sbin/spindown -b -p /var/run/spindown.pid -t 3600 -d da0 -d da1 -d da2 -d da3 -d da4 -d da5 -d da6 -d da7 -d da8 -d da9 -i 60 
The '-t' option spinsdowns da[0-9] after 3600 seconds and '-i' option is the interval in seconds for checking for activity
Spindown man pae
Danic
Nas4Free - AMD X4 960T - GIGABYTE 990FXA-UD3 - 16GB RAM - IBM M1015/IT - Intel RS2WC080/IT- 6x 3TB - 4x 320GB - 3x 640GB - 120GB SSD - 240GB SSD

Delta1981
NewUser
NewUser
Posts: 5
Joined: 31 Dec 2013 15:49
Location: Netherlands
Status: Offline

Re: Request: Package spindown-0.3a

Post by Delta1981 »

danic wrote:The solution I have for my NAS running the embedded version and SAS2008 based cards is add this to the Command Scripts Section (Post Init). It requires that the NAS has internet at boot time.

Code: Select all

pkg_add -r spindown && /usr/local/sbin/spindown -b -p /var/run/spindown.pid -t 3600 -d da0 -d da1 -d da2 -d da3 -d da4 -d da5 -d da6 -d da7 -d da8 -d da9 -i 60 
The '-t' option spinsdowns da[0-9] after 3600 seconds and '-i' option is the interval in seconds for checking for activity
Spindown man pae
Thanks for this solution, i'll try this with my server.

Delta1981
NewUser
NewUser
Posts: 5
Joined: 31 Dec 2013 15:49
Location: Netherlands
Status: Offline

Re: Request: Package spindown-0.3a

Post by Delta1981 »

I just noticed that from version R1232 (http://sourceforge.net/p/nas4free/code/commit_browser) the spindown package has been added.

Thank you developers.

Post Reply

Return to “Suggestions & Requests”