search for: array_pv

Displaying 1 result from an estimated 1 matches for "array_pv".

2011 May 25
1
Hook script to preserve one partition untouched during install
...() { local MSG=$1 echo "$MSG" >> $LOG_FILE } # Scan a hard disk to find all available partitions to create # AppVG Volume Group. # Parameter: # - DISK: hard disk to be analized (example, sdb) # - PARTITION: partition number to be preserved (example, 1) # Return: # - ARRAY_PV: array with partitions available disk_scan() { local DISK=$1 local PART=$2 local DM='' local DM_NAME='' local PATTERN='' local DIR='' RETURN='' if [ -z "$DISK" -o -z "$PART" ]; then log "ERROR:...