# flash-disk scan

#### Syntax

flash-disk scan [ repair ] [ disk0 | disk1 ]

#### Release Information

Command introduced before JunosE Release 7.1.0.
disk0 and disk1 keywords added in JunosE Release 7.2.0.
Privileged Exec mode added in JunosE Release 8.0.0.

#### Description

Scans the flash card on the primary SRP module to detect corrupt sectors, deletes files and directories that contain corrupt sectors, and fixes nonfatal errors. There is no no version.

#### Options

- repair—Repairs nonfatal errors detected on flash disk
- disk0—Specifies flash card in slot 0 of the SRP module; default value is disk0; available only in Boot mode, because disk0 cannot be in an unmounted state in a router outside of Boot mode
- disk1—Specifies flash card in slot 1 of the SRP module; supported only on the E120 router and the E320 router

#### Mode

Boot, Privileged Exec