2.4. Enabling DASD devices
If you are using DASD devices, you must enable them before creating an OpenShift Data Foundation cluster on IBM Z. Once the DASD devices are available to z/VM guests, complete the following steps from the compute or infrastructure node on which an OpenShift Data Foundation storage node is being installed.
Procedure
To enable the DASD device, run the following command:
sudo chzdev -e <device_bus_id>1 - 1
- For <device_bus_id>, specify the ID of the DASD device bus-ID. For example,
0.0.b100.
To verify the status of the DASD device you can use the the
lsdasdandlsblkcommands.To low-level format the device and specify the disk name, run the following command:
sudo dasdfmt /dev/<device_name> -b 4096 -p --mode=full1 - 1
- For <device_name>, specify the disk name. For example,
dasdb.
重要The use of DASD quick-formatting Extent Space Efficient (ESE) DASD is not supported on OpenShift Data Foundation. If you are using ESE DASDs, make sure to disable quick-formatting with the
--mode=fullparameter.To auto-create one partition using the whole disk, run the following command:
sudo fdasd -a /dev/<device_name>1 - 1
- For <device_name>, enter the disk name you have specified in the previous step. For example,
dasdb.
Once these steps are completed, the device is available during OpenShift Data Foundation deployment as /dev/dasdb1.
During LocalVolumeSet creation, make sure to select only the Part option as device type.
Additional resources
- For details on the commands, see Commands for Linux on IBM Z in IBM documentation.