- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- alternate link
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
03-07-2008 10:47 AM
03-07-2008 10:47 AM
alternate link
now, i extended the volume group with c8t8d2. Now, how do i add the c13t4d0 as an alternate link to it without initializing it with pvcreate ????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2008 10:56 AM
03-07-2008 10:56 AM
Re: alternate link
An alternate link is only a different path to a physical device. Do NOT use 'pvcreate' as this will obliterate the physical volume!
To add an alternate (pvlink) link, simply do:
# vgextend /dev/vgNN /dev/dsk/cXtYdZ
To promote a secondary link to a primary one, simply 'vgreduce' the *primary* thereby promoting the _secondary_ link to a primary one and 'vgextend' the old primary link again.
The first path to a physical volume represented in '/etc/lvmtab' is the primary; the second path is a secondary.
LVM allows up to eight (8) paths to a single physical device --- one primary and seven (7) alternates.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2008 11:02 AM
03-07-2008 11:02 AM
Re: alternate link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2008 11:05 AM
03-07-2008 11:05 AM
Re: alternate link
vgextend /dev/vgxyz /dev/dsk/c13t4d0
or when you create the VG.
vgcreate /dev/vgxyz /dev/dsk/c8t8d2 /dev/dsk/c13t4d0
vgdisplay -v /dev/vgxyz
you will see c13t4d0 as an alt link.
no pvcreate needed, as this is the exact same disk you do not want to overwrite the VG header on the disk.
Food for thought. You first path and alt path do not have the same target and lun number ( t8d2 vs t4d0) it would be a really good practice to present the luns with the same lun number. Doing otherwise is just poor organization and may lead to mistakes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2008 11:12 AM
03-07-2008 11:12 AM
Re: alternate link
/dev/rdsk/c8t8d2 (probably LUN 62?)
is an alternate to
/dev/rdsk/c13t4d0 (LUN 32?)
or vice versa.
Running "xpinfo" will likely clarify.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2008 11:22 AM
03-07-2008 11:22 AM
Re: alternate link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2008 11:23 AM
03-07-2008 11:23 AM
Re: alternate link
we did have same setup earlier. Same lun with two different T and D numbers for two paths.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2008 11:33 AM
03-07-2008 11:33 AM
Re: alternate link
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2008 12:09 PM
03-07-2008 12:09 PM
Re: alternate link
Alternative link means two paths pointing to the SAME LUN(disk). So here u are having two disks.
rdsk - represents character device and pvcreate and diskinfo accepts character device files
dsk - represents block device file and vgcreate and vgextend accepts only block device files.
-----------------
How to find the alter native
----
#/usr/local/bin/xpinfo -f /dev/rdsk/c8t8d2 | grep CU:LDev
this will give is an output some thing like below
CU:LDev : 00:88
#/usr/local/bin/xpinfo -i | grep 00:88
the above command will give two device names, those are two device files pointing to same device , means alternative link.