DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th November 2008
sim sim is offline
Confirmation Amnesiac
 
Join Date: Jun 2008
Location: London
Posts: 13
Thanked 1 Time in 1 Post
Default Possible to idle / spin-down SCSI drives?

Hi all

I have a FreeBSD 7.0 box which takes nightly rsnapshots of other machines. The snapshots are stored on a dedicated SCSI RAID-1 array, independent of the OS which is on a low-power 2.5" IDE drive.

In these cost/energy conscious times, is it possible to spin-down the SCSIs? They're only required for about 15 minutes a day, and the rest of the time they're hot, noisy and chewing power (and money) pointlessly!

I know of, and have used, ataidle for IDE drives. Is there an equiv for SCSI?

Controller is a Dell PERC 320/DC (nee Adaptec 2200S), running two Seagate 10k Barracudas. I can switch to an LSI MegaRAID that I have lying about if that would make any difference. (I understand the LSI cards have more functional management tools in FreeBSD).

Any help would be greatly appreciated!

/sim
Reply With Quote
  #2   (View Single Post)  
Old 5th November 2008
bsddaemon bsddaemon is offline
Slack Daemon
 
Join Date: Oct 2008
Posts: 35
Thanked 3 Times in 3 Posts
Default

I use camcontrol to spin down HDD.

In order to use camcontrol, you need to know the device identifier. The easiest form is the one which is extracted from the device node, e.g:

- Device node: /dev/da1s1

=> Device identifier: da1s1.

Now run the following command:

#camcontrol stop da1s1
__________________
...then the God created man...
Reply With Quote
  #3   (View Single Post)  
Old 6th November 2008
sim sim is offline
Confirmation Amnesiac
 
Join Date: Jun 2008
Location: London
Posts: 13
Thanked 1 Time in 1 Post
Default

Ah ok, I'll give that a go, thanks.

I take it camcontrol is for manual control only? So I'd need to modify my backup scripts to manually start and stop the drives.

Thanks,

/sim
Reply With Quote
  #4   (View Single Post)  
Old 6th November 2008
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,135
Thanked 182 Times in 149 Posts
Default

Don't forget to allow the drives to spin up to full speed. You can do that easily by using sleep(1).
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing IDE to SCSI felix001 FreeBSD General 3 19th May 2009 11:52 AM
ati hd3650 fan spin up/down ephemera General Hardware 4 14th April 2009 04:35 AM
can't access ZFS drives Bubba_HoTep FreeBSD General 6 6th November 2008 02:06 PM
Automounting drives jwhal OpenBSD General 4 12th June 2008 05:00 PM
Spin locks and interrupts disabling n4uti1us FreeBSD General 5 20th May 2008 01:51 PM


All times are GMT. The time now is 12:32 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick