How do I check zfs data integrity in Solaris?



  • # zpool scrub test_pool
    

    Check the status of scrub:

    # zpool status -v test_pool
    pool: test_pool
    state: ONLINE
    scrub: scrub completed after 0h10m with 0 errors on Thu Jun 10 19:17:01 2010
    config:
    
    NAME        STATE     READ WRITE CKSUM
    test_pool   ONLINE       0     0     0
    c2t2d0    ONLINE       0     0     0
    
    errors: No known data errors
    

    NOTE: performance might be affected whilst scrubbing is in progress. Only one scrubbing operation is allowed per pool at any one time.



© Lightnetics 2024