- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- adding alternate links
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
тАО06-10-2009 06:14 AM
тАО06-10-2009 06:14 AM
On a storage array I created two new luns 300GB in size each I did a pvcreate of each lun then added one to VG05 and one to VG06 using vgextend.
vgextend /dev/vg05 /dev/dsk/cxtxdx <-- one lun
vgextend /dev/vg06 /dev/dsk/cytydy <-- second
Can I now add an alternate link to each side in case a controller goes out?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 06:26 AM
тАО06-10-2009 06:26 AM
Re: adding alternate links
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 06:30 AM
тАО06-10-2009 06:30 AM
Re: adding alternate links
Your steps are correct go ahead and add alternet link also.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 06:33 AM
тАО06-10-2009 06:33 AM
Re: adding alternate links
I have done it now my vgextend command looks like this:
vgextend /dev/vg05 /dev/dsk/cytydy
but I receive an error message back saying:
vgextend: The physical volume /dev/dsk/cytydy is already recorded in the /etc/lvmtab file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 06:38 AM
тАО06-10-2009 06:38 AM
Re: adding alternate links
Please post the output of
# strings /etc/lvmtab
thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 06:47 AM
тАО06-10-2009 06:47 AM
Re: adding alternate links
You need to go through 'ioscan -kfnC disk' and find the actual alternate paths for the 2 luns.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 07:25 AM
тАО06-10-2009 07:25 AM
Re: adding alternate links
/dev/vg00
E5 C
/dev/dsk/c2t0d0s2
/dev/dsk/c2t1d0s2
/dev/vg05
/dev/dsk/c15t0d1
/dev/dsk/c19t0d1
/dev/dsk/c15t0d5
/dev/vg06
/dev/dsk/c15t0d2
/dev/dsk/c19t0d2
/dev/dsk/c15t0d4
The first two paths seen on vg05 and vg06 are the originals. The /dev/dsk/c15t0d5 is the lun/disk I added this morning. The same goes for vg06, the last entry is what I entered this morning to the vg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 07:28 AM
тАО06-10-2009 07:28 AM
Re: adding alternate links
/dev/vg05
/dev/dsk/c15t0d1
/dev/dsk/c19t0d1
/dev/dsk/c15t0d5
/dev/vg06
/dev/dsk/c15t0d2
/dev/dsk/c19t0d2
/dev/dsk/c15t0d4
*****
It appears that your alternate paths are the c19 disks.
If that is the case, to add your alternate paths for your new disks you would do:
# vgextend vg05 /dev/dsk/c19t0d5
# vgextend vg06 /dev/dsk/c19t0d4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 08:03 AM
тАО06-10-2009 08:03 AM
Re: adding alternate links
Now my /etc/lvmtab looks like this:
# strings /etc/lvmtab
/dev/vg00
E5 C
/dev/dsk/c2t0d0s2
/dev/dsk/c2t1d0s2
/dev/vg05
/dev/dsk/c15t0d1
/dev/dsk/c19t0d1
/dev/dsk/c15t0d5
/dev/dsk/c19t0d5
/dev/vg06
/dev/dsk/c15t0d2
/dev/dsk/c19t0d2
/dev/dsk/c15t0d4
/dev/dsk/c19t0d4
One last question though... Now when I do a vgdisplay on, for example /dev/vg06 I receive this:
--- Physical volumes ---
PV Name /dev/dsk/c15t0d2
PV Name /dev/dsk/c19t0d2 Alternate Link
PV Status available
Total PE 25596
Free PE 36
Autoswitch On
Proactive Polling On
PV Name /dev/dsk/c15t0d4
PV Name /dev/dsk/c19t0d4 Alternate Link
PV Status available
Total PE 38394
Free PE 38394
Autoswitch On
Proactive Polling On
should not both sides be reporting the same Total PE and Free PE ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 08:13 AM
тАО06-10-2009 08:13 AM
SolutionOne last question though... Now when I do a vgdisplay on, for example /dev/vg06 I receive this:
--- Physical volumes ---
PV Name /dev/dsk/c15t0d2
PV Name /dev/dsk/c19t0d2 Alternate Link
PV Status available
Total PE 25596
Free PE 36
Autoswitch On
Proactive Polling On
PV Name /dev/dsk/c15t0d4
PV Name /dev/dsk/c19t0d4 Alternate Link
PV Status available
Total PE 38394
Free PE 38394
Autoswitch On
Proactive Polling On
*******************
>>should not both sides be reporting the same Total PE and Free PE ?
No. For device c15t0d2/c19t0d2, you have 25,596 PEs total on the device. All but 36 of those have been used by an LV.
On c15t0d4/c19t0d4 you have a 38,394 PE's total on the device. NONE of them have been assigned to / used by an LV yet.