Subject | Re: Frequent database corruption |
---|---|
Author | Fabrice Aeschbacher |
Post date | 2007-07-25T15:41:59Z |
--- In firebird-support@yahoogroups.com, "Vlad Horsun" <hvlad@...>
wrote:
command. Sorry.
Now on the correct device, I can see that write cache IS indeed
activated:
# hdparm -I /dev/hdc
/dev/hdc:
ATA device, with non-removable media
Model Number: HDS725050KLAT80
Serial Number: KRVA03ZAGEA64D
Firmware Revision: K2AOA10C
Standards:
Supported: 7 6 5 4
Likely used: 7
Configuration:
Logical max current
cylinders 16383 65535
heads 16 1
sectors/track 63 63
--
CHS current addressable sectors: 4128705
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 976773168
device size with M = 1024*1024: 476940 MBytes
device size with M = 1000*1000: 500107 MBytes (500 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 = 16
Advanced power management level: unknown setting (0x0000)
Recommended acoustic management value: 128, 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=240ns 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
Address Offset Reserved Area Boot
SET FEATURES subcommand required to spinup after
power up
Power-Up In Standby feature set
Advanced Power Management feature set
* DOWNLOAD MICROCODE cmd
* General Purpose Logging feature set
* SMART self-test
* SMART error logging
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
not supported: enhanced erase
240min for SECURITY ERASE UNIT.
HW reset results:
CBLID- below Vih
Device num = 0 determined by the jumper
Checksum: correct
and :
# hdparm -W0 /dev/hdc
/dev/hdc:
setting drive write-caching to 0 (off)
Fabrice
wrote:
>caching:
> > In fact, it seams that our hard disks does not support write
>Oups! it seems that I typed in an erroneous IP address in my ssh
> Because it is CD-ROM ?
>
> > # hdparm -I /dev/hdc
> >
> > /dev/hdc:
> >
> > ATAPI CD-ROM, with removable media
>
> :)
>
> Regards,
> Vlad
command. Sorry.
Now on the correct device, I can see that write cache IS indeed
activated:
# hdparm -I /dev/hdc
/dev/hdc:
ATA device, with non-removable media
Model Number: HDS725050KLAT80
Serial Number: KRVA03ZAGEA64D
Firmware Revision: K2AOA10C
Standards:
Supported: 7 6 5 4
Likely used: 7
Configuration:
Logical max current
cylinders 16383 65535
heads 16 1
sectors/track 63 63
--
CHS current addressable sectors: 4128705
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 976773168
device size with M = 1024*1024: 476940 MBytes
device size with M = 1000*1000: 500107 MBytes (500 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 = 16
Advanced power management level: unknown setting (0x0000)
Recommended acoustic management value: 128, 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=240ns 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
Address Offset Reserved Area Boot
SET FEATURES subcommand required to spinup after
power up
Power-Up In Standby feature set
Advanced Power Management feature set
* DOWNLOAD MICROCODE cmd
* General Purpose Logging feature set
* SMART self-test
* SMART error logging
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
not supported: enhanced erase
240min for SECURITY ERASE UNIT.
HW reset results:
CBLID- below Vih
Device num = 0 determined by the jumper
Checksum: correct
and :
# hdparm -W0 /dev/hdc
/dev/hdc:
setting drive write-caching to 0 (off)
Fabrice