This tool is used to create NSS pool and volume on a particular device, without the need of going through multiple steps from nssmu utility. This utility initializes the device, allocates half of the device space to a pool and creates a volume in it, all in one step!
It uses Virtual File Services (Originally called Virtual File Services for NetWare) to create the pools and volumes. It also generates the log file (createPoolVol.log), where user can find the exact vfs commands (available via 'nsscon' when using 'nssmu') executed and their output.
Extract the attached tar (nssPoolVol.tar) in a directory.
#python createPoolVol.py --help
Usage: -d <device name> -p <pool name> -v <volume name> -s <size of pool>
-h | --help Show this help message and exit
-d | --disk Device on which the pool needs to be created (eg : sda, sdb.
Default value: second device)
-p | --pool Pool Name (on which pool, volume needs to be created eg: POOL1, POOL2.
Default value: POOL1)
-v | --volume Volume Name (eg : VOL1, VOL2.
Default value: VOL1)
-s | --size Size to allocate for pool (Default value : half of the disk size)
On execution of above command: