Avatar of buchli
Flag for Switzerland

asked on 

How to check ZFS storage pool?

We are running an Oracle database on Sun Solaris. This database has recently added a new SAS-RAID. There we use ZFS to be able to use a partition size of 19 TB.
During a new load of data into Oracle we got a ORA-01115: IO error reading block from file ....

After this we ran zpool status -xv and this showed us, there really were errors (see code).
4 files (filesize 30G) were corrupt.
The RAID does not show any errors.

Now, how can we make sure we will be informed earlier in the self healing ZFS? Is there any utility to check the disks? There was no information before we wrote data.

Thank you for any suggestions.

pool: ora5
 state: DEGRADED
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
 scrub: none requested
	ora5         DEGRADED     0     0   178
	  c12t0d0s0  DEGRADED     0     0   178  too many errors
errors: Permanent errors have been detected in the following files:

Open in new window

Unix OSDatabases

Avatar of undefined
Last Comment

8/22/2022 - Mon