Use this utility to initialize a device and to set the device to a shared state.
ncsinit [-f -z -u] <full_disk_path>
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 nlvm to re-scan the device. NOTE:-u and -z options can not be used together. |
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.