< Home

disk offline

Function

The disk offline command makes a hard disk offline and uninstalls hard disk services.

Format

disk offline

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Before you uninstall hard disk services, run the display device command to check the PhyDisk status and ensure that the status field is Normal.

If a device and hard disk are running, the device sends logs to the hard disk for storage. After the hard disk becomes offline, device logs may get lost because of insufficient storage space.

Example

# Make a hard disk offline and uninstall hard disk services.

<sysname> system-view
[sysname] disk offline
Warning: The disk(s) will be out of service, are you sure? [Y/N]y
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >