shell script to create and extending the volume
[bala@ansserve1 ~]$ ./script2.sh This script must be run as root. [bala@ansserve1 ~]$ sudo ./script2.sh [sudo] password for bala: --------list the devices------- NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 64G 0 disk |-sda1 8:1 0 1G 0 part /boot `-sda2 8:2 0 63G 0 part |-centos_ansserve-root 253:0 0 40.8G 0 lvm / |-centos_ansserve-swap 253:1 0 2.3G 0 lvm [SWAP] |-centos_ansserve-home 253:2 0 19.9G 0 lvm /home `-centos_ansse...