ZFS woes

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.


Active Member
Jan 4, 2011
What's the best way of determining the source of errors that ZFS uncovers?

I'm running FreeNAS 8.3-RELEASE-p5 baremetal on one of the nodes in my C6100. There's a M1015 connected via a SFF8087<->SFF8087 cable to a DAS (Norco with a HP SAS expander in it, chassis 2 in my sig). Is it because I'm using a internal cable outside of the case? :p

Copied over some data via rsync. Then started a scrub and noticed this on a zpool status.

# zpool status
  pool: pool
 state: ONLINE
status: One or more devices has experienced an error resulting in data
        corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
        entire pool from backup.
   see: http://www.sun.com/msg/ZFS-8000-8A
  scan: scrub in progress since Thu Mar 14 08:46:46 2013
        22.3G scanned out of 25.3T at 19.4M/s, 380h58m to go
        17.1M repaired, 0.09% done

        NAME                                            STATE     READ WRITE CKSUM
        pool                                            ONLINE       0     0  133K
          raidz2-0                                      ONLINE       0     0  270K
            gptid/29176c8f-8923-11e2-9141-00266cf27fc0  ONLINE       0     0     0  (repairing)
            gptid/299264da-8923-11e2-9141-00266cf27fc0  ONLINE       0     0     0  (repairing)
            gptid/29ff11ce-8923-11e2-9141-00266cf27fc0  ONLINE       0     0     1  (repairing)
            gptid/2a707282-8923-11e2-9141-00266cf27fc0  ONLINE       0     0     0  (repairing)
            gptid/2b19ce97-8923-11e2-9141-00266cf27fc0  ONLINE       0     0     1  (repairing)
            gptid/2b821837-8923-11e2-9141-00266cf27fc0  ONLINE       0     0     0  (repairing)
            gptid/2bf7de2d-8923-11e2-9141-00266cf27fc0  ONLINE       0     0     0  (repairing)
            gptid/2c7476d8-8923-11e2-9141-00266cf27fc0  ONLINE       0     0     1  (repairing)

[B]errors: 188113 data errors, use '-v' for a list[/B]
Using -v I get the object numbers, not file names.

errors: Permanent errors have been detected in the following files:

Also, how do you get to smart data on FreeBSD? I don't have to specify -d with smartctl on my Linux system.

# smartctl -a /dev/mfisyspd0                                    
smartctl 5.43 2012-06-30 r3573 [FreeBSD 8.3-RELEASE-p5 amd64] (local build)     
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net      
/dev/mfisyspd0: Unable to detect device type                                    
Smartctl: please specify device type with the -d option.                        
Use smartctl -h to get a usage summary