LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-01-2020, 08:54 AM   #1
ghpradeep
Member
 
Registered: Mar 2011
Posts: 30

Rep: Reputation: 0
creating 2 volume group from 2 different disk with same size.


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
 
Old 06-01-2020, 09:44 AM   #2
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 4,789

Rep: Reputation: 1424Reputation: 1424Reputation: 1424Reputation: 1424Reputation: 1424Reputation: 1424Reputation: 1424Reputation: 1424Reputation: 1424Reputation: 1424
That looks like three volume groups, not two. You need at least three disks for that. What is Datastore-gold, and what do you mean by #2G?

I can write the script, though not for free. If you show your script, however, the Linuxquestions community will be happy to fix or improve it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing volume group before creating logical volume fanoflq Linux - Newbie 1 07-26-2016 06:32 PM
LVM Mount Physical Volume/Logical Volume without a working Volume Group mpivintis Linux - Newbie 10 01-11-2014 07:02 AM
Map/Mount Volume Group Folder to Volume Group Folder??? Led Zappa Linux - Newbie 4 09-21-2013 04:12 PM
I have spce in volume group but it can not increase the size of logical volume anis123 Linux - Newbie 14 04-16-2012 06:23 AM
[SOLVED] Redhat volume group,logical volume group dhairysheel Red Hat 3 08-02-2011 05:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration