subscribe iconSubscribe to this information
POWER7 information

cleandisk command

Purpose

Removes any storage pool or cluster signatures that are on the physical volume.

Syntax

cleandisk -r hdiskX

cleandisk -s hdiskX

Description

The cleandisk command removes any storage pool or cluster signatures that were detected on the physical volume. The physical volume specified by the -s flag has the storage pool signature removed. The physical volume specified by the -r flag has the cluster signature removed. Both the -s and -r flags are destructive to any data that exists on the physical volume.

Note: Ensure that you pass the correct hdisk. Commands are destructive to the data on the hdisk.

Flags

Flag name Description
-r hdiskX Specifies the logical device to be cleared of any cluster signature.
-s hdiskX Specifies the logical device to be cleared of any storage pool signature.
-help Displays the help text for this command and exit program.

Exit Status

See Exit status for Virtual I/O Server commands.

Examples

  1. To clear the cluster signature from hdisk5 and to use it as a paging space device by a shared memory partition, type the command as follows:
     cleandisk -r hdisk5 
  2. To clear the storage pool signature from hdisk6 and to use it as a paging space device by a shared memory partition, type the command as follows:
     cleandisk -s hdisk6 
  3. To display the help text for the cleandisk command, type the command as follows:
     cleandisk -help 


Send feedback Rate this page

Last updated: Wed, June 03, 2015