creating 2 volume group from 2 different disk with same size.
by ghpradeep from LinuxQuestions.org on (#545V6)
Hello all,
I am attaching 2 disks to my vm machine which are having same size like e.g 2GB or some time size will be different. I want to create two different volume group from those 2 disks.
I am looking for shell script or command which i can use in my shell script to.
I have data in below format which i am going to read in my shell script
.
#2G,appvg,DataStore-gold
#2G,dbsvg,Datastore-gold
#5G,tstvg,Datastore-gold


I am attaching 2 disks to my vm machine which are having same size like e.g 2GB or some time size will be different. I want to create two different volume group from those 2 disks.
I am looking for shell script or command which i can use in my shell script to.
I have data in below format which i am going to read in my shell script
.
#2G,appvg,DataStore-gold
#2G,dbsvg,Datastore-gold
#5G,tstvg,Datastore-gold