LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-29-2003, 04:04 AM   #1
box_l
Member
 
Registered: Jul 2003
Location: Hereford,England
Distribution: mandrake 10 , Novell Desktop Linux (suse) , knoppix
Posts: 85

Rep: Reputation: 15
using hdparm?


having read an article in linuxformat about speeding up your hard drive i decided to give it a go.
hdparm will give me all the info that i need, but will not reset the parameters i wish to change.

if i type:
hdparm -c1 /dev/hda7 (my home)

i get the response:

/dev/hda7:
setting 32-bit IO_support flag to 1
HDIO_SET_32BIT failed: invalid argument
IO_support = 0 (default 16-bit)

i have tried this with other parameters such as -m16, -d1 etc.
but get the same response.
where am i going wrong??

BoX_L
 
Old 09-29-2003, 04:12 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you are attempting to set these attributes on a disk partition and not an actual hard drive entry. use "/dev/hda"
 
Old 09-29-2003, 04:19 AM   #3
box_l
Member
 
Registered: Jul 2003
Location: Hereford,England
Distribution: mandrake 10 , Novell Desktop Linux (suse) , knoppix
Posts: 85

Original Poster
Rep: Reputation: 15
woohoo!!

many thanks for the swift and correct response!
i can now speed up my drive,
and probably damage it in the process!
 
Old 09-30-2003, 04:36 AM   #4
box_l
Member
 
Registered: Jul 2003
Location: Hereford,England
Distribution: mandrake 10 , Novell Desktop Linux (suse) , knoppix
Posts: 85

Original Poster
Rep: Reputation: 15
great, i made my changes and now console one opens like lightning,
but... when i reboot all these settings have returned to previous values?!
why?
how do get them to stay?
 
Old 09-30-2003, 04:59 PM   #5
R3N3G4D3
LQ Newbie
 
Registered: Apr 2003
Distribution: Ubuntu 7.04, RedHat 4.4
Posts: 22

Rep: Reputation: 15
hdparm is a temporary command that keeps the settings only until you reboot your pc, to keep them add the settings to fstab
 
Old 10-01-2003, 06:28 AM   #6
box_l
Member
 
Registered: Jul 2003
Location: Hereford,England
Distribution: mandrake 10 , Novell Desktop Linux (suse) , knoppix
Posts: 85

Original Poster
Rep: Reputation: 15
aha! thankyou!
 
Old 10-01-2003, 07:35 AM   #7
box_l
Member
 
Registered: Jul 2003
Location: Hereford,England
Distribution: mandrake 10 , Novell Desktop Linux (suse) , knoppix
Posts: 85

Original Poster
Rep: Reputation: 15
umm.. i thought you could only appy these settings to the drive not the volumes?
do you have an example fstab?
 
Old 10-01-2003, 07:49 AM   #8
box_l
Member
 
Registered: Jul 2003
Location: Hereford,England
Distribution: mandrake 10 , Novell Desktop Linux (suse) , knoppix
Posts: 85

Original Poster
Rep: Reputation: 15
have found som other thread that suggest editing /etc/rc.local.
will follow that
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
hdparm refdoc Ubuntu 5 09-08-2005 07:07 PM
hdparm Crumpet84 Linux - Newbie 1 04-16-2005 12:53 PM
help with hdparm minm Linux - Newbie 1 02-18-2005 12:14 PM
hdparm ash4stuff Linux - Hardware 4 08-14-2003 03:05 AM
hdparm -g NOT= hdparm -i ---LILO hangs @ L stevewalsh Linux - General 4 07-23-2001 09:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration