ONTAP Discussions

Media_Scrubbing Process

ploufg
8,322 Views

Hi

First thank you for reading and answering the discussion.

The info i need is info about scrubbing

DataOntap have different scrubbing command. I know that aggregate media_scrubbing is a continuous process used to detect block error on a system and if it find some it will be fixed with the raid paraty, but two more command are available for scrubing. i am puzzle about these one. Below is output about these command.

Note: This filer is very busy, and disk utilization is very high during 19h00 to 05h00

aggr media_scrub command

hacontroller1> aggr media_scrub status

aggr media_scrub /AGGR3_SAS/plex0/rg0 is 31% complete

aggr media_scrub /AGGR1_SATA/plex0/rg0 is 34% complete

aggr media_scrub /AGGR1_SATA/plex0/rg1 is 29% complete

aggr media_scrub /AGGR1_SATA/plex0/rg2 is 29% complete

aggr media_scrub /AGGR1_SAS/plex0/rg0 is 14% complete

aggr media_scrub /ITHAQA_AGGR_RT0/plex0/rg0 is 9% complete

aggr media_scrub 15b.11.23 is 94% complete

aggr media_scrub 15b.11.2 is 94% complete

aggr media_scrub 15a.01.6 is 87% complete

aggr media_scrub 15a.01.4 is 87% complete

aggr media_scrub 15a.01.0 is 88% complete

1. what the command aggr scrub is used for?

aggr scrub /AGGR1_SATA/plex0/rg0 is 70% complete (suspended) should the ouput be the same has the aggr media_scrub command

aggr scrub /AGGR1_SATA/plex0/rg1 is 70% complete (suspended) should the ouput be the same has the aggr media_scrub command

aggr scrub /AGGR1_SATA/plex0/rg2 is 74% complete (suspended)     ''

aggr scrub /AGGR1_SAS/plex0/rg0 is 88% complete (suspended)     "

2. what the command vol scrub is used for?

vol scrub status

vol scrub /AGGR1_SATA/plex0/rg0 is 70% complete (suspended)

vol scrub /AGGR1_SATA/plex0/rg1 is 70% complete (suspended)

vol scrub /AGGR1_SATA/plex0/rg2 is 74% complete (suspended)

vol scrub /AGGR1_SAS/plex0/rg0 is 88% complete (suspended)

Also you will see in the attachement more (-v) info

Thank you

1 REPLY 1

bsti
8,268 Views

Media scrubbing differs from RAID-level (aggregate) scrubbing.

Media scrubbing occurs continuously and detects media errors in individual disks (like bad sectors, etc..).  RAID-level scrubbing is the process you describe above where RAID parity is used to correct RAID-level errors in your RAID groups and aggregates. 

aggr scrub controls  the RAID levels scrubs.

aggr media_scrub controls the media-level scrubs

Volume scrubs I had to look up.  Volume scrubs are the same as RAID scrubs, but they target the disks in a *traditional* volume.  They do NOT apply to flexible volumes.

Check out the Storage Management Guide for details on the RAID and  media scrubs https://library.netapp.com/ecm/ecm_get_file/ECMP1114070

I ran

man vol

from the cli to get the description on the volume scrubs.

Public