[rescue] Solaris ZFS questions

Phil Stracchino alaric at metrocast.net
Wed Jan 12 14:42:28 CST 2011


On 01/12/11 15:20, John Lengeling wrote:
> I have a degraded zfs pool reporting permanent errors under Solaris 10.
> I was going to backup the existing data, destroy/create the pool and
> then restore the data.  I have a couple of questions.
> 
> 1. I believe that the degraded drive had a read-error.  When I take this
> drive out of the pool, how can I verify that I can read/write all
> sectors?

When did you last do a zpool scrub?

What exactly is the disk configuration and which disk failed?  How many
disks are bad?


> 2. I tried to back up the data on the pool using GnuTAR with the
> --ignore-failed-read and GnuTar still errored/exited out and didn't just
> skip the file and continue writing.   How can I get around this as I
> thought that the ignore failed read would just skip the file and
> continue on.
> 
> 3. Does ZFS automatically perform a periodic read/verify scan over the
> entire pool or does this need to be enabled?

See above.  :)

I run zpool scrub as a nightly cron job, on alternate pools each night.
 You can only scrub one pool at a time.


-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric at caerllewys.net   alaric at metrocast.net   phil at co.ordinate.org
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.


More information about the rescue mailing list