View previous topic :: View next topic |
Author |
Message |
Nephlim_rx7 n00b
Joined: 03 Jun 2002 Posts: 18
|
Posted: Sun Jun 23, 2002 7:12 pm Post subject: hdparm questions on some errors |
|
|
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 |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Sun Jun 23, 2002 10:16 pm Post subject: |
|
|
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 |
|
|
|