Koozali.org: home of the SME Server

hdparm

Trampas

hdparm
« on: July 24, 2002, 05:56:05 PM »
Hi, I tired to turn the DMA feature of my hard drive on using the how to:

http://myezserver.com/downloads/mitel/howto/hdparm-howto.html

however after reboot it still says the DMA is off. Any suggestions?

Thanks

Trampas

Re: hdparm
« Reply #1 on: July 24, 2002, 06:05:13 PM »
I checked in the /home/e-smith/configuration file and I have the following:

hdparm=service|InitscriptOrder:40:status:enabled

I previous ran into a problem where I was debugging the NTP after which the ipchains would not allow access to port 110. I had to manually remove the offending line. My thoughts were that rebooting would rebuild the ipchains which did not happen. Is it possible that on reboot the system is not rebuilding the configuration files?

Thanks
Trampas

Jáder Marasca

Re: hdparm
« Reply #2 on: July 24, 2002, 08:39:41 PM »
I suggest you to edit rc.d/rc.local file and put there ALL commands to change HDPARM parameters.
On one server I had " hdparm -c1d1X34m16 /dev/hda "  so I just add a line at the end of file with this command!

guestHH

Re: hdparm
« Reply #3 on: July 24, 2002, 10:22:50 PM »
Hi,

'hdparm -k1 /dev/hda' makes the server 'keep' the changes.

Regards,
guestHH

Trampas

Re: hdparm
« Reply #4 on: July 24, 2002, 10:39:41 PM »
I tried doing a
hdparm -k1 /dev/hda
followed by a reboot and it still did not enable the DMA. Is their something I am missing here?

Trampas

Trampas

Re: hdparm
« Reply #5 on: July 24, 2002, 10:53:34 PM »
I finally found the man pages and typed:

hdparm -d1 /dev/hda

then I tried:

hdparam -Tt /dev/hda

Which then returned "Input/output error"

Anyone know why? is the DMA not working on my controller?

Thanks
Trampas

guestHH

Re: hdparm
« Reply #6 on: July 25, 2002, 12:01:42 AM »
What result do you get when you enter the command hdparm -d 1 /hda

I mean the system message you get on your console

Bill Talcott

Re: hdparm
« Reply #7 on: July 25, 2002, 02:09:51 AM »
Starting with the simple stuff you forget... The hardware does support it, and it's enabled in the BIOS, right?

Trampas Stern

Re: hdparm
« Reply #8 on: July 25, 2002, 03:12:16 AM »
My hard drive does support it and I could not find any place in the bios to enable or disable it. Also when I do a hdparm -i it shows up as being supported.

When I do hdparm -d1 /dev/hda it return the correct results however after which if I try a reboot I get an error saying it can not read the hard drive.

Thanks
Trampas

Trampas Stern

Re: hdparm
« Reply #9 on: July 25, 2002, 03:21:20 AM »
OK, I am a idiot. The DMA feature was burried on another screen in the bios

Thanks
Trampas