- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: two paths to the same disk?
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
08-06-2003 11:54 AM
08-06-2003 11:54 AM
two paths to the same disk?
/dev/dsk/c6t11d3 and /dev/dsk/c9t3d3, and they both point to the same disk by two A5158A HBA cards. It is EMC Symmetrix disk.
1. I also did pvcreate on c6t11d3, now how do I add another device file c9t3d3 into the same vg01? I can't do the pvcreate on c9t3d3.
2. and how to setup one as primary path, another as 2ndary path?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 11:59 AM
08-06-2003 11:59 AM
Re: two paths to the same disk?
# vgextend vg01 /dev/dsk/c9t3d3
Which will automatically add it as an alternate link.
Verify with:
# vgdisplay -v vg01 | grep -i alternate
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 11:59 AM
08-06-2003 11:59 AM
Re: two paths to the same disk?
# vgextend /dev/vg_name /dev/dsk/c9t3d3
System will say it's an alternative path and you can confirm it with:
# vgdisplay -v /dev/vg_name
Make sure you are using the right device file. Normally, only the controller number (c6, c9 etc) changes when having multiple paths.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 12:03 PM
08-06-2003 12:03 PM
Re: two paths to the same disk?
Here are some tips on setup from someone who has done it.
Steven Farrelly
vgextend vgxx /dev/dsk/c1t0d0 /dev/dsk/c2t0d0
vgextend vgxx /dev/dsk/c1t0d1 /dev/dsk/c2t0d1
...
you do;
vgextend vgxx /dev/dsk/c1t0d0 /dev/dsk/c2t0d0
vgextend vgxx /dev/dsk/c2t0d1 /dev/dsk/c1t0d1
For more:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x950fc7912162e2428fba7a148bb49132,00.html
http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0xd76cef70e827d711abdc0090277a778c,00.html&qt=PVLINKS&hit=17
http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf4727e990647d4118fee0090279cd0f9,00.html&qt=PVLINKS&hit=9
http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2108595fae8bd711abdc0090277a778c,00.html&qt=PVLINKS&hit=1
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 12:06 PM
08-06-2003 12:06 PM
Re: two paths to the same disk?
LVM alternate links are setup and manipulated at the volume group level. The first path associated with a particular physical disk during 'vgcreate' becomes its primary kink. Subsequent paths become alternate (secondary) links.
To create a volume group with one physical disk and two paths:
# vgcreate /dev/vgXX /dev/dsk/cXtYdZ
To *add* an alternate path:
# vgextend /dev/vgXX /dev/dsk/cXtYdZ
To swap a primary and secondary path:
# vgreduce /dev/vgXX /dev/dsk/cXtYdZ
# vgextend /dev/vgXX /dev/dsk/cXtYdZ
...where cXtYdZ is the *same* device file in both the 'vgreduce' *and* the 'vgextend'. This demotes the primary link and promotes the secondary link to a primary. The old primary link then becomes the new secondary link during rhe 'vgextend'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 12:11 PM
08-06-2003 12:11 PM
Re: two paths to the same disk?
Are you *sure* those are the same LUN?
They usually have the same t & d values & only different controller values.
I'd run the symminq command to verify they are indeed the same LUN.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 12:21 PM
08-06-2003 12:21 PM
Re: two paths to the same disk?
To verify that the two device files actually points to the same disk, you can run:
# ioscan -funC disk
If the device files actually belong to the same disk, they should be shown next to each other.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 12:59 PM
08-06-2003 12:59 PM
Re: two paths to the same disk?
I did echo "0x2008?4D" | adb /dev/dsk/c6d11d3 and /dev/dsk/c9t3d3 on both device, and got same output. I though that would verify I have the same disk.
I don't have symminq on this server.
Do I have to same t#d#, why?
In what case, I would have different t#d#?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 01:29 PM
08-06-2003 01:29 PM
Re: two paths to the same disk?
You can confirm those with:
# ioscan -fn
# sam -> disk devices
Check the outputs and confirm you are pointing the same device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 04:44 AM
08-07-2003 04:44 AM
Re: two paths to the same disk?
From EMC I got an excel spread sheet.
In the left columm is the EMC disk number.
Then the other columns hold the disk hardware name for it for each scsi interface and host.
example
c1 c8 c2
0A 3:4 6:0 5:3
This means EMC disk 0A is:
/dev/dsk/c1t3d4
/dev/dsk/c8t6d0
/dev/dsk/c2t5d3
When using the disk only ONE of these is used in the pvcreate command. The other disks are added to the volume group with vgextend.
IF you have EMC, you should also have the "inq" command. Do a man page on it. BETTER (and safer) YET, call EMC.
steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 04:50 AM
08-07-2003 04:50 AM
Re: two paths to the same disk?
Sorry about that.
You don't have syminq or whatever that is.
I have "inq".
There is some fancy,smancy symetric shell script that runs inq. All I remember the bugger doing is to list out the serial numbers of each EMC disk that is seen by the host.
The easy solution is to just call your EMC rep.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 07:43 AM
08-07-2003 07:43 AM
Re: two paths to the same disk?
If you are relatively sure that the disk is supposed to be seen by your machine, you can go ahead and try vgextending it. If it is your alternate, it will show up. If it isn't, it will either fail to extend (this is fine), or extend as another disk. In the latter case, just vgreduce it, and then try to figure out which one is actually your alternate. Under no circumstance should you run pvcreate on this volume until you are sure of what it is.