[mythtv-users] SATA Drive Failure

Paul Andreassen paulx at andreassen.com.au
Sun Jun 26 07:36:57 UTC 2005


On Sun, 26 Jun 2005 04:17 am, Kelly wrote:
> On 6/25/05, Allan Stirling <Dibblahmythml0015 at pendor.org> wrote:
> > Kelly wrote:
> > > Think I've found a source of my constant crashing. I have a Maxtor
> > > SATA 250GB drive. I started poking around google and came up with the
> > > hdparm test. I ran it and got
> > >
> > >
> > > Timing cached reads:   816 MB in  2.01 seconds
> > >
> > > A respectable IDE drive and do 3000mb in 2.00 seconds.
> > >
> > > So my drive is running at 20% efficiency. That will make a difference.
> >
> >
> > Ummm... No. You're reading the results wrongly, I'm afraid :)
> > I would seriously doubt you'd see 1.5Gb / sec outside the datacentre.
> > 150Mb / sec... _maybe_.
> >
> > Cached reads are just that - It reads the same sector over and over.
> > This means it's already in drive's read cache. So what you're seeing
> > here is the transfer rate from the controller without (much) SATA
> > latency, no seek latency, no rotational latency. That's not the test you
> > want. You want 'buffered disk reads'. This is the (almost real) raw
> > performance of the drive.
> >
> > Here's the results from my array, which is a 8 disk RAID5, spread over 2
> > SATA controllers on a PCI-X dual Xeon (yes, I believe overkill _is_ just
> > a word):
> >
> >
> > hdparm -Tt /dev/sda
> >
> > /dev/sda:
> >  Timing cached reads:   2204 MB in  2.00 seconds = 1101.07 MB/sec
> >  Timing buffered disk reads:  374 MB in  3.01 seconds = 124.31 MB/sec
> >
> >
> > The 'buffered disk reads' is the line you're looking for. And 124Mb /
> > sec is quite good for this type of setup.
> >
> > Cheers,
> >
> > Allan.
>
>
> My output
> hdparm -Tt /dev/sda
>
>
> /dev/sda:
>  Timing cached reads:   968 MB in  2.00 seconds = 483.83 MB/sec
> HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
> ioctl for device
>  Timing buffered disk reads:  152 MB in  3.05 seconds =  49.81 MB/sec
> HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
> ioctl for device


I think you guys are doing something wrong.

hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   3992 MB in  2.00 seconds = 1996.30 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for 
device
 Timing buffered disk reads:  170 MB in  3.00 seconds =  56.60 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for 
device


SCSI subsystem initialized
libata version 1.10 loaded.
ata_piix version 1.03
ACPI: PCI interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 177
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0xEC00 ctl 0xE802 bmdma 0xDC00 irq 177
ata2: SATA max UDMA/133 cmd 0xE400 ctl 0xE002 bmdma 0xDC08 irq 177
ata1: dev 0 cfg 49:2f00 82:7c6b 83:7b09 84:4003 85:7c68 86:3a01 87:40
03 88:207f
ata1: dev 0 ATA, max UDMA/133, 240121728 sectors:
ata1: dev 0 configured for UDMA/133
scsi0 : ata_piix
ata2: SATA port has no device.
scsi1 : ata_piix
  Vendor: ATA       Model: Maxtor 6Y120M0    Rev: YAR5
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 240121728 512-byte hdwr sectors (122942 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 240121728 512-byte hdwr sectors (122942 MB)
SCSI device sda: drive cache: write back
/dev/scsi/host0/bus0/target0/lun0: p1 p2 < p5 p6 p7 p8 > p3
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with ide
bus=xx
ICH5: IDE controller at PCI slot 0000:00:1f.1
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 177
ICH5: chipset revision 2
ICH5: not 100%% native mode: will probe irqs later
    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: PIONEER DVD-RW DVR-106D, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hda: ATAPI 32X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...

I have 2 SATA and 4 PATA even when disabling the onboard Promise 20378 which 
has 2 SATA and 2 PATA.
Paul

> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


More information about the mythtv-users mailing list