<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Finding alternate paths to disk in Disk Enclosures</title>
    <link>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435955#M151</link>
    <description>Rich,&lt;BR /&gt;Did you get the array from Hitachi or is it a XP256/512?&lt;BR /&gt;If it is a XP you can get a utility called xpinfo.  I would imagine that Hitachi would have something similar.&lt;BR /&gt;Anyway, scripting is not my strong suit, but, you could do a script that essentially follows this logic.&lt;BR /&gt;Do "xpinfo -il"&lt;BR /&gt;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.&lt;BR /&gt;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.&lt;BR /&gt;</description>
    <pubDate>Tue, 21 Nov 2000 23:56:19 GMT</pubDate>
    <dc:creator>Dave Wherry</dc:creator>
    <dc:date>2000-11-21T23:56:19Z</dc:date>
    <item>
      <title>Finding alternate paths to disk</title>
      <link>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435944#M140</link>
      <description>We have an HITACHI array attached to our N4000 via 2 fiber channels. Without adding disks to a volume group and running vgdisplay is there any way to identify the alternate paths to a disk if you did not know how the disks are connected?</description>
      <pubDate>Thu, 10 Aug 2000 18:47:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435944#M140</guid>
      <dc:creator>Rich Owens_1</dc:creator>
      <dc:date>2000-08-10T18:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Finding alternate paths to disk</title>
      <link>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435945#M141</link>
      <description>Run ioscan -fnC disk&lt;BR /&gt;This will list the I/O paths to the disks&lt;BR /&gt;&lt;BR /&gt;Brian&lt;BR /&gt;&amp;lt;*(((&amp;gt;&amp;lt; er</description>
      <pubDate>Thu, 10 Aug 2000 18:47:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435945#M141</guid>
      <dc:creator>Brian M. Fisher</dc:creator>
      <dc:date>2000-08-10T18:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Finding alternate paths to disk</title>
      <link>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435946#M142</link>
      <description>Rich,&lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Thu, 10 Aug 2000 18:58:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435946#M142</guid>
      <dc:creator>Maarten van Maanen</dc:creator>
      <dc:date>2000-08-10T18:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Finding alternate paths to disk</title>
      <link>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435947#M143</link>
      <description>If you are running perl 5, here is a script I use frequently. This script will detail the alternates, mirrors, stripes, etc...</description>
      <pubDate>Thu, 10 Aug 2000 19:47:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435947#M143</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-08-10T19:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Finding alternate paths to disk</title>
      <link>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435948#M144</link>
      <description>Yes, I know you can run ioscan -fnC. My questions was "without adding the devices to  a volume group or knowing the HW setup". I do not want to have to add all of the unused disks to a volume group in order for someone else to run vgdisplay to see that there are alternate paths. Here is some of  the output from my ioscan. I know they are alternate paths but how would someone else know if they didn't know the HW was connected with dual controllers? They would think they had 4 drives when they actually only have one in this case.  I'll sleep on it and the answer will probably come to me tomorrow.&lt;BR /&gt;disk   27   0/4/0/0.16.2.255.0.0.0    sdisk  CLAIMED   DEVICE   HITACHI DF400F&lt;BR /&gt;                                                   /dev/dsk/c11t0d0   /dev/rdsk/c11t0d0&lt;BR /&gt;disk   33   0/4/0/0.16.3.255.0.0.0    sdisk  CLAIMED   DEVICE   HITACHI DF400F&lt;BR /&gt;                                                   /dev/dsk/c12t0d0   /dev/rdsk/c12t0d0&lt;BR /&gt;disk   39  1/10/0/0.16.2.255.0.0.0   sdisk  CLAIMED   DEVICE   HITACHI DF400F&lt;BR /&gt;                                                   /dev/dsk/c13t0d0   /dev/rdsk/c13t0d0&lt;BR /&gt;disk   45  1/10/0/0.16.3.255.0.0.0   sdisk  CLAIMED   DEVICE   HITACHI DF400F&lt;BR /&gt;                                                   /dev/dsk/c14t0d0   /dev/rdsk/c14t0d0</description>
      <pubDate>Thu, 10 Aug 2000 19:59:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435948#M144</guid>
      <dc:creator>Rich Owens_1</dc:creator>
      <dc:date>2000-08-10T19:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Finding alternate paths to disk</title>
      <link>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435949#M145</link>
      <description>Yes I know what you mean and it can be frustrating especially if you have more than one admin.  If the disks and the alt. paths are already in a volume group you could write a small script to grep all the paths and format it showing alternate and primary paths.&lt;BR /&gt;&lt;BR /&gt;I also found this DOc when I was looking for a similar thing it has some good pointers..&lt;BR /&gt;Document Id UNX1030197</description>
      <pubDate>Fri, 11 Aug 2000 00:55:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435949#M145</guid>
      <dc:creator>Anthony Goonetilleke</dc:creator>
      <dc:date>2000-08-11T00:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Finding alternate paths to disk</title>
      <link>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435950#M146</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you could also use my shell scipt for finding alternate links within LVM.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Andrew</description>
      <pubDate>Fri, 11 Aug 2000 08:04:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435950#M146</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-08-11T08:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Finding alternate paths to disk</title>
      <link>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435951#M147</link>
      <description>Hi,&lt;BR /&gt;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...&lt;BR /&gt;And of course I keep a paper copy of the HDS config, else you can use HDS sommet...&lt;BR /&gt;Now to see, just use pvdisplay:&lt;BR /&gt;# ioscan -funC disk&lt;BR /&gt;Class     I  H/W Path     Driver      S/W State H/W Type  Description&lt;BR /&gt;======================================================================&lt;BR /&gt;disk      2  8/12.0.0     sdisk       CLAIMED   DEVICE    HITACHI DF400&lt;BR /&gt;                         /dev/dsk/c0t0d0   /dev/rdsk/c0t0d0&lt;BR /&gt;disk      3  8/12.1.0     sdisk       CLAIMED   DEVICE    HITACHI DF400&lt;BR /&gt;                         /dev/dsk/c0t1d0   /dev/rdsk/c0t1d0&lt;BR /&gt;disk      4  8/12.2.0     sdisk       CLAIMED   DEVICE    HITACHI DF400&lt;BR /&gt;                         /dev/dsk/c0t2d0   /dev/rdsk/c0t2d0&lt;BR /&gt;disk      5  8/12.3.0     sdisk       CLAIMED   DEVICE    HITACHI DF400&lt;BR /&gt;                         /dev/dsk/c0t3d0   /dev/rdsk/c0t3d0&lt;BR /&gt;disk      6  8/12.4.0     sdisk       CLAIMED   DEVICE    HITACHI DF400&lt;BR /&gt;                         /dev/dsk/c0t4d0   /dev/rdsk/c0t4d0&lt;BR /&gt;disk      7  10/0.0.0     sdisk       CLAIMED   DEVICE    HITACHI DF400&lt;BR /&gt;                         /dev/dsk/c1t0d0   /dev/rdsk/c1t0d0&lt;BR /&gt;disk      8  10/0.1.0     sdisk       CLAIMED   DEVICE    HITACHI DF400&lt;BR /&gt;                         /dev/dsk/c1t1d0   /dev/rdsk/c1t1d0&lt;BR /&gt;disk      9  10/0.2.0     sdisk       CLAIMED   DEVICE    HITACHI DF400&lt;BR /&gt;                         /dev/dsk/c1t2d0   /dev/rdsk/c1t2d0&lt;BR /&gt;disk     10  10/0.3.0     sdisk       CLAIMED   DEVICE    HITACHI DF400&lt;BR /&gt;                         /dev/dsk/c1t3d0   /dev/rdsk/c1t3d0&lt;BR /&gt;disk     11  10/0.4.0     sdisk       CLAIMED   DEVICE    HITACHI DF400&lt;BR /&gt;                         /dev/dsk/c1t4d0   /dev/rdsk/c1t4d0&lt;BR /&gt;disk      0  10/0.6.0     sdisk       CLAIMED   DEVICE    SEAGATE ST39173WC&lt;BR /&gt;                         /dev/dsk/c1t6d0   /dev/rdsk/c1t6d0&lt;BR /&gt;disk      1  10/12/5.2.0  sdisk       CLAIMED   DEVICE    TOSHIBA CD-ROM XM-5701TA&lt;BR /&gt;                         /dev/dsk/c2t2d0   /dev/rdsk/c2t2d0&lt;BR /&gt;draco # pvdisplay /dev/dsk/c1t2d0&lt;BR /&gt;--- Physical volumes ---&lt;BR /&gt;PV Name                     /dev/dsk/c1t2d0&lt;BR /&gt;PV Name                     /dev/dsk/c0t2d0     Alternate Link&lt;BR /&gt;VG Name                     /dev/r5vg01&lt;BR /&gt;PV Status                   available&lt;BR /&gt;Allocatable                 yes&lt;BR /&gt;VGDA                        2&lt;BR /&gt;Cur LV                      3&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    2842&lt;BR /&gt;Free PE                     1580&lt;BR /&gt;Allocated PE                1262&lt;BR /&gt;Stale PE                    0&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Aug 2000 14:58:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435951#M147</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2000-08-11T14:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Finding alternate paths to disk</title>
      <link>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435952#M148</link>
      <description>Hi Rich&lt;BR /&gt;I 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.&lt;BR /&gt;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...&lt;BR /&gt;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...</description>
      <pubDate>Fri, 11 Aug 2000 16:31:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435952#M148</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2000-08-11T16:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Finding alternate paths to disk</title>
      <link>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435953#M149</link>
      <description>Thanks for the replies. Good luck with the AIX box Victor.</description>
      <pubDate>Fri, 11 Aug 2000 18:17:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435953#M149</guid>
      <dc:creator>Rich Owens_1</dc:creator>
      <dc:date>2000-08-11T18:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Finding alternate paths to disk</title>
      <link>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435954#M150</link>
      <description>Rich,&lt;BR /&gt;&lt;BR /&gt;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?</description>
      <pubDate>Tue, 21 Nov 2000 00:50:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435954#M150</guid>
      <dc:creator>Jesse Reyes</dc:creator>
      <dc:date>2000-11-21T00:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Finding alternate paths to disk</title>
      <link>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435955#M151</link>
      <description>Rich,&lt;BR /&gt;Did you get the array from Hitachi or is it a XP256/512?&lt;BR /&gt;If it is a XP you can get a utility called xpinfo.  I would imagine that Hitachi would have something similar.&lt;BR /&gt;Anyway, scripting is not my strong suit, but, you could do a script that essentially follows this logic.&lt;BR /&gt;Do "xpinfo -il"&lt;BR /&gt;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.&lt;BR /&gt;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.&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Nov 2000 23:56:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435955#M151</guid>
      <dc:creator>Dave Wherry</dc:creator>
      <dc:date>2000-11-21T23:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Finding alternate paths to disk</title>
      <link>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435956#M152</link>
      <description>Hi Rich,&lt;BR /&gt;&lt;BR /&gt; the only way i've found to get informations about alternate path : by SAM/Disks and File Systems&lt;BR /&gt;  ... no warranty but it works !&lt;BR /&gt;&lt;BR /&gt;best regards&lt;BR /&gt;&lt;BR /&gt;Alain Guillaume</description>
      <pubDate>Mon, 09 Jul 2001 15:21:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435956#M152</guid>
      <dc:creator>M Batteux</dc:creator>
      <dc:date>2001-07-09T15:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Finding alternate paths to disk</title>
      <link>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435957#M153</link>
      <description>Hi Rich,&lt;BR /&gt;&lt;BR /&gt;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 !&lt;BR /&gt;pvcreate will return an error indicating that the pv is already in use. pvdisplay will then indicate that it is configured in a vg..</description>
      <pubDate>Wed, 11 Jul 2001 13:59:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/finding-alternate-paths-to-disk/m-p/2435957#M153</guid>
      <dc:creator>Mark van Hassel</dc:creator>
      <dc:date>2001-07-11T13:59:30Z</dc:date>
    </item>
  </channel>
</rss>

