This is a continuation of the previous script where you can use the script to create the partition on the disks which doesn’t have a FS created. The following script can help to generate the data sets on those disk, and it can do the write dynamically based on the disks to be operated.