Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hdparm questions on some errors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Nephlim_rx7
n00b
n00b


Joined: 03 Jun 2002
Posts: 18

PostPosted: Sun Jun 23, 2002 7:12 pm    Post subject: hdparm questions on some errors Reply with quote

I'm reading through the forum finding many topics on hdparm, how this may increase performance, etc.

When I run hdparm, should I be attempting to make changes to te settings to /dev/hdb or /dev/hdb1?

I error out when I run it on /dev/hdb1
I successfully accomplish settings change when running it on /dev/hdb

example...

hdparm -c1 -d1 -k1 /dev/hdb1

/dev/hdb1:
setting 32-bit I/O support flag to 1
HDIO_SET_32BIT failed: Invalid argument
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Invalid argument
setting keep_settings to 1 (on)
HDIO_SET_KEEPSETTINGS failed: Invalid argument
I/O support = 1 (32-bit)
using_dma = 1 (on)
keepsettings = 1 (on)


hdparm -c1 -d1 -k1 /dev/hdb

setting 32-bit I/O support flag to 1
setting using_dma to 1 (on)
setting keep_settings to 1 (on)
I/O support = 1 (32-bit)
using_dma = 1 (on)
keepsettings = 1 (on)

Am I too assume that hdparm is to be run on the entire drive - /dev/hdb, rather than the linux parition itself /dev/hdb1??

If thats the case than /dev/hdb has been updated by the looks of the settings thereby making the appropriate changes to the linux partion??

Thanks.

N.
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Sun Jun 23, 2002 10:16 pm    Post subject: Reply with quote

hdparm effects changes on the hard disk -- it has nothing to do with file systems or partitions. That's why attempting to set values on /dev/hdb1 will give you errors while /dev/hdb does not.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum