Date: Sat, 10 Mar 2001 00:04:14 -0600 From: "J. Seth Henry" <jshenry@net-noise.com> To: "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG> Subject: APM for SCSI? Message-ID: <EBEDLIEDDOIIJDGEKFFDMEJPCAAA.jshenry@net-noise.com>
next in thread | raw e-mail | index | archive | help
Actually, APM might not be the right word. What I am really looking for is a way to shutdown my raid array, and then spin down all the disks when it isn't in use. Although right now, the array is on a semi-public network, it will eventually be on a private network. There is little need to have it up and running, consuming 145W of power day in and day out. I realize that, like my Windows machine, there might be a bit of delay upon restarting the array, but that seems better than leaving running all the time. So far, I have tried a shell script called by cron which unmounts the volume, shuts the vinum volume, and then proceeds to call camcontrol to individually stop each of the elements. The problem is that they then start spinning up a few minutes later. I assume that the kernel is polling them. The other problem is that, with vinum down and the volume unmounted, I have to manually start everything back up to access it. Of course, the ultimate would be a system that could detect when the array hasn't been used for, say, an hour - and automate the shutdown. I've noticed that if I manually shut the drives, but leave vinum running, accessing the array will cause the elements to automatically spin up. Unfortunately, it also shortens the time before the disks spin up - regardless of activity. Is there a way to accomplish this easily? Thanks, Seth Henry jshenry@net-noise.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EBEDLIEDDOIIJDGEKFFDMEJPCAAA.jshenry>