B.15 ncsinit

Use this utility to initialize a device and to set the device to a shared state.

B.15.1 Syntax

ncsinit [-f -z -u] <full_disk_path>

B.15.2 Options

Usage Options

Option

Description

-f

Forces initialization. Initializes the device even if the device is already initialized.

-z

Adds zero to the end of the specified device for upto a maximum of 32 sectors.

-u

Undo the initialization if the device is already initialized. Need to run evms_activate to re-scan the device.

NOTE:-u and -z options can not be used together.

B.15.3 Example

Example for initializing and sharing the disk,

ncsinit /dev/sda, where sda is the device which is getting initialized and shared.

Example for reinitializing a disk that is already initialized,

ncsinit -f /dev/sda, where sda is the device which is getting reinitialized and shared.