Skip to main content
Delphix

Initializing a Storage Scrub Using the CLI (KBA8020)

 

KBA

KBA# 8020

Applicable Delphix Versions

Click here to view the versions of the Delphix engine to which this article applies
Major Release All Sub Releases
6.0 6.0.0.0, 6.0.1.0, 6.0.1.1, 6.0.2.0, 6.0.2.1, 6.0.3.0, 6.0.3.1, 6.0.4.0, 6.0.4.1, 6.0.4.2, 6.0.5.0, 6.0.6.0, 6.0.6.1, 6.0.7.0, 6.0.8.0, 6.0.8.1, 6.0.9.0

5.3

5.3.0.0, 5.3.0.1, 5.3.0.2, 5.3.0.3, 5.3.1.0, 5.3.1.1, 5.3.1.2, 5.3.2.0, 5.3.3.0, 5.3.3.1, 5.3.4.0, 5.3.5.0, 5.3.6.0, 5.3.7.0, 5.3.7.1, 5.3.8.0, 5.3.8.1, 5.3.9.0

5.2

5.2.2.0, 5.2.2.1, 5.2.3.0, 5.2.4.0, 5.2.5.0, 5.2.5.1, 5.2.6.0, 5.2.6.1

5.1

5.1.0.0, 5.1.1.0, 5.1.2.0, 5.1.3.0, 5.1.4.0, 5.1.5.0, 5.1.5.1, 5.1.6.0, 5.1.7.0, 5.1.8.0, 5.1.8.1, 5.1.9.0, 5.1.10.0

5.0

5.0.1.0, 5.0.1.1, 5.0.2.0, 5.0.2.1, 5.0.2.2, 5.0.2.3, 5.0.3.0, 5.0.3.1, 5.0.4.0, 5.0.4.1, 5.0.5.0, 5.0.5.1, 5.0.5.2, 5.0.5.3, 5.0.5.4

How to Initialize a Storage Scrub Using the CLI

After a storage error has been detected on a Delphix Engine, it may be necessary to start a scrub of the storage to try to detect any permanent corruption. If, as part of a support case, a Delphix Support Engineer asks you to start a scrub, you can do so from the CLI.

When the scrub completes, you may need to set up a call with a Delphix Engineer to clear any historical errors, if no new corruption has been detected.

To Initialize a Storage Scrub through the CLI

Complete the following procedure to initialize the scrub

  1. Connect to the CLI via ssh.
ssh sysadmin@engine-hostname
  1. Navigate to the storage scrub command and commit to start.
engine-hostname> storage
engine-hostname storage> scrub
engine-hostname storage scrub> start
engine-hostname storage scrub start *> commit
  1. Depending on the size and state of the storage, the scrub may take some time. You can leave the scrub running and come back to check the status.
engine-hostname storage scrub> ls
Properties
    type: ScrubStatus
    completed: 208KB
    errors: 0
    startTime: 2021-06-21T11:42:57.000Z
    state: ACTIVE
    total: 7.51GB

When the scrub completes, the state will be marked as COMPLETED and there will be an endTime populated