Skip to content

Has ZFS just saved my data?

September 25, 2006

My new home server has had it’s first ZFS checksum error. The problem here is that zfs has not told me what that error was so it is impossible for me to say how bad it is, or heaven forbid, that it could be a false positive.


It leaves lots of questions in my mind about what ZFS does, if anything, to verify the kind of problem to attempt to narrow down where the fault is. Need to do some reading of the zfs source.


# zpool status   pool: tank  state: ONLINE status: One or more devices has experienced an unrecoverable error.  An         attempt was made to correct the error.  Applications are unaffected. action: Determine if the device needs to be replaced, and clear the errors         using ‘zpool clear’ or replace the device with ‘zpool replace’.    see: http://www.sun.com/msg/ZFS-8000-9P  scrub: scrub in progress, 0.01% done, 20h7m to go config:          NAME        STATE     READ WRITE CKSUM         tank        ONLINE       0     0     0           mirror    ONLINE       0     0     0             c1d0s7  ONLINE       0     0     1             c5d0s7  ONLINE       0     0     0  errors: No known data errors #  

One thing I did straight away was to scrub the pool. However the scrub never completed, just exercised the disks all weekend. Checking the OpenSolaris ZFS discussion forum I was hitting this bug:


6343667 need itinerary so interrupted scrub/resilver doesn’t have to start over


Where the scrub gets restarted when ever a snapshot is taken. Not so good if you snaphost every 10 minutes.


Tags: topic:[home server] topic:[opensolaris] topic:[zfs]

Advertisements

From → Solaris

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: