I/O errors AND too many errors

All your general support questions for OpenZFS on OS X.

I/O errors AND too many errors

Postby forquare » Fri Nov 06, 2015 9:24 am

Afternoon all,

I have three 3TB disks in a Hornettek Enterprise 4X II connected to a 2009 Mac Pro via USB2.0.

I create a pool like so:
Code: Select all
sudo zpool create -f -o ashift=12 -O casesensitivity=insensitive -O normalization=formD the_library raidz /dev/disk5 /dev/disk6 /dev/disk7
sudo zpool export the_library
sudo zpool import -d /var/run/disk/by-id the_library

The last two steps was recommended in a post here so that disk IDs were used rather than “disk5”, etc.

All looks good:
Code: Select all
zpool status
  pool: the_library
 state: ONLINE
  scan: none requested
config:

   NAME        STATE     READ WRITE CKSUM
   the_library  ONLINE       0     0     0
     raidz1-0  ONLINE       0     0     0
       disk5   ONLINE       0     0     0
       disk6   ONLINE       0     0     0
       disk7   ONLINE       0     0     0

errors: No known data errors


I start adding files via `rsync`, or `cp` and a while in (only a few GB), the transfer hangs (also happens with Finder copies):
Code: Select all
zpool status
  pool: the_library
 state: UNAVAIL
status: One or more devices are faulted in response to IO failures.
action: Make sure the affected devices are connected, then run 'zpool clear'.
   see: http://zfsonlinux.org/msg/ZFS-8000-HC
  scan: none requested
config:

   NAME                                            STATE     READ WRITE CKSUM
   the_library                                     UNAVAIL      0     0     0  insufficient replicas
     raidz1-0                                      UNAVAIL      0    50     0  insufficient replicas
       media-E2A98C66-E268-644F-B273-169E587A1E6A  UNAVAIL      3    70     0  cannot open
       media-23068D9E-878A-4D4A-AE51-5670987323E8  UNAVAIL      3    76     0  cannot open
       media-988A2630-689D-0F4A-ACD8-25DC612356BF  UNAVAIL      2    73     0  cannot open

errors: 118 data errors, use '-v' for a list


I issue the `pool clear`, but it’s not pretty:
Code: Select all
admin@celebgul:~ $>sudo zpool clear the_library
cannot clear errors for the_library: I/O error
admin@celebgul:~ $>zpool status
  pool: the_library
 state: UNAVAIL
status: One or more devices are faulted in response to IO failures.
action: Make sure the affected devices are connected, then run 'zpool clear'.
   see: http://zfsonlinux.org/msg/ZFS-8000-HC
  scan: none requested
config:

   NAME                                            STATE     READ WRITE CKSUM
   the_library                                     UNAVAIL      0     0     0  insufficient replicas
     raidz1-0                                      UNAVAIL      0     0     0  insufficient replicas
       media-E2A98C66-E268-644F-B273-169E587A1E6A  FAULTED     15     0     0  too many errors
       media-23068D9E-878A-4D4A-AE51-5670987323E8  FAULTED     12     0     0  too many errors
       media-988A2630-689D-0F4A-ACD8-25DC612356BF  FAULTED      9     0     0  too many errors

errors: 180 data errors, use '-v' for a list



I’ve set this up and knocked it down four times now…I’m wondering how to troubleshoot further, where to look, etc. Any suggestions?

Many thanks,
Ben
forquare
 
Posts: 8
Joined: Thu Oct 15, 2015 7:16 am

Re: I/O errors AND too many errors

Postby xbytor » Fri Nov 06, 2015 12:12 pm

Two things:
1) Your USB cable may be bad. Get one that cost more than $5. Someone bought a bunch of USB3 cables and posted reviews on Amazon. The results were all over the place.

2) The USB2 controller may be one of those that lies: it doesn't sync when told or something. I had several external boxes that had this problem.
xbytor
 
Posts: 22
Joined: Sun Jun 29, 2014 7:52 pm

Re: I/O errors AND too many errors

Postby ilovezfs » Fri Nov 06, 2015 1:03 pm

That's what things should look like when everything is unplugged.
ilovezfs
 
Posts: 232
Joined: Thu Mar 06, 2014 7:58 am

Re: I/O errors AND too many errors

Postby ilovezfs » Fri Nov 06, 2015 6:22 pm

And why does it still show the disk names if you imported -d /var/run/disk/by-id ?

That's not right. Should show media-*
ilovezfs
 
Posts: 232
Joined: Thu Mar 06, 2014 7:58 am

Re: I/O errors AND too many errors

Postby forquare » Sat Nov 07, 2015 2:05 am

Thanks for the suggestions both. I'll take a look at new USB cables, and contact the manufacturer. The JBOD is USB3, but I swapped from a third party USB3 card thinking that may have been causing the problem.

To probably add useful information: I'm on the latest Mavericks - due to the third party USB3 card causing kernel panics on anything higher...

I'm away for the weekend now, so where I thought I was going to have a couple of days of bottling beer and troubleshooting this, I am now not...

ilovezfs wrote:And why does it still show the disk names if you imported -d /var/run/disk/by-id ?

That's not right. Should show media-*


I think I may have grabbed the wrong output when I wrote my post. Next time I try I will update.
forquare
 
Posts: 8
Joined: Thu Oct 15, 2015 7:16 am


Return to General Help

Who is online

Users browsing this forum: Google [Bot] and 24 guests