- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvm question with pvgs involved
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
09-13-2006 03:43 AM
09-13-2006 03:43 AM
use CL1K and CL2K, what i usually do in vgextend the new paths and then vgreduce the old paths, but now i have come across a miche that has a pvg created, and i dont know how these vgs with pvg behave:
--- Physical volumes ---
PV Name /dev/dsk/c21t0d0
PV Name /dev/dsk/c22t0d0 Alternate Link
PV Status available
Total PE 20836
Free PE 0
Autoswitch On
PV Name /dev/dsk/c21t0d1
PV Name /dev/dsk/c22t0d1 Alternate Link
PV Status available
Total PE 20836
Free PE 0
Autoswitch On
PV Name /dev/dsk/c21t0d2
PV Name /dev/dsk/c22t0d2 Alternate Link
PV Status available
Total PE 20836
Free PE 0
Autoswitch On
PV Name /dev/dsk/c21t0d3
PV Name /dev/dsk/c22t0d3 Alternate Link
PV Status available
Total PE 20836
Free PE 0
Autoswitch On
PV Name /dev/dsk/c25t0d1
PV Name /dev/dsk/c26t0d1 Alternate Link
PV Status available
Total PE 3471
Free PE 0
Autoswitch On
PV Name /dev/dsk/c25t0d2
PV Name /dev/dsk/c26t0d2 Alternate Link
PV Status available
Total PE 3471
Free PE 0
Autoswitch On
PV Name /dev/dsk/c25t0d6
PV Name /dev/dsk/c26t0d6 Alternate Link
PV Status available
Total PE 20836
Free PE 0
Autoswitch On
PV Name /dev/dsk/c25t0d7
PV Name /dev/dsk/c26t0d7 Alternate Link
PV Status available
Total PE 20836
Free PE 0
Autoswitch On
PV Name /dev/dsk/c25t1d1
PV Name /dev/dsk/c26t1d1 Alternate Link
PV Status available
Total PE 20836
Free PE 0
Autoswitch On
PV Name /dev/dsk/c25t1d2
PV Name /dev/dsk/c26t1d2 Alternate Link
PV Status available
Total PE 27781
Free PE 0
Autoswitch On
PV Name /dev/dsk/c39t0d1
PV Name /dev/dsk/c41t0d1 Alternate Link
PV Status available
Total PE 27786
Free PE 0
Autoswitch On
PV Name /dev/dsk/c41t0d2
PV Name /dev/dsk/c39t0d2 Alternate Link
PV Status available
Total PE 24996
Free PE 0
Autoswitch On
--- Physical volume groups ---
PVG Name dis2
PV Name /dev/dsk/c21t0d2
PV Name /dev/dsk/c21t0d3
PV Name /dev/dsk/c25t0d7
PV Name /dev/dsk/c25t1d1
PV Name /dev/dsk/c25t1d2
PV Name /dev/dsk/c22t0d0
PV Name /dev/dsk/c22t0d1
PV Name /dev/dsk/c26t0d6
can i just vgextend the new paths, and vgreduce the ones in the pvg?
or do i have to make a new lvmpvg file?
not much idea, why we are using a pvg in this vg and what benefits it has if its not a mirror
any sugestions?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2006 04:00 AM
09-13-2006 04:00 AM
Re: lvm question with pvgs involved
You said
>> i am actually using ports CL1F CL2E, and now i want to
use CL1K and CL2K.
<<
Means you want to switch ports. correct?
Do this way.
1. Run two fibre cables from switch to new ports CL1K and CL2K and assign same LUN to this host.
2. Run ioscan, insf -e and vgextend
You will see one primary and 3 alternate links.
3. vgreduce old paths carefully.
4. remove fibre cables from switch to old ports.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2006 05:06 AM
09-13-2006 05:06 AM
Re: lvm question with pvgs involved
One way to accomodate the changes in device files is to 'vgexport' and then 'vgimport' the volume group. Follow this with a manual recreation of the '/etc/lvmpvg' file and edit it as needed.
You can use the the '-f outfile' switch and argument for the 'vgexport' and edit the device paths before using the 'outfile' with the 'vgimport', if you know the new device names. Otherwise, you can export and import using the '-s' option and arrange your alternate links (pv_paths) in a second export/import using the same technique. This is sometimes faster than promoting and demoting secondary and primary links for volume groups with large numbers of paths.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2006 06:23 AM
09-13-2006 06:23 AM
Re: lvm question with pvgs involved
knowing your mapping you could remove the current pvg for this vg in the lvmpvg file.
Do it your normal way, extend reduce. Then just edit lvmpvg file add the pvg back with the new disk names.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2006 06:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2006 07:59 PM
09-13-2006 07:59 PM
Re: lvm question with pvgs involved
i just cant see the point of it, if someone could please explain. thnx!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 01:09 AM
09-14-2006 01:09 AM
Re: lvm question with pvgs involved
lvcreate -n < name> -L
Another advantage is the data can be stripped (extent) over all the disks in the disk group.
lvcreate -n
Lastly you could mirror LVs beteen two disk groups
lvcreate -n
lvextend -m 1 /dev/vgXX/
Usually I only have two disk groups, (primary, mirror) and use the following
lvcreate -m1 -D y -s g -n
Regards
Tim