Re: SATA disk disappears

2013-01-13 Thread Wojciech Puchar

self tests can not find any errors/bad sectors.


Hmm.  The green drives are supposed to go to sleep for power saving, and then 
there's a multiple-second delay when they have to spin back up on access. 

no it wasn't that.

i did long test as you recommended and drive reported fault.
Gave it back for replacement. Thank you
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: SATA disk disappears

2013-01-13 Thread Wojciech Puchar


1T Red here.  The firmware is likely very similar.


The same here: brandnew WD 2T green, 9.1 stable, svn rev. 244773, not using
GEOM. I had that problem two times within the last two weeks, but the smart
self tests can not find any errors/bad sectors.


smartctl -t long /dev/disk
found an error after few hours.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: SATA disk disappears

2013-01-13 Thread Christian Gusenbauer
On Saturday 12 January 2013 19:07:17 Warren Block wrote:
 On Sat, 12 Jan 2013, Christian Gusenbauer wrote:
  On Friday 11 January 2013 22:47:03 Warren Block wrote:
  On Fri, 11 Jan 2013, Wojciech Puchar wrote:
  GEOM_MIRROR: Component ada2 (device home1) broken, skipping.
  GEOM_MIRROR: Cannot add disk ada2 to home1 (error=22).
  
  
  started gmirror rebuild and it now works at full speed.
  
  GEOM_MIRROR: Device home1: rebuilding provider ada2.
  
  
  What kind of hardware failure may it be? smartctl -a /dev/ada2 shows
  disk is fine.
  
  I had a new WD drive recently that had a write error.  Reallocated
  sector count did not go up, but it quickly failed the SMART self-test,
  short or long.  See smartctl(8) about the -t parameters.
  
  this is WD green 3TB
  
  1T Red here.  The firmware is likely very similar.
  
  The same here: brandnew WD 2T green, 9.1 stable, svn rev. 244773, not
  using GEOM. I had that problem two times within the last two weeks, but
  the smart self tests can not find any errors/bad sectors.
 
 Hmm.  The green drives are supposed to go to sleep for power saving, and
 then there's a multiple-second delay when they have to spin back up on
 access.  That should not be a problem for gmirror, but maybe it is.
 sysutils/ataidle can turn on the spindown.  Some drives do not accept
 that command, or claim to accept it but ignore it.  Worth a try, though.

I don't think it was the power saving spin down, because I was copying data 
from/to the drive when it suddenly vanished. So the disk was busy at that 
time. I'll give ataidle a chance - but it's hard to reproduce. I'm using the 
drive for five days now without failure.

Thanks,
Christian.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: SATA disk disappears

2013-01-12 Thread Christian Gusenbauer
On Friday 11 January 2013 22:47:03 Warren Block wrote:
 On Fri, 11 Jan 2013, Wojciech Puchar wrote:
  GEOM_MIRROR: Component ada2 (device home1) broken, skipping.
  GEOM_MIRROR: Cannot add disk ada2 to home1 (error=22).
  
  
  started gmirror rebuild and it now works at full speed.
  
  GEOM_MIRROR: Device home1: rebuilding provider ada2.
  
  
  What kind of hardware failure may it be? smartctl -a /dev/ada2 shows
  disk is fine.
  
  I had a new WD drive recently that had a write error.  Reallocated
  sector count did not go up, but it quickly failed the SMART self-test,
  short or long.  See smartctl(8) about the -t parameters.
  
  this is WD green 3TB
 
 1T Red here.  The firmware is likely very similar.

The same here: brandnew WD 2T green, 9.1 stable, svn rev. 244773, not using 
GEOM. I had that problem two times within the last two weeks, but the smart 
self tests can not find any errors/bad sectors.

Ciao,
Christian.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: SATA disk disappears

2013-01-12 Thread Warren Block

On Sat, 12 Jan 2013, Christian Gusenbauer wrote:


On Friday 11 January 2013 22:47:03 Warren Block wrote:

On Fri, 11 Jan 2013, Wojciech Puchar wrote:

GEOM_MIRROR: Component ada2 (device home1) broken, skipping.
GEOM_MIRROR: Cannot add disk ada2 to home1 (error=22).


started gmirror rebuild and it now works at full speed.

GEOM_MIRROR: Device home1: rebuilding provider ada2.


What kind of hardware failure may it be? smartctl -a /dev/ada2 shows
disk is fine.


I had a new WD drive recently that had a write error.  Reallocated
sector count did not go up, but it quickly failed the SMART self-test,
short or long.  See smartctl(8) about the -t parameters.


this is WD green 3TB


1T Red here.  The firmware is likely very similar.


The same here: brandnew WD 2T green, 9.1 stable, svn rev. 244773, not using
GEOM. I had that problem two times within the last two weeks, but the smart
self tests can not find any errors/bad sectors.


Hmm.  The green drives are supposed to go to sleep for power saving, and 
then there's a multiple-second delay when they have to spin back up on 
access.  That should not be a problem for gmirror, but maybe it is. 
sysutils/ataidle can turn on the spindown.  Some drives do not accept 
that command, or claim to accept it but ignore it.  Worth a try, though.

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: SATA disk disappears

2013-01-12 Thread Warren Block

On Sat, 12 Jan 2013, Warren Block wrote:

Hmm.  The green drives are supposed to go to sleep for power saving, and then 
there's a multiple-second delay when they have to spin back up on access. 
That should not be a problem for gmirror, but maybe it is. sysutils/ataidle 
can turn on the spindown.  Some drives do not accept that command, or claim 
to accept it but ignore it.  Worth a try, though.


Make that: sysutils/ataidle can turn *off* the spindown.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: SATA disk disappears

2013-01-12 Thread Adam Vande More
On Sat, Jan 12, 2013 at 12:10 PM, Warren Block wbl...@wonkity.com wrote:

 On Sat, 12 Jan 2013, Warren Block wrote:

  Hmm.  The green drives are supposed to go to sleep for power saving, and
 then there's a multiple-second delay when they have to spin back up on
 access. That should not be a problem for gmirror, but maybe it is.
 sysutils/ataidle can turn on the spindown.  Some drives do not accept that
 command, or claim to accept it but ignore it.  Worth a try, though.


 Make that: sysutils/ataidle can turn *off* the spindown.


Maybe just bumping kern.cam.ada.default_timeout to 45 or something might
help while still allowing drive to function as designed.


-- 
Adam Vande More
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: SATA disk disappears

2013-01-11 Thread Wojciech Puchar

GEOM_MIRROR: Component ada2 (device home1) broken, skipping.
GEOM_MIRROR: Cannot add disk ada2 to home1 (error=22).


started gmirror rebuild and it now works at full speed.

GEOM_MIRROR: Device home1: rebuilding provider ada2.


What kind of hardware failure may it be? smartctl -a /dev/ada2 shows disk 
is fine.


I had a new WD drive recently that had a write error.  Reallocated sector 
count did not go up, but it quickly failed the SMART self-test, short or 
long.  See smartctl(8) about the -t parameters.



this is WD green 3TB
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: SATA disk disappears

2013-01-11 Thread Warren Block

On Fri, 11 Jan 2013, Wojciech Puchar wrote:


GEOM_MIRROR: Component ada2 (device home1) broken, skipping.
GEOM_MIRROR: Cannot add disk ada2 to home1 (error=22).


started gmirror rebuild and it now works at full speed.

GEOM_MIRROR: Device home1: rebuilding provider ada2.


What kind of hardware failure may it be? smartctl -a /dev/ada2 shows disk 
is fine.


I had a new WD drive recently that had a write error.  Reallocated sector 
count did not go up, but it quickly failed the SMART self-test, short or 
long.  See smartctl(8) about the -t parameters.



this is WD green 3TB


1T Red here.  The firmware is likely very similar.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


SATA disk disappears

2013-01-10 Thread Wojciech Puchar


got this on dell poweredge T110 server with 4 disks, including two 3TB 
drives (ada2,ada3):


ahcich2: Timeout on slot 8 port 0
ahcich2: is  cs 1e00 ss 1f00 rs 1f00 tfd 40 serr 
 cmd c817

ahcich2: AHCI reset: device not ready after 31000ms (tfd = 0080)
(ada2:ahcich2:0:0:0): lost device
GEOM_MIRROR: Request failed (error=6). ada2[WRITE(offset=2997587410944, 
length=753664)]

GEOM_MIRROR: Device home1: provider ada2 disconnected.
(ada2:ahcich2:0:0:0): removing device entry



did camcontrol reset 2, rescan 2 and ada2 reappeared
ada2 at ahcich2 bus 0 scbus2 target 0 lun 0
ada2: WDC WD30EZRX-00DC0B0 80.00A80 ATA-9 SATA 3.x device
ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C)
GEOM_MIRROR: Component ada2 (device home1) broken, skipping.
GEOM_MIRROR: Cannot add disk ada2 to home1 (error=22).


started gmirror rebuild and it now works at full speed.

GEOM_MIRROR: Device home1: rebuilding provider ada2.


What kind of hardware failure may it be? smartctl -a /dev/ada2 shows disk 
is fine.



I use latest FreeBSD-8
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: SATA disk disappears

2013-01-10 Thread Warren Block

On Fri, 11 Jan 2013, Wojciech Puchar wrote:



got this on dell poweredge T110 server with 4 disks, including two 3TB drives 
(ada2,ada3):


ahcich2: Timeout on slot 8 port 0
ahcich2: is  cs 1e00 ss 1f00 rs 1f00 tfd 40 serr  
cmd c817

ahcich2: AHCI reset: device not ready after 31000ms (tfd = 0080)
(ada2:ahcich2:0:0:0): lost device
GEOM_MIRROR: Request failed (error=6). ada2[WRITE(offset=2997587410944, 
length=753664)]

GEOM_MIRROR: Device home1: provider ada2 disconnected.
(ada2:ahcich2:0:0:0): removing device entry



did camcontrol reset 2, rescan 2 and ada2 reappeared
ada2 at ahcich2 bus 0 scbus2 target 0 lun 0
ada2: WDC WD30EZRX-00DC0B0 80.00A80 ATA-9 SATA 3.x device
ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C)
GEOM_MIRROR: Component ada2 (device home1) broken, skipping.
GEOM_MIRROR: Cannot add disk ada2 to home1 (error=22).


started gmirror rebuild and it now works at full speed.

GEOM_MIRROR: Device home1: rebuilding provider ada2.


What kind of hardware failure may it be? smartctl -a /dev/ada2 shows disk is 
fine.


I had a new WD drive recently that had a write error.  Reallocated 
sector count did not go up, but it quickly failed the SMART self-test, 
short or long.  See smartctl(8) about the -t parameters.

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org