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!
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
-
Delta1981
- NewUser

- Posts: 5
- Joined: 31 Dec 2013 15:49
- Location: Netherlands
- Status: Offline
Request: Package spindown-0.3a
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.
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

- Posts: 125
- Joined: 11 Jul 2012 07:46
- Location: Sydney, Australia
- Status: Offline
Re: Request: Package spindown-0.3a
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 :
Note the raw value. Then run
After that, run the smratctl command again :
You will notice that the command will take a little longer to appear and it has incremented.
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_CountCode: Select all
camcontrol stop da1Code: Select all
smartctl -a /dev/da1 |grep Start_Stop_Count-
Delta1981
- NewUser

- Posts: 5
- Joined: 31 Dec 2013 15:49
- Location: Netherlands
- Status: Offline
Re: Request: Package spindown-0.3a
Hello RedAntz,
Thanks for the reply, i'll try your camcontrol commands for the spindown of the harddrives.
Thanks for the reply, i'll try your camcontrol commands for the spindown of the harddrives.
- ChriZathens
- Forum Moderator

- Posts: 758
- Joined: 23 Jun 2012 09:14
- Location: Athens, Greece
- Contact:
- Status: Offline
Re: Request: Package spindown-0.3a
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..
Stopping manually the disks is not the best solution..
My Nas
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
- Case: Fractal Design Define R2
- M/B: Supermicro x9scl-f
- CPU: Intel Celeron G1620
- RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
- PSU: Chieftec 850w 80+ modular
- Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
- O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
- 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

- Posts: 25
- Joined: 26 Feb 2013 07:17
- Status: Offline
Re: Request: Package spindown-0.3a
Sounds to me like a life changing solution 
Seriously...
Seriously...
- b0ssman
- Forum Moderator

- Posts: 2438
- Joined: 14 Feb 2013 08:34
- Location: Munich, Germany
- Status: Offline
Re: Request: Package spindown-0.3a
+1 for spindown to be included.
dont worry about webgui or so just include it.
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

- Posts: 30
- Joined: 26 Jun 2012 21:07
- Status: Offline
Re: Request: Package spindown-0.3a
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.
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
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 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
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

- Posts: 5
- Joined: 31 Dec 2013 15:49
- Location: Netherlands
- Status: Offline
Re: Request: Package spindown-0.3a
Thanks for this solution, i'll try this with my server.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.
The '-t' option spinsdowns da[0-9] after 3600 seconds and '-i' option is the interval in seconds for checking for activityCode: 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
Spindown man pae
-
Delta1981
- NewUser

- Posts: 5
- Joined: 31 Dec 2013 15:49
- Location: Netherlands
- Status: Offline
Re: Request: Package spindown-0.3a
I just noticed that from version R1232 (http://sourceforge.net/p/nas4free/code/commit_browser) the spindown package has been added.
Thank you developers.
Thank you developers.