Re: [newbie] HD spin down
On Sat, 20 Oct 2001, Sridhar Dhanapalan wrote: OK, I did this: hdparm -S 6 /dev/hda hdparm -S 6 /dev/hdb to set both HD's to spin down after 30 seconds, just to test and see if it would work. It didn't, and I didn't see anything for troubleshooting on either the man page, or at mandrakeuser.org. Whats my next move? I don't think there's meant to be a space between the S and the number. Here's what I use: hdparm -c1d1S242 /dev/hda You can ignore the c1d1 here. Notice, however, the S242 (242 = 1 hour) on the end of the tag. Also, there may be background processes that still require the filesystem. I don't think 30 seconds would be long enough for everything to settle down. Try setting the interval to a few minutes, and then try it when there's nothing else (including X) running. Another thing to consider is your filesystem. If you use ReiserFS, the FS is polled every five minutes. This makes spindowns unlikely to work for drives with mounted ReiserFS partitions. Ext2, swap and FAT are fine in this regard. I don't know about the other journalling FSs. Hmm...OK, I tried taking out the space, but the same thing happened, ie the output told me the same thing, so I think it works with the space too. But, it still didn't work...and I do use ReiserFS. Guess it's time to kick this one up to the expert list, eh? Thanks for your help, Sridhar... peace, Rog The guy was all over the place. I had to swerve a number of times before I hit him Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] HD spin down
On Fri, 19 Oct 2001 15:53:02 -0400 (EDT) Roger Sherman [EMAIL PROTECTED] wrote: On Sat, 20 Oct 2001, Sridhar Dhanapalan wrote: OK, I did this: hdparm -S 6 /dev/hda hdparm -S 6 /dev/hdb to set both HD's to spin down after 30 seconds, just to test and see if it would work. It didn't, and I didn't see anything for troubleshooting on either the man page, or at mandrakeuser.org. Whats my next move? I don't think there's meant to be a space between the S and the number. Here's what I use: hdparm -c1d1S242 /dev/hda You can ignore the c1d1 here. Notice, however, the S242 (242 = 1 hour) on the end of the tag. Also, there may be background processes that still require the filesystem. I don't think 30 seconds would be long enough for everything to settle down. Try setting the interval to a few minutes, and then try it when there's nothing else (including X) running. Another thing to consider is your filesystem. If you use ReiserFS, the FS is polled every five minutes. This makes spindowns unlikely to work for drives with mounted ReiserFS partitions. Ext2, swap and FAT are fine in this regard. I don't know about the other journalling FSs. Hmm...OK, I tried taking out the space, but the same thing happened, ie the output told me the same thing, so I think it works with the space too. But, it still didn't work...and I do use ReiserFS. Guess it's time to kick this one up to the expert list, eh? Thanks for your help, Sridhar... Try installing drivetweak. It is on CD3 of 8.1 and is a GUI frontend to hdpram. Using a GUI for to adjust the settings you need not worry about the syntax being wrong. Charles (-: Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] HD spin down
On Fri, 19 Oct 2001, Roger Sherman wrote: On Sat, 20 Oct 2001, Sridhar Dhanapalan wrote: OK, I did this: hdparm -S 6 /dev/hda hdparm -S 6 /dev/hdb to set both HD's to spin down after 30 seconds, just to test and see if it would work. It didn't, and I didn't see anything for troubleshooting on either the man page, or at mandrakeuser.org. Whats my next move? I don't think there's meant to be a space between the S and the number. Here's what I use: hdparm -c1d1S242 /dev/hda You can ignore the c1d1 here. Notice, however, the S242 (242 = 1 hour) on the end of the tag. Also, there may be background processes that still require the filesystem. I don't think 30 seconds would be long enough for everything to settle down. Try setting the interval to a few minutes, and then try it when there's nothing else (including X) running. Another thing to consider is your filesystem. If you use ReiserFS, the FS is polled every five minutes. This makes spindowns unlikely to work for drives with mounted ReiserFS partitions. Ext2, swap and FAT are fine in this regard. I don't know about the other journalling FSs. Hmm...OK, I tried taking out the space, but the same thing happened, ie the output told me the same thing, so I think it works with the space too. But, it still didn't work...and I do use ReiserFS. Guess it's time to kick this one up to the expert list, eh? Thanks for your help, Sridhar... Sridhar, someone just sent me a note suggesting that my thanks to you was less than sincere...hope you didn't take it that way, since without you I wouldn't even have known about hdparm. Thanks again! peace, Rog The guy was all over the place. I had to swerve a number of times before I hit him peace, Rog The guy was all over the place. I had to swerve a number of times before I hit him Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] HD spin down
On Fri, 19 Oct 2001, Charles A Edwards wrote: Try installing drivetweak. It is on CD3 of 8.1 and is a GUI frontend to hdpram. Using a GUI for to adjust the settings you need not worry about the syntax being wrong. Charles (-: I don't think that would work for me, as I use 7.2. Thanks anyways! :-) peace, Rog The guy was all over the place. I had to swerve a number of times before I hit him Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] HD spin down
rgds Frank Hauptle. Fire up webmin, then go to hardware, then I think its under partitions or something, there is an IDE parameters section.. you can modify your hdparm settings in there, and if they work, (you can test it from there as well) cut and paste the results onto the end of your rc.local file... It works well,, or at least it did for me. I did it on 7.2, and for my second hard disk on 8.1, which drakopt didn't like.. doubled the speed on my second harddrive and no errors... good stuff, and webmin gives you some good info on the vrious options as well. rgds Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Roger Sherman Sent: Saturday, 20 October 2001 5:35 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] HD spin down On Fri, 19 Oct 2001, Charles A Edwards wrote: Try installing drivetweak. It is on CD3 of 8.1 and is a GUI frontend to hdpram. Using a GUI for to adjust the settings you need not worry about the syntax being wrong. Charles (-: I don't think that would work for me, as I use 7.2. Thanks anyways! :-) peace, Rog The guy was all over the place. I had to swerve a number of times before I hit him Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] HD spin down
The HDPARM GUI test is buried in one of the CDs somewhere. It's amazing how many programs are NOT installed off the 3 CD set, even if you've selected everything. -JMS |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]] On Behalf Of Franki |Sent: Friday, October 19, 2001 5:48 PM |To: [EMAIL PROTECTED] |Subject: RE: [newbie] HD spin down | | | | |rgds | | |Frank Hauptle. | | | |Fire up webmin, then go to hardware, then I think its under |partitions or something, there is an IDE parameters section.. | |you can modify your hdparm settings in there, and if they |work, (you can test it from there as well) cut and paste the |results onto the end of your rc.local file... | |It works well,, or at least it did for me. I did it on 7.2, |and for my second hard disk on 8.1, which drakopt didn't like.. | |doubled the speed on my second harddrive and no errors... good |stuff, and webmin gives you some good info on the vrious |options as well. | | | | |rgds | |Frank | | | |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On |Behalf Of Roger |Sherman |Sent: Saturday, 20 October 2001 5:35 AM |To: [EMAIL PROTECTED] |Subject: Re: [newbie] HD spin down | | |On Fri, 19 Oct 2001, Charles A Edwards wrote: | | | | Try installing drivetweak. | It is on CD3 of 8.1 and is a GUI frontend to hdpram. | Using a GUI for to adjust the settings you need not worry about the | syntax being wrong. | |Charles (-: | | |I don't think that would work for me, as I use 7.2. Thanks anyways! :-) | | | | | | | |peace, | |Rog | |The guy was all over the place. I had to swerve a number of |times before I hit him | | | | | Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] HD spin down
Nope, you have got it,, test it, then try something and test it again, and so on and so forth... it may take a while but keep a record of what you do and what paramaters you are passing hdparm, and watch for error messages on the box... keep a record of your best results and use those parameters.. rgds Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Roger Sherman Sent: Saturday, 20 October 2001 6:08 AM To: [EMAIL PROTECTED] Subject: RE: [newbie] HD spin down On Sat, 20 Oct 2001, Franki wrote: Fire up webmin, then go to hardware, then I think its under partitions or something, there is an IDE parameters section.. OK so far... you can modify your hdparm settings in there, and if they work, (you can test it from there as well) cut and paste the results onto the end of your rc.local file... OK, there are two buttons here...one that says apply to disk, the other says Test Speed. When I hit that button it says: Speed test results Buffered: 25.75 MB/sec Buffer cache 2.63 MB/sec Nothing about whether or not the hdparm setting would have any effect. Is there another testing procedure I'm not seeing? It works well,, or at least it did for me. I did it on 7.2, and for my second hard disk on 8.1, which drakopt didn't like.. doubled the speed on my second harddrive and no errors... good stuff, and webmin gives you some good info on the vrious options as well. rgds Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Roger Sherman Sent: Saturday, 20 October 2001 5:35 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] HD spin down On Fri, 19 Oct 2001, Charles A Edwards wrote: Try installing drivetweak. It is on CD3 of 8.1 and is a GUI frontend to hdpram. Using a GUI for to adjust the settings you need not worry about the syntax being wrong. Charles (-: I don't think that would work for me, as I use 7.2. Thanks anyways! :-) peace, Rog The guy was all over the place. I had to swerve a number of times before I hit him peace, Rog The guy was all over the place. I had to swerve a number of times before I hit him Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] HD spin down
On Sat, 20 Oct 2001, Franki wrote: Nope, you have got it,, test it, then try something and test it again, and so on and so forth... it may take a while but keep a record of what you do and what paramaters you are passing hdparm, and watch for error messages on the box... keep a record of your best results and use those parameters.. OK man, thanks! :-) rgds Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Roger Sherman Sent: Saturday, 20 October 2001 6:08 AM To: [EMAIL PROTECTED] Subject: RE: [newbie] HD spin down On Sat, 20 Oct 2001, Franki wrote: Fire up webmin, then go to hardware, then I think its under partitions or something, there is an IDE parameters section.. OK so far... you can modify your hdparm settings in there, and if they work, (you can test it from there as well) cut and paste the results onto the end of your rc.local file... OK, there are two buttons here...one that says apply to disk, the other says Test Speed. When I hit that button it says: Speed test results Buffered: 25.75 MB/sec Buffer cache 2.63 MB/sec Nothing about whether or not the hdparm setting would have any effect. Is there another testing procedure I'm not seeing? It works well,, or at least it did for me. I did it on 7.2, and for my second hard disk on 8.1, which drakopt didn't like.. doubled the speed on my second harddrive and no errors... good stuff, and webmin gives you some good info on the vrious options as well. rgds Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Roger Sherman Sent: Saturday, 20 October 2001 5:35 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] HD spin down On Fri, 19 Oct 2001, Charles A Edwards wrote: Try installing drivetweak. It is on CD3 of 8.1 and is a GUI frontend to hdpram. Using a GUI for to adjust the settings you need not worry about the syntax being wrong. Charles (-: I don't think that would work for me, as I use 7.2. Thanks anyways! :-) peace, Rog The guy was all over the place. I had to swerve a number of times before I hit him peace, Rog The guy was all over the place. I had to swerve a number of times before I hit him peace, Rog Registered Linux user #190719 The guy was all over the place. I had to swerve a number of times before I hit him Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] HD spin down
On Fri, 19 Oct 2001 11:43:55 -0400 (EDT), Roger Sherman [EMAIL PROTECTED] wrote: On Fri, 19 Oct 2001, Roger Sherman wrote: On Fri, 19 Oct 2001, Sridhar Dhanapalan wrote: On Thu, 18 Oct 2001 23:17:35 -0400 (EDT), Roger Sherman [EMAIL PROTECTED] wrote: I don't think my hard drives are spinning down when I leave the machine unattended for a while. I like to leave the PC on pretty much 24/7, so obviously it would be good for the lives of the hard drives if they were to spin down. Can anyone tell me what to set to get them to do that? peace, Rog This can be done with hdparm, the same command that is used to optimise drive speeds. For more info, see the man page and the tutorial at mandrakeuser.org. OK, I did this: hdparm -S 6 /dev/hda hdparm -S 6 /dev/hdb to set both HD's to spin down after 30 seconds, just to test and see if it would work. It didn't, and I didn't see anything for troubleshooting on either the man page, or at mandrakeuser.org. Whats my next move? peace, Rog I don't think there's meant to be a space between the S and the number. Here's what I use: hdparm -c1d1S242 /dev/hda You can ignore the c1d1 here. Notice, however, the S242 (242 = 1 hour) on the end of the tag. Also, there may be background processes that still require the filesystem. I don't think 30 seconds would be long enough for everything to settle down. Try setting the interval to a few minutes, and then try it when there's nothing else (including X) running. Another thing to consider is your filesystem. If you use ReiserFS, the FS is polled every five minutes. This makes spindowns unlikely to work for drives with mounted ReiserFS partitions. Ext2, swap and FAT are fine in this regard. I don't know about the other journalling FSs. -- Sridhar Dhanapalan If Bill Gates had a dime for every time a Windows box crashed... ...Oh, wait a minute, he already does. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] HD spin down
On Sat, 20 Oct 2001, Franki wrote: Fire up webmin, then go to hardware, then I think its under partitions or something, there is an IDE parameters section.. OK so far... you can modify your hdparm settings in there, and if they work, (you can test it from there as well) cut and paste the results onto the end of your rc.local file... OK, there are two buttons here...one that says apply to disk, the other says Test Speed. When I hit that button it says: Speed test results Buffered: 25.75 MB/sec Buffer cache 2.63 MB/sec Nothing about whether or not the hdparm setting would have any effect. Is there another testing procedure I'm not seeing? It works well,, or at least it did for me. I did it on 7.2, and for my second hard disk on 8.1, which drakopt didn't like.. doubled the speed on my second harddrive and no errors... good stuff, and webmin gives you some good info on the vrious options as well. rgds Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Roger Sherman Sent: Saturday, 20 October 2001 5:35 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] HD spin down On Fri, 19 Oct 2001, Charles A Edwards wrote: Try installing drivetweak. It is on CD3 of 8.1 and is a GUI frontend to hdpram. Using a GUI for to adjust the settings you need not worry about the syntax being wrong. Charles (-: I don't think that would work for me, as I use 7.2. Thanks anyways! :-) peace, Rog The guy was all over the place. I had to swerve a number of times before I hit him peace, Rog The guy was all over the place. I had to swerve a number of times before I hit him Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] HD spin down
On Fri, 19 Oct 2001 17:28:42 -0400 (EDT), Roger Sherman [EMAIL PROTECTED] wrote: On Fri, 19 Oct 2001, Roger Sherman wrote: On Sat, 20 Oct 2001, Sridhar Dhanapalan wrote: OK, I did this: hdparm -S 6 /dev/hda hdparm -S 6 /dev/hdb to set both HD's to spin down after 30 seconds, just to test and see if it would work. It didn't, and I didn't see anything for troubleshooting on either the man page, or at mandrakeuser.org. Whats my next move? I don't think there's meant to be a space between the S and the number. Here's what I use: hdparm -c1d1S242 /dev/hda You can ignore the c1d1 here. Notice, however, the S242 (242 = 1 hour) on the end of the tag. Also, there may be background processes that still require the filesystem. I don't think 30 seconds would be long enough for everything to settle down. Try setting the interval to a few minutes, and then try it when there's nothing else(including X) running. Another thing to consider is your filesystem. If you use ReiserFS, the FS is polled every five minutes. This makes spindowns unlikely to work for drives with mounted ReiserFS partitions. Ext2, swap and FAT are fine in this regard. I don't know about the other journalling FSs. Hmm...OK, I tried taking out the space, but the same thing happened, ie the output told me the same thing, so I think it works with the space too. But, it still didn't work...and I do use ReiserFS. Guess it's time to kick this one up to the expert list, eh? Thanks for your help, Sridhar... Sridhar, someone just sent me a note suggesting that my thanks to you was less than sincere...hope you didn't take it that way, since without you I wouldn't even have known about hdparm. Thanks again! Less than sincere? No, I didn't take it that way at all. Don't worry about it :) peace, Rog The guy was all over the place. I had to swerve a number of times before I hit him -- Sridhar Dhanapalan Anyone who says you can have a lot of widely dispersed people hack away on a complicated piece of code and avoid total anarchy has never managed a software project. -- Andrew S. Tanenbaum, 1992, writing to Linus Torvalds. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com