- Community Home
- >
- Storage
- >
- Entry Storage Systems
- >
- Disk Enclosures
- >
- Finding alternate paths to 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-10-2000 11:47 AM
08-10-2000 11:47 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2000 11:47 AM
08-10-2000 11:47 AM
Re: Finding alternate paths to disk
This will list the I/O paths to the disks
Brian
<*(((>< er
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2000 11:58 AM
08-10-2000 11:58 AM
Re: Finding alternate paths to disk
You could running ioscan -fnC disk or you can look at your /etc/lvmtab file, which will also give you the Volume Group to disk configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2000 12:47 PM
08-10-2000 12:47 PM
Re: Finding alternate paths to disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2000 12:59 PM
08-10-2000 12:59 PM
Re: Finding alternate paths to disk
disk 27 0/4/0/0.16.2.255.0.0.0 sdisk CLAIMED DEVICE HITACHI DF400F
/dev/dsk/c11t0d0 /dev/rdsk/c11t0d0
disk 33 0/4/0/0.16.3.255.0.0.0 sdisk CLAIMED DEVICE HITACHI DF400F
/dev/dsk/c12t0d0 /dev/rdsk/c12t0d0
disk 39 1/10/0/0.16.2.255.0.0.0 sdisk CLAIMED DEVICE HITACHI DF400F
/dev/dsk/c13t0d0 /dev/rdsk/c13t0d0
disk 45 1/10/0/0.16.3.255.0.0.0 sdisk CLAIMED DEVICE HITACHI DF400F
/dev/dsk/c14t0d0 /dev/rdsk/c14t0d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2000 05:55 PM
08-10-2000 05:55 PM
Re: Finding alternate paths to disk
I also found this DOc when I was looking for a similar thing it has some good pointers..
Document Id UNX1030197
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2000 01:04 AM
08-11-2000 01:04 AM
Re: Finding alternate paths to disk
you could also use my shell scipt for finding alternate links within LVM.
Regards
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2000 07:58 AM
08-11-2000 07:58 AM
Re: Finding alternate paths to disk
I also have diff. HDS cabs, with not all disks assigned to vgs, and never was bothered by this point of view, because the alternate path were defined when you assigned your LUNs to the different controllers...
And of course I keep a paper copy of the HDS config, else you can use HDS sommet...
Now to see, just use pvdisplay:
# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
disk 2 8/12.0.0 sdisk CLAIMED DEVICE HITACHI DF400
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 3 8/12.1.0 sdisk CLAIMED DEVICE HITACHI DF400
/dev/dsk/c0t1d0 /dev/rdsk/c0t1d0
disk 4 8/12.2.0 sdisk CLAIMED DEVICE HITACHI DF400
/dev/dsk/c0t2d0 /dev/rdsk/c0t2d0
disk 5 8/12.3.0 sdisk CLAIMED DEVICE HITACHI DF400
/dev/dsk/c0t3d0 /dev/rdsk/c0t3d0
disk 6 8/12.4.0 sdisk CLAIMED DEVICE HITACHI DF400
/dev/dsk/c0t4d0 /dev/rdsk/c0t4d0
disk 7 10/0.0.0 sdisk CLAIMED DEVICE HITACHI DF400
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
disk 8 10/0.1.0 sdisk CLAIMED DEVICE HITACHI DF400
/dev/dsk/c1t1d0 /dev/rdsk/c1t1d0
disk 9 10/0.2.0 sdisk CLAIMED DEVICE HITACHI DF400
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 10 10/0.3.0 sdisk CLAIMED DEVICE HITACHI DF400
/dev/dsk/c1t3d0 /dev/rdsk/c1t3d0
disk 11 10/0.4.0 sdisk CLAIMED DEVICE HITACHI DF400
/dev/dsk/c1t4d0 /dev/rdsk/c1t4d0
disk 0 10/0.6.0 sdisk CLAIMED DEVICE SEAGATE ST39173WC
/dev/dsk/c1t6d0 /dev/rdsk/c1t6d0
disk 1 10/12/5.2.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM XM-5701TA
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
draco # pvdisplay /dev/dsk/c1t2d0
--- Physical volumes ---
PV Name /dev/dsk/c1t2d0
PV Name /dev/dsk/c0t2d0 Alternate Link
VG Name /dev/r5vg01
PV Status available
Allocatable yes
VGDA 2
Cur LV 3
PE Size (Mbytes) 4
Total PE 2842
Free PE 1580
Allocated PE 1262
Stale PE 0
IO Timeout (Seconds) default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2000 09:31 AM
08-11-2000 09:31 AM
SolutionI just read your reply again and what you want to know is: Can someone else add a disk he believes not used because he is seeing an alternate link.
When I tried that some time ago, I remembered the system saying the disk is a alternate link thus not allowing you to do so, but this is true with HP-UX im fighting now with an AIX to do the same but with no success...
I suppose I tried also with a disk not beeing used yet, this is another case but I dont remember what happened and I have none available to try (I used to do my test on a DF350) I suppose the system would accept to extend or create a new vg with this disk but will invert the alternate path, I never had trouble with HDS arrays...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2000 11:17 AM
08-11-2000 11:17 AM
Re: Finding alternate paths to disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2000 04:50 PM
11-20-2000 04:50 PM
Re: Finding alternate paths to disk
We are also in the process of connecting a Hitachi Storage subsystem to a N4000 Server thru Fiber. What type of HBA's are you using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2000 03:56 PM
11-21-2000 03:56 PM
Re: Finding alternate paths to disk
Did you get the array from Hitachi or is it a XP256/512?
If it is a XP you can get a utility called xpinfo. I would imagine that Hitachi would have something similar.
Anyway, scripting is not my strong suit, but, you could do a script that essentially follows this logic.
Do "xpinfo -il"
This will give you a listing of the LUNs on your host. It is ordered by LDev number. It also has the device file for each port that the LDev is assigned to. For each LDev do a pvdisplay on the device file. You will see if it is in a volume group. If not it might be an alternate link that is not added to a volume group. If all device files for an LDev are not in a volume group, it is available. From this you could produce a list of available disks.
I'm not thinking it all the way through, I have to get back to something else right now. I don't think it would be that hard. Just playing with it here I've found some alternate links I do not have setup. I will be working with this more in the next few days.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2001 08:21 AM
07-09-2001 08:21 AM
Re: Finding alternate paths to disk
the only way i've found to get informations about alternate path : by SAM/Disks and File Systems
... no warranty but it works !
best regards
Alain Guillaume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2001 06:59 AM
07-11-2001 06:59 AM
Re: Finding alternate paths to disk
You don't have to worry about someone else trying to destroy your vg with pvcreate: as long as the "-f" option is not used !
pvcreate will return an error indicating that the pv is already in use. pvdisplay will then indicate that it is configured in a vg..