View previous topic :: View next topic |
Author |
Message |
bingobob Apprentice
Joined: 05 Apr 2004 Posts: 296 Location: Hertfordshire, UK
|
Posted: Tue Aug 15, 2006 4:03 pm Post subject: Which Hard Disk to Choose for hda |
|
|
I have three old HDDs lying around and would like advice on which one is best to use;
One is this (installed at the moment hence the dmesg output)...
hda: Maxtor 86480D6, ATA DISK drive
hda: max request size: 128KiB
hda: 12594960 sectors (6448 MB) w/256KiB Cache, CHS=13328/15/63, UDMA(33)
hda: cache flushes not supported
One alternative is this
WD200BB View EIDE Hard Drives 20 GB, 100 MB/s, 2 MB Cache, 7200 RPM - 20 gig
and one is this....
Hard drive - ATA-33 - 33.3 MBps - None - 17 gig
2nd question is I seem to have differnet IDE cables some have thinner wires and others have thicker wires, do I need to be careful which I use ?
cheers
bb |
|
Back to top |
|
|
chrbecke Guru
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Tue Aug 15, 2006 4:07 pm Post subject: |
|
|
Choose the 20 GB drive, it is the biggest and fastest of the 3. |
|
Back to top |
|
|
bingobob Apprentice
Joined: 05 Apr 2004 Posts: 296 Location: Hertfordshire, UK
|
Posted: Tue Aug 15, 2006 4:10 pm Post subject: |
|
|
Thanks I will.
And the IDE cables - do they make a difference or if it works is that it ? |
|
Back to top |
|
|
chrbecke Guru
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Tue Aug 15, 2006 4:20 pm Post subject: |
|
|
Oh, sorry. Forgot about the cables... Use the ones with the thinner wires (should also have twice as much wires as the one with the thicker wires) or you will get into trouble when running the disk in DMA mode (which you should do to get maximum speed). |
|
Back to top |
|
|
bingobob Apprentice
Joined: 05 Apr 2004 Posts: 296 Location: Hertfordshire, UK
|
Posted: Tue Aug 15, 2006 4:36 pm Post subject: |
|
|
ok great...thanks for the prompt responses - v clear...I only have one of the high speed cables so I've used that on the main disk (where the system will reside) and it's on the primary IDE channel. I suppose I can get another cable whenever..on now for a clean install of gentoo - yikes. |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Wed Aug 16, 2006 9:49 am Post subject: |
|
|
not all 80 wire connectors are DMA100.
look at hdparm -I /dev/hda to see what the capabilities of the drive are an whether it is connecting at it's best rate.
if not a small investment will boost your system nicely.
_________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
bingobob Apprentice
Joined: 05 Apr 2004 Posts: 296 Location: Hertfordshire, UK
|
Posted: Wed Aug 16, 2006 4:53 pm Post subject: |
|
|
Interesting...I have the system up and running now, HDA is the hard dsik originally discussed....As I said I have the older style cable on the 2nd IDEA channel (a hdd and CDROM connected to it)...
Is this why dmesg reports UDMA(33) for one HDD? (the one on the secondary IDE channel - i.e. when i get a cable will i likely get UDMA(100) or (133) from this disk)?
Code: | dmesg | grep hd
Kernel command line: root=/dev/hda3
ide0: BM-DMA at 0xa400-0xa407, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xa408-0xa40f, BIOS settings: hdc:DMA, hdd:DMA
hda: WDC WD200BB-60BNA1, ATA DISK drive
hdb: Maxtor 6Y120L0, ATA DISK drive
hdc: Compaq CRD-8484B, ATAPI CD/DVD-ROM drive
hdd: WDC WD1200BB-00DWA0, ATA DISK drive
hda: max request size: 128KiB
hda: 39102336 sectors (20020 MB) w/2048KiB Cache, CHS=38792/16/63, UDMA(100)
hda: cache flushes not supported
hda: hda1 hda2 hda3
hdb: max request size: 128KiB
hdb: 240121728 sectors (122942 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(133)
hdb: cache flushes supported
hdb: hdb1
hdd: max request size: 512KiB
hdd: 234441648 sectors (120034 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(33)
hdd: cache flushes supported
hdd: hdd1
hdc: ATAPI 48X CD-ROM drive, 128kB Cache, DMA
EXT3 FS on hda3, internal journal
Adding 506036k swap on /dev/hda2. Priority:-1 extents:1 across:506036k |
hdparm output....
Code: |
franz ~ # hdparm -I /dev/hda
/dev/hda:
ATA device, with non-removable media
Model Number: WDC WD200BB-60BNA1
Serial Number: WD-WMA6U1125858
Firmware Revision: 18.20D18
Standards:
Supported: 5 4 3 2
Likely used: 6
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 39102336
device size with M = 1024*1024: 19092 MBytes
device size with M = 1000*1000: 20020 MBytes (20 GB)
Capabilities:
LBA, IORDY(can be disabled)
bytes avail on r/w long: 40 Queue depth: 1
Standby timer values: spec'd by Standard, with device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Recommended acoustic management value: 128, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* Look-ahead
* Write cache
* Power Management feature set
SMART feature set
Automatic Acoustic Management feature set
SET MAX security extension
* DOWNLOAD MICROCODE cmd
Security:
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
HW reset results:
CBLID- above Vih
Device num = 0 determined by CSEL
franz ~ #
franz ~ # hdparm -I /dev/hdb
/dev/hdb:
ATA device, with non-removable media
Model Number: Maxtor 6Y120L0
Serial Number: Y3NPYFEE
Firmware Revision: YAR41BW0
Standards:
Supported: 7 6 5 4
Likely used: 7
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 240121728
device size with M = 1024*1024: 117246 MBytes
device size with M = 1000*1000: 122942 MBytes (122 GB)
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 1
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 0
Advanced power management level: unknown setting (0x0000)
Recommended acoustic management value: 192, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* NOP cmd
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* Look-ahead
* Write cache
* Power Management feature set
Security Mode feature set
SMART feature set
* FLUSH CACHE EXT command
* Mandatory FLUSH CACHE command
* Device Configuration Overlay feature set
* Automatic Acoustic Management feature set
SET MAX security extension
Advanced Power Management feature set
* DOWNLOAD MICROCODE cmd
* SMART self-test
* SMART error logging
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
HW reset results:
CBLID- above Vih
Device num = 1 determined by CSEL
Checksum: correct
franz ~ #
franz ~ # hdparm -I /dev/hdc
/dev/hdc:
ATAPI CD-ROM, with removable media
Model Number: Compaq CRD-8484B
Serial Number:
Firmware Revision: 1.04
Standards:
Used: ATAPI for CD-ROMs, SFF-8020i, r2.5
Supported: CD-ROM ATAPI-1
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(can be disabled)
DMA: mdma0 mdma1 *mdma2
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* DEVICE RESET cmd
* PACKET command feature set
Automatic Acoustic Management feature set
franz ~ #
franz ~ # hdparm -I /dev/hdd
/dev/hdd:
ATA device, with non-removable media
Model Number: WDC WD1200BB-00DWA0
Serial Number: WD-WMAEH1444812
Firmware Revision: 15.05R15
Standards:
Supported: 6 5 4 3
Likely used: 6
Configuration:
Logical max current
cylinders 16383 65535
heads 16 1
sectors/track 63 63
--
CHS current addressable sectors: 4128705
LBA user addressable sectors: 234441648
LBA48 user addressable sectors: 234441648
device size with M = 1024*1024: 114473 MBytes
device size with M = 1000*1000: 120034 MBytes (120 GB)
Capabilities:
LBA, IORDY(can be disabled)
bytes avail on r/w long: 74 Queue depth: 1
Standby timer values: spec'd by Standard, with device specific minimum
R/W multiple sector transfer: Max = 16 Current = 0
Recommended acoustic management value: 128, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* Look-ahead
* Write cache
* Power Management feature set
Security Mode feature set
SMART feature set
* FLUSH CACHE EXT command
* Mandatory FLUSH CACHE command
* Device Configuration Overlay feature set
* 48-bit Address feature set
Automatic Acoustic Management feature set
SET MAX security extension
* DOWNLOAD MICROCODE cmd
* SMART self-test
* SMART error logging
Security:
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
HW reset results:
CBLID- above Vih
Device num = 1 determined by the jumper
Checksum: correct
franz ~ #
|
|
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Wed Aug 16, 2006 5:25 pm Post subject: |
|
|
Quote: | DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5 |
yep hdd is being held back , presumably by the cable. Should do UDMA(100)
_________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
bingobob Apprentice
Joined: 05 Apr 2004 Posts: 296 Location: Hertfordshire, UK
|
Posted: Wed Aug 16, 2006 5:47 pm Post subject: |
|
|
Great - thanks for the confirmation - I will open up a machine or two and swap things around.
ta
bb |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Wed Aug 16, 2006 5:56 pm Post subject: |
|
|
then try a few hdparm -tT /dev/hda tests to see how the speeds line for each drive.
_________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
linuxtuxhellsinki l33t
Joined: 15 Nov 2004 Posts: 700 Location: Hellsinki
|
Posted: Thu Aug 17, 2006 2:01 pm Post subject: |
|
|
Gentree wrote: | Quote: | DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5 |
yep hdd is being held back , presumably by the cable. Should do UDMA(100)
|
Isn't that CD-drive at the same channel lower that speed (& cable)
I think you can't get that UDMA100 speed when thay're in the same channel (if I'm wrong, please enlighten me) _________________ 1st use 'Search' & lastly add [Solved] to
the subject of your first post in the thread. |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Thu Aug 17, 2006 3:02 pm Post subject: |
|
|
Quote: | please enlighten me | here goes:
Code: | bash-3.1#hdparm -I /dev/hda /dev/hdb | grep udma
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2
|
just plugged my DVD onto the same cable as my HD both behave the same as when DVD was /dev/hdd
you had me doubting for a minute because I seem to recall having read that somewhere as well. Dont know if it used be the case and now things are better or if it is a popular myth. These things have a tendancy to propagate sometimes.
I think I may a cable issue , try:
you may see a message about wrong cable.
_________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
|