Page 2 of 2
Re: M1015 in IT mode drives detected as SCSI drives no spind
Posted: 20 Jun 2013 21:17
by VECCTOR
I think there are a lot of people using LSI-based cards, so this would be a great package to include with nas4free by default.
Which directories did you have to union for spindown? Is it these?
/usr/local/sbin
/usr/local/etc/rc.d
Re: M1015 in IT mode drives detected as SCSI drives no spind
Posted: 21 Jun 2013 05:21
by craigr
VECCTOR wrote:
I think there are a lot of people using LSI-based cards, so this would be a great package to include with nas4free by default.
Which directories did you have to union for spindown? Is it these?
/usr/local/sbin
/usr/local/etc/rc.d
I have been trying to get smart to work, but I haven't had any luck. I tried adding the "/usr/local/etc/smartd.conf" file with the following codes, but none have worked:
Code: Select all
/dev/da0 -a -d sat
/dev/da1 -a -d ata
/dev/da2 -d sat
/dev/da3 -d ata
I also tried adding all of the above to the "S.M.A.R.T. extra options" through the GUI and that hasn't worked either. Has anyone gotten smart to work?
craigr
Re: M1015 in IT mode drives detected as SCSI drives no spind
Posted: 07 Aug 2013 08:05
by dnar
craigr wrote:
Then I edited my rc.conf file so that the last three lines are as below.
nano /etc/rc.conf
Code: Select all
#Enable Spindown
spindown_enable="YES"
spindown_flags="-b -d da0 -d da1 -d da2 -d da3 -d da4 -d da5 -t 300"
craigr
The error here is the timeout must be specified BEFORE the devices. In your example above the default of 600 seconds will be used.
Code: Select all
-t idle time at which a device will spin down (defaults to 600 sec-
onds) this option can be specified more than one. -d options
specified will use the last -t option encountered before the -d
option itself.
You should try:
Code: Select all
spindown_flags="-b -t 300 -d da0 -d da1 -d da2 -d da3 -d da4 -d da5"
Re: M1015 in IT mode drives detected as SCSI drives no spind
Posted: 14 Nov 2013 00:02
by twoj
Finally a working spin down for drives on the M1015!
It took a little putting together stuff but it is working now.
Thanks to everyone for their contribution to this, it really was one of the biggest issues I had with N4F.
I think it would be really great to include this package by default in N4F.
One way of testing a SCSI drive is to use the command;
camcontrol tur dax
ex. camcontrol tur da0
this should return;
Unit is ready = disk is spinning
or
Unit is not ready = disk is not spinning
In my builds I install the N4F on USB sticks and I have another USB stick that I use for scripts. I installed the Union FS on the second USB stick and things are working well.
Re: M1015 in IT mode drives detected as SCSI drives no spind
Posted: 14 Nov 2013 14:42
by drdoo
nvm
Re: M1015 in IT mode drives detected as SCSI drives no spindown
Posted: 04 Dec 2014 10:11
by mbze430
I am also trying to get spindown to work on my 9650SE controller.
I got to the unionfs part but the link
http://barbz.com.au/blog/?p=665 doesn't work anymore... can someone fill me in the information from that link to get spindown working?
Re: M1015 in IT mode drives detected as SCSI drives no spindown
Posted: 09 Jan 2015 22:35
by Delta1981
@mbze430:
From N4F version 1283 the freebsd spindown package has been added, maybe this package wil also work with your controller.
My M1015 in IT mode works fine with this package with the command loaded as postinit, see this site for information:
http://www.noresult.net/freebsd/spindown/
My postinit command is like: spindown -b -i 900 -t 900 -d da1 -d da2 -d da3 -d da4 -d da6 -d da7
Good luck.
Re: M1015 in IT mode drives detected as SCSI drives no spindown
Posted: 31 Jan 2015 21:07
by mbze430
regarding spindown usage...
NVM