- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Alternate links for disk physical volumes
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
11-16-2001 01:36 PM
11-16-2001 01:36 PM
Stuart
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 01:40 PM
11-16-2001 01:40 PM
SolutionYou specify the alternate link when you create the VG. Since this is an autoraid, proceed like this,
pvcreate -f /dev/rdsk/c4t0d6
mkdir /dev/vg_name
mknod /dev/vg_name/group c 64 0x0n0000
(n=1,2,3,....and is unique, to find a unique no for n do "ll /dev/*/group)
vgcreate /dev/vg_name /dev/dsk/c4t0d6
vgextedn /dev/vg_name /dev/dsk/c8t0d6
Now do a "vgdisplay -v /dev/vg_name" and it will show the alternate link over there for the PV mentioned above.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 01:45 PM
11-16-2001 01:45 PM
Re: Alternate links for disk physical volumes
Here is a link from ITRC on the question you have asked,
http://us-support.external.hp.com/cki/bin/doc.pl/sid=1345381f01e701a649/screen=ckiDisplayDocument?docId=200000024626185
Here is a link from hp docs site
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90742/B2355-90742_top.html&con=/hpux/onlinedocs/B2355-90742/00/00/48-con.html&toc=/hpux/onlinedocs/B2355-90742/00/00/48-toc.html&searchterms=vgcreate%20alternate%20link&queryid=20011116-134752
Look for "Tasks That You Can Perform Only with HP-UX Commands " --> "Setting Up Alternate Links to a Physical Volume"
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 01:56 PM
11-16-2001 01:56 PM
Re: Alternate links for disk physical volumes
As you see from Sanjay's answer, the missing piece was the vgextend. Simply extending the VG with the second device path will indeed add it as an alternate link if it truly is the same disk / lun. If it doesn't show as an alternate link then it is not the same disk.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 02:00 PM
11-16-2001 02:00 PM
Re: Alternate links for disk physical volumes
# cd /dev
# mkdir vg0# (where # is the number of the volume group such as vg03)
# cd vg0#
# mknod group c 64 0x0#0000 ( # must be the same as the volume group number)
# pvcreate /dev/rdsk/c0t1d0 (do this for all 4 disks that are being added to the volume group)
# vgcreate /dev/vg0# /dev/dsk/c1t0d0 /dev/dsk/c2t1d0 /dev/dsk/c2t1d1
/dev/dsk/c1t0d1 (you must follow this format when adding disks into the volume group)
# vgdisplay ???v vg0# ( see if the volume group was created successfully, make sure controller cards alternate. It should look like the example below)
--- Physical volumes ---
PV Name /dev/dsk/c1t0d0
PV Name /dev/dsk/c0t1d0 Alternate Link
PV Status available
Total PE 4499
Free PE 1311
Autoswitch On
PV Name /dev/dsk/c0t1d1
PV Name /dev/dsk/c1t0d1 Alternate Link
PV Status available
Total PE 4499
Free PE 1311
Autoswitch On
if not correct
# vgreduce vg0# /dev/dsk/c#t#d#
# vgextend vg0# /dev/dsk/c#t#d#
then continue
if correct next step is to make the required mount points for a striped logical volume on autoRAID
# lvcreate ???l ???SIZE??? ???i 2 ???I 64 ???s y (???n lvol#) /dev/vg0# (repeat this for all logical volumes needed ??? The SIZE represents lvol size, the ???l is for extents, ???L for Mbytes default Physical Extent size is 4MB) ( the format above for stripping is lower case -i 2 upper case -i 64, Word distorts the true representation of the letters) don???t use the ???n option in most cases and pay attention to make sure that the you see what lvol it has assigned.
# newfs ???F vxfs /dev/vg0#/rlvol# (repeat this for all rvol???s needed)
# cd /etc
# vi fstab (Add new volume group with files as needed create needed directories)
ie.. /dev/vg0#/lvol# /opt/oracle vxfs delaylog 0 2
mount ???a (tests fstab entries while it mounts new lvol???s)
bdf (to show that they are mounted)
Good Luck,
C