Labels

hpunix (63) marathi kavita (52) linux (21) solaris11 (11) AWS (5) numerology (5)
Showing posts with label scrub. Show all posts
Showing posts with label scrub. Show all posts

Sunday, January 2, 2022

How to stop scrubbing in ZFS

 How to stop scrubbing in ZFS:

The simplest way to check data integrity is to initiate an explicit scrubbing of all data within the pool. This operation traverses all the data in the pool once and verifies that all blocks can be read.  

1. Command to check scrubbing is running or not? and how much time it will take to finish scrubbing:

#zpool status

Above command will show you pool name on which scrubbing is running.

========================================

Scrubbing might negatively impact performance, increases I/O operation. So sometime we need to stop the scrubbing.

2. Command to stop scrubbing. 

#zpool scrub -s <pool name>


Regards,

Kiren Jadhav