#!/bin/bash # # vim:expandtab:shiftwidth=4:softtabstop=4:tabstop=4: # # lc_lvm - configure Linux LVM devices from a csv file # ################################################################################ # Usage usage() { cat >&2 < This script is used to configure Linux LVM devices in a Lustre cluster from a csv file. Options: -a select all the nodes from the csv file to operate on -w hostname,hostname,... select the specified list of nodes (separated by commas) -x hostname,hostname,... exclude the specified list of nodes (separated by commas) -h help and examples -v verbose mode csv file a spreadsheet that contains configuration parameters (separated by commas) for each Linux LVM component (PV, VG, LV) to be configured in a Lustre cluster EOF exit 1 } # Samples sample() { cat <