Before you begin, you must initialize the SAN device to set up its device format. You can also initialize a device to wipe its current structure and reconfigure it.
WARNING:Initializing a device removes all partitions and data from the device. Do not initialize the device that contains the operating system.
Devices that you want to use for a clustered Linux LVM volume group should contain no partitions and be in an unshared state. When you initialize the SAN device by using NSS management tools, ensure that the Shareable for Clustering option is disabled.
IMPORTANT:NLVM and NSSMU do not support using Linux software RAID devices and NSS software RAID devices with Linux POSIX file systems. You can use a hardware RAID device to achieve device fault tolerance for Linux POSIX volumes.
Initializing a device formats it with an MSDOS or a GPT partitioning scheme. MSDOS supports devices up to 2 TB in size. GPT supports devices of any size. The default is MSDOS. If the device size is greater than 2 TB and the partitioning scheme is not specified, the default partitioning scheme of MSDOS applies, and the device size is truncated to 2 TB with the remainder as unusable space.
Devices that have never been initialized have a format of None (NLVM commands) or Uninitialized (in NSSMU). Devices that are being used for a Novell Cluster Services SBD (split brain detector) partition also have a format of None; however, you should not use the nlvm init command to remove an SBD partition. For information about removing an SBD partition, see Creating or Deleting Cluster SBD Partitions
in the OES 2023: OES Cluster Services for Linux Administration Guide.
Use the procedure in this section to initialize the SAN device that you want to use for the LVM volume group. Do not mark it as shareable for clustering.
Ensure that the SAN device is attached to all of the nodes in the cluster.
Log in to the master node of the cluster as the root user, then open a terminal console.
Launch NSSMU:
nssmu
In the NSSMU main menu, select Devices, then press Enter.
In the Devices list, select the SAN device (such as sdf), then view information about it.
A device that has never been initialized reports a partition type of Uninitialized. If the device contains partitions or data, be prepared to lose all data on the device when it is initialized. The clustered volume group requires the entire device.
Press F3 to initialize the selected device.
You are prompted to confirm the initialization. If you continue, any existing partitions on the device are deleted, and a new partition table is created.
Read the advisory message, then do one of the following:
Specify the partitioning scheme to use as DOS or GPT, then press Enter.
DOS supports devices up to 2 TB in size. GPT supports devices of any size.
Select the device and view its details to verify that the device is initialized and unshared (that is, Shareable for Clustering is set to No.) If Shareable for Clustering is set to Yes, press F6 to unshare the device. This is necessary to make the entire device available to Clustered LVM.
Press Esc twice to exit NSSMU.