- Community Home
- >
- Storage
- >
- Entry Storage Systems
- >
- Disk Enclosures
- >
- Re: vgcreate command with PVG's and alternate path...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2002 01:53 PM
тАО08-13-2002 01:53 PM
vgcreate command with PVG's and alternate paths
I'm trying to create a volume group of a stripe size of 2 mb with PVG's (extent based mirrored stripes). I have four drives that are going to be part of this volume group (all having alternate paths).
Question 1
DO I have to add the alternate paths to the vgcreate command?
Question 2
Do I have to edit /etc/lvmpvg do get this done or can I achieve the same with the two seperate vgcreate commands:
vgcreate -s 2 -g pvg01 /dev/vg03 /dev/dsk/c3t15d0 (primary) /dev/dsk/c5t13d0 (alternate) /dev/dsk/c3t14d0 (primary)
/dev/dsk/c5t14d0 (alternate)
I would then follow it up with a similar command using the other two disk addresses.
Is this correct?
Many Thanx,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2002 06:18 PM
тАО08-13-2002 06:18 PM
Re: vgcreate command with PVG's and alternate paths
Yes you have to add the alternate path devices.
No you shouldn't have to edit the /etc/lvmpvg file. It should be done automatically by the correct usage of the commands. Have a look at this similar discussion, it provides some valuable information.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x7a6e42308663d611abdb0090277a778c,00.html
HTH
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2002 06:03 AM
тАО08-14-2002 06:03 AM
Re: vgcreate command with PVG's and alternate paths
Thanks for the link. But my question is: Will the command I've laid out accomplish what I'm trying to do?
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2002 07:07 AM
тАО08-14-2002 07:07 AM
Re: vgcreate command with PVG's and alternate paths
Yes
Q2
No need to edit /etc/lvmpvg. I'm not sure if vgcreate can take the PV paths in one command because you got yourself alternate path to consider. I know this would work .. (split your "vgcreate" into 2 steps, vgcreate and vgextend)
# vgcreate -s 2 -g pvg01 /dev/vg03 /dev/dsk/c3t15d0 /dev/dsk/c5t13d0
==>c3t15d0(primary) and c5t13d0(alternate) will be placed in pvg01
# vgextend -g pvg01 /dev/vg03 /dev/dsk/c3t14d0 /dev/dsk/c5t14d0
==>c3t14d0(primary) and c5t14d0(alternate) will be placed in pvg01
Check /etc/lvmpvg afterwards to make sure the PVs are defined.
To extend vg03 with more PVs into a different PVG (say pvg02) you would simply run the same vgextend command replacing "pvg01" with "pvg02".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2002 08:00 AM
тАО08-14-2002 08:00 AM
Re: vgcreate command with PVG's and alternate paths
2) No need to edit the lvmpvg file. Check the file content after you did the vgcreate -g
3) The best practise for giving an alt. path is:
# vgcreate - first
# vgextend - with alt. path.
4) Check the output of this after everything is done:
# vgdisplay -v
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2002 08:16 AM
тАО08-14-2002 08:16 AM
Re: vgcreate command with PVG's and alternate paths
Thanx Again,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2002 08:43 AM
тАО08-14-2002 08:43 AM
Re: vgcreate command with PVG's and alternate paths
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2002 09:55 AM
тАО08-14-2002 09:55 AM
Re: vgcreate command with PVG's and alternate paths
vgcreate -g pvg01 /dev/vg03 /dev/dsk/c3t15d0 /dev/dsk/c5t15d0
Increased the number of physical extents per physical volume to 4341.
vgcreate: The physical volume "/dev/dsk/c3t15d0" is already recorded in the "/et
c/lvmtab" file.
# vgextend -g pvg01 /dev/vg03 /dev/dsk/c3t14d0 /dev/dsk/c5t14d0
vgextend: Volume group "/dev/vg03" does not exist in the "/etc/lvmtab" file.
How can I get around this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2002 10:20 AM
тАО08-14-2002 10:20 AM
Re: vgcreate command with PVG's and alternate paths
Thanks,
The Dyslexic Kid