Specifications

3-287
Cisco Wide Area Application Services Command Reference
OL-11817-01
Chapter 3 CLI Commands
(config) disk
With a WAAS device, a disk device error is defined as any of the following events:
A SCSI or IDE device error is printed by the Linux kernel.
A disk device access by an application (for example, an open(2), read(2), or write(2) system call)
fails with an EIO error code.
A disk device that existed at startup time is not accessible at run time.
The disk status is recorded in Flash memory (nonvolatile storage). When an error occurs on the disk drive
of a WAAS device, a message is written to the system log (syslog) if the SYSFS partition is still intact,
and an SNMP trap is generated if SNMP is configured on the WAAS device.
Specifying the Disk Error-Handling Threshold
You can define a disk device error-handling threshold on the WAAS device. If the number of disk device
errors reaches the specified threshold, the corresponding disk device is automatically marked as bad. By
default, this threshold is set to 10. The device does not stop using the bad disk device immediately; it
stops using the bad disk drive after the next reboot.
To change the default threshold, use the disk error-handling threshold global configuration command.
Specify 0 if you never want the disk drive to be marked as bad.
If the specified threshold is exceeded, the WAAS device either records this event or reboots. If the bad
disk drive is a critical disk drive, and the automatic reload feature (disk error-handling reload
command) is enabled, then the WAAS software marks the disk drive as bad, and the WAAS device is
automatically reloaded. After the WAAS device is reloaded, a syslog message and an SNMP trap are
generated.
By default, the automatic reload feature is disabled on a WAAS device. To enable the automatic reload
feature, use the disk error-handling reload global configuration command. After enabling the
automatic reload feature, use the no disk error-handling reload global configuration command to
disable it.
Examples In the following example, an administrator configures five disk drive errors for a particular disk drive
(for example, disk00) as the maximum number of errors allowed before the disk drive is automatically
marked as bad:
WAE(config)# disk error-handling threshold 5
Related Commands disk
show disks