[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Software RAID problems (bad filesystem type)



Thanks Benedict,

this is what happened (also tried just -d1).

hdparm -d 1 -c 1 /dev/hda

/dev/hda:
 setting 32-bit IO_support flag to 1
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 IO_support   =  1 (32-bit)
 using_dma    =  0 (off)

Man this is tough...

Timo


Timo Railo wrote:
Something is wacky. Any idea what could be causing such a poor
performance. Quite new hardware, normal IDE, disks in separate BUSses.

tmoby:~# hdparm -T /dev/md0

hdparm -Tt /dev/hda /dev/hdc /dev/md0

/dev/hda:
  Timing buffer-cache reads:   1828 MB in  2.00 seconds = 914.00
  MB/sec Timing buffered disk reads:    8 MB in  3.00 seconds =
2.67 MB/sec

/dev/hdc:
  Timing buffer-cache reads:   1864 MB in  2.00 seconds = 932.00
  MB/sec Timing buffered disk reads:   10 MB in  3.69 seconds =
2.71 MB/sec

/dev/md0:
  Timing buffer-cache reads:   1864 MB in  2.00 seconds = 932.00
  MB/sec Timing buffered disk reads:   10 MB in  3.63 seconds =
2.75 MB/sec


Cheers,
Timo Railo

Check your hd settings via hdparm -i /dev/hda to see if dma is enabled.
It's normally disabled so you'll have to enable it.
hdparm -d1 /dev/hda to set it.
Then adjust the hdparm script in /etc/init.d to enable this on startup
or
adjust your kernel to always set this automatically.

Regards,
Benedict




--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: