- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pvg setup
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
Forums
Discussions
Discussions
Discussions
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
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
05-15-2002 07:26 AM
05-15-2002 07:26 AM
bus 1 /dev/dsk/c1t5d0
bus 2 /dev/dsk/c2t5d0
Can I do it online and how?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:35 AM
05-15-2002 07:35 AM
Solutionvgextend -g bus1 vg02 /dev/dsk/c1t5d0 vgextend -g bus2 vg02 /dev/dsk/c2t5d0
should take care of the Physical Volume Groups
(there is going to be a warning that the disks are already in the volumegroup).
Check /etc/lvmpvg afterwards ...
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:38 AM
05-15-2002 07:38 AM
Re: pvg setup
You can do the pvg setup online. But if you using an existing VG and the disk you want to setup with pvg are already there in the vg, it is not possible. You can add new disks to an existing vg using pvg or you can create a new vg using pvg. you cannot manipulate disks already part of VG without loosing data.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:42 AM
05-15-2002 07:42 AM
Re: pvg setup
have a look at the following
Regards
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:49 AM
05-15-2002 07:49 AM
Re: pvg setup
# vgcreate -g pvg1 vg02 /dev/dsk/c1t5d0
# vgextend -g pvg2 vg02 /dev/dsk/c2t5d0
# lvcreate -s g /dev/vg02/lvol1
===> PVG-strict on
# lvextend -L 2000 /dev/vg02/lvol1 /dev/dsk/c1t5d0
===> extend it to c1t5d0
and so on ...(you would extend lvol2 to the other disk)
Since your existing LVs are already created the chances are both still sits in the same PV which defeats the whole purpose of setting up a PVG even if you can do it "online". Once PVG is setup /etc/lvmpvg file can be modify by hand. Simply vgextend another PV into the VG in a normal way and then edit /etc/lvmpvg to place it in the PVG you wanted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:49 AM
05-15-2002 07:49 AM
Re: pvg setup
Look at paragraphs XV and XVI
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:51 AM
05-15-2002 07:51 AM
Re: pvg setup
In addition, from the man pages for 'lvmpvg (4)':
/begin_quote/
Instead of using the vgcreate and vgextend commands, the administrator can edit this file to create and extend physical volume groups.
However, care must be taken to ensure that all physical volumes to be included in the file have already been defined in their respective
volume groups by previous use of vgcreate or vgextend.
/end_quote/
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 10:48 AM
05-15-2002 10:48 AM
Re: pvg setup
the following entries:
**
VG vg02
PVG bus1
/dev/dsk/c1t5d0
PVG bus2
/dev/dsk/c2t5d0
**
HTH
raj