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!

M1015 in IT mode drives detected as SCSI drives no spindown

Hard disks, HDD, RAID Hardware, disk controllers, SATA, PATA, SCSI, IDE, On Board, USB, Firewire, CF (Compact Flash)
Forum rules
Set-Up GuideFAQsForum Rules
VECCTOR
NewUser
NewUser
Posts: 1
Joined: 11 Mar 2013 22:17
Status: Offline

Re: M1015 in IT mode drives detected as SCSI drives no spind

Post by VECCTOR »

neptunus wrote:I also came across: http://www.noresult.net/freebsd/spindown/
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.
craigr wrote:Got spindown running nicely with the aid of these two pages/posts:

viewtopic.php?f=72&t=210

http://barbz.com.au/blog/?p=665

This is great! Thanks for all the help.

craigr
Which directories did you have to union for spindown? Is it these?

/usr/local/sbin
/usr/local/etc/rc.d

craigr
NewUser
NewUser
Posts: 12
Joined: 11 Jun 2013 16:00
Status: Offline

Re: M1015 in IT mode drives detected as SCSI drives no spind

Post by craigr »

VECCTOR wrote:
neptunus wrote:I also came across: http://www.noresult.net/freebsd/spindown/
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.
craigr wrote:Got spindown running nicely with the aid of these two pages/posts:

viewtopic.php?f=72&t=210

http://barbz.com.au/blog/?p=665

This is great! Thanks for all the help.

craigr
Which directories did you have to union for spindown? Is it these?

/usr/local/sbin
/usr/local/etc/rc.d
Image

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

User avatar
dnar
Starter
Starter
Posts: 65
Joined: 27 Apr 2013 10:38
Location: Perth Australia
Status: Offline

Re: M1015 in IT mode drives detected as SCSI drives no spind

Post 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"
NAS 1: NAS4Free 9.3.0.2 x64 embedded, Intel Core 2 E8400, 8GB, 6 x WD Green 1TB in RAIDZ2, Highpoint 2720 SAS x 8 card 6Gbps
NAS 2: NAS4Free 10.2.0.2 x64 embedded, Intel Core i3-3220, 8GB, 7 x WD Green 750GB in RAIDZ1, onboard SATA 3Gbps

twoj
Starter
Starter
Posts: 26
Joined: 29 Dec 2012 00:06
Status: Offline

Re: M1015 in IT mode drives detected as SCSI drives no spind

Post 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.

drdoo
Starter
Starter
Posts: 17
Joined: 24 Sep 2013 14:26
Status: Offline

Re: M1015 in IT mode drives detected as SCSI drives no spind

Post by drdoo »

nvm

mbze430
experienced User
experienced User
Posts: 95
Joined: 20 Nov 2014 05:41
Status: Offline

Re: M1015 in IT mode drives detected as SCSI drives no spindown

Post 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?
NAS #1 - 11.2.0.4 - Omnius (revision 6625) - SuperMicro X10SL7-F w/ 24GB ECC - LSI SAS 9207-16i - 2x RAIDZ1 (10x3TB) Pools and 1x (2x4TB) Stripe Pool
NAS #2 - 11.2.0.4 - Omnius (revision 6625) - SuperMicro X10SLM-F w/32GB ECC - LSI SAS 9207-8i (RAID10) - IBM M1015-IT Mode (RAID10)

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

Re: M1015 in IT mode drives detected as SCSI drives no spindown

Post 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.

mbze430
experienced User
experienced User
Posts: 95
Joined: 20 Nov 2014 05:41
Status: Offline

Re: M1015 in IT mode drives detected as SCSI drives no spindown

Post by mbze430 »

regarding spindown usage...


NVM
NAS #1 - 11.2.0.4 - Omnius (revision 6625) - SuperMicro X10SL7-F w/ 24GB ECC - LSI SAS 9207-16i - 2x RAIDZ1 (10x3TB) Pools and 1x (2x4TB) Stripe Pool
NAS #2 - 11.2.0.4 - Omnius (revision 6625) - SuperMicro X10SLM-F w/32GB ECC - LSI SAS 9207-8i (RAID10) - IBM M1015-IT Mode (RAID10)

Post Reply

Return to “Hard disk & controller”