#!/bin/bash lvdisplay | grep 'LV Path' | awk '{print $3}' | xargs lvremove -f vgdisplay | grep 'VG Name' | awk '{print $3}' | xargs vgremove -f pvdisplay | grep 'PV Name' | awk '{print $3}' | xargs pvremove -f