Re: SATA disk problem

2007-01-01 Thread Lowell Gilbert
Wojciech Puchar <[EMAIL PROTECTED]> writes:

> i have 2 identical drives in my machine.

[snip]

> HOW to enable write cache on second drive?

According to "man 4 ata", there is a loader tunable "hw.ata.wc" which
does this.  However, it supposedly defaults to enabled, and applies to
all drives.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SATA disk problem - everything clear

2006-12-29 Thread Wojciech Puchar

installed /usr/ports/sysutils/smartmontools/ and smartctl showed this
sorry for taking Your time all is clear - i need new drive


Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE  UPDATED 
WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x000f   200   200   051Pre-fail  Always 
-   0
  3 Spin_Up_Time0x0003   209   205   021Pre-fail  Always 
-   2516
  4 Start_Stop_Count0x0032   100   100   000Old_age   Always 
-   9
  5 Reallocated_Sector_Ct   0x0033   133   133   140Pre-fail  Always 
FAILING_NOW 531


^^


drugi ma wszystko OK


  7 Seek_Error_Rate 0x000f   200   200   051Pre-fail  Always 
-   0
  9 Power_On_Hours  0x0032   097   097   000Old_age   Always 
-   2846
 10 Spin_Retry_Count0x0013   100   253   051Pre-fail  Always 
-   0
 11 Calibration_Retry_Count 0x0012   100   253   051Old_age   Always 
-   0
 12 Power_Cycle_Count   0x0032   100   100   000Old_age   Always 
-   8
190 Unknown_Attribute   0x0022   062   042   045Old_age   Always 
In_the_past 38


^^

194 Temperature_Celsius 0x0022   109   089   000Old_age   Always 
-   38
196 Reallocated_Event_Count 0x0032   176   176   000Old_age   Always 
-   24
197 Current_Pending_Sector  0x0012   200   200   000Old_age   Always 
-   0
198 Offline_Uncorrectable   0x0010   200   200   000Old_age   Offline 
-   0
199 UDMA_CRC_Error_Count0x003e   200   200   000Old_age   Always 
-   0
200 Multi_Zone_Error_Rate   0x0009   200   200   051Pre-fail  Offline 
-   0



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SATA disk problem - more info

2006-12-29 Thread Wojciech Puchar


atacontrol reinit ata3 makes atacontrol cap ad6 showing that write cache 
is enabled - until i write anything to that drive then it changes to no.


is it disk hardware problem or other?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SATA disk problem

2006-12-29 Thread Wojciech Puchar

i have 2 identical drives in my machine.

atacontrol cap ad4 says:


Protocol  Serial ATA II
device model  WDC WD1600JS-60NCB1
serial number WD-WCANM4915646
firmware revision 10.02E02
cylinders 16383
heads 16
sectors/track 63
lba supported 268435455 sectors
lba48 supported   312581808 sectors
dma supported
overlap not supported

Feature  Support  EnableValue   Vendor
write cacheyes  no
read ahead yes  yes
Native Command Queuing (NCQ)   yes   -  31/0x1F
Tagged Command Queuing (TCQ)   no   no  31/0x1F
SMART  yes  yes
microcode download yes  yes
security   no   no
power management   yes  yes
advanced power management  no   no  0/0x00
automatic acoustic management  no   no  0/0x00  0/0x00


while atacontrol cap ad6 says:
Protocol  Serial ATA II
device model  WDC WD1600JS-60NCB1
serial number WD-WCANM4915646
firmware revision 10.02E02
cylinders 16383
heads 16
sectors/track 63
lba supported 268435455 sectors
lba48 supported   312581808 sectors
dma supported
overlap not supported

Feature  Support  EnableValue   Vendor
write cacheyes  no
read ahead yes  yes
Native Command Queuing (NCQ)   yes   -  31/0x1F
Tagged Command Queuing (TCQ)   no   no  31/0x1F
SMART  yes  yes
microcode download yes  yes
security   no   no
power management   yes  yes
advanced power management  no   no  0/0x00
automatic acoustic management  no   no  0/0x00  0/0x00




HOW to enable write cache on second drive?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"