<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>System Adm &#187; storage</title>
	<atom:link href="http://www.system.adm.br/tag/storage/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.system.adm.br</link>
	<description>Some IT Tips (Linux, Unix, HP-UX, AIX, Solaris, etc).</description>
	<lastBuildDate>Wed, 30 Nov 2011 17:59:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Identify PV device in HP-UX 11.31</title>
		<link>http://www.system.adm.br/2011/09/identify-pv-device-in-hp-ux-11-31/</link>
		<comments>http://www.system.adm.br/2011/09/identify-pv-device-in-hp-ux-11-31/#comments</comments>
		<pubDate>Thu, 08 Sep 2011 18:44:30 +0000</pubDate>
		<dc:creator>Lincoln Zuljewic Silva</dc:creator>
				<category><![CDATA[HP-UX]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[ioscan]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://www.system.adm.br/?p=379</guid>
		<description><![CDATA[In HP-UX 11.31, LVM doesn’t use “ctd’ (ie: /dev/rdsk/c2t1d0), but DSF to balance the throughput between many device paths., so if you need identify what physical device represent that logical device, you can use ioscan, for example: server@root:/root # vgdisplay -v vg00 --- Volume groups --- VG Name                     /dev/vg00 VG Write Access             read/write VG Status                   [...]]]></description>
			<content:encoded><![CDATA[<p>In HP-UX 11.31, LVM doesn’t use “ctd’ (ie: /dev/rdsk/c2t1d0), but DSF to balance the throughput between many device paths., so if you need identify what physical device represent that logical device, you can use ioscan, for example:<br />
<code><span style="font-size: 12px;"><br />
server@root:/root # vgdisplay -v vg00<br />
--- Volume groups ---<br />
VG Name                     /dev/vg00<br />
VG Write Access             read/write<br />
VG Status                   available<br />
Max LV                      255<br />
Cur LV                      12<br />
Open LV                     12<br />
Max PV                      16<br />
Cur PV                      1<br />
Act PV                      1<br />
Max PE per PV               4385<br />
VGDA                        2<br />
PE Size (Mbytes)            16<br />
Total PE                    4375<br />
Alloc PE                    3998<br />
Free PE                     377<br />
Total PVG                   0<br />
Total Spare PVs             0<br />
Total Spare PVs in use      0<br />
VG Version                  1.0<br />
VG Max Size                 1122560m<br />
VG Max Extents              70160</span></code><br />
<code><span style="font-size: 12px;"><br />
--- Logical volumes ---<br />
LV Name                     /dev/vg00/lvol1<br />
LV Status                   available/syncd<br />
LV Size (Mbytes)            2000<br />
Current LE                  125<br />
Allocated PE                125<br />
Used PV                     1</span></code><br />
<code><span style="font-size: 12px;"><br />
LV Name                     /dev/vg00/lvol2<br />
LV Status                   available/syncd<br />
LV Size (Mbytes)            16384<br />
Current LE                  1024<br />
Allocated PE                1024<br />
Used PV                     1<br />
<code><span style="font-size: 12px;"><br />
(...)<br />
</span></code></span></code><code><span style="font-size: 12px;"><code><span style="font-size: 12px;"><code><span style="font-size: 12px;"><code><span style="font-size: 12px;"><code><span style="font-size: 12px;"><code><span style="font-size: 12px;"><code><span style="font-size: 12px;"><code><span style="font-size: 12px;"><code><span style="font-size: 12px;"><br />
LV Name                     /dev/vg00/lvol12<br />
LV Status                   available/syncd<br />
LV Size (Mbytes)            5120<br />
Current LE                  320<br />
Allocated PE                320<br />
Used PV                     1<br />
<code><span style="font-size: 12px;"><br />
--- Physical volumes ---<br />
PV Name                     <span style="color: #ff0000;">/dev/disk/disk4</span><br />
PV Status                   available<br />
Total PE                    4375<br />
Free PE                     377<br />
Autoswitch                  On<br />
Proactive Polling           On</span></code></span></code></span></code></span></code></span></code></span></code></span></code></span></code></span></code></span></code></p>
<p>Note that the pv name is “disk4”, not c2t1d3.</p>
<p>With ioscan you can reverse map it:<br />
<code><span style="font-size: 12px;"><br />
server@root:/root # ioscan -m dsf<br />
Persistent DSF           Legacy DSF(s)<br />
========================================<br />
/dev/rdisk/disk3         /dev/rdsk/c2t1d0<br />
<span style="color: #ff0000;">/dev/rdisk/disk4         /dev/rdsk/c2t0d0</span><br />
/dev/rdisk/disk5         /dev/rdsk/c0t0d0<br />
</span></code></p>
<p>Now we know that the &#8220;disk4&#8243; is the physical disk located in 12/0/1/1/0.0.0<br />
<code><span style="font-size: 12px;"><br />
root@brux0044:/root # ioscan -fnC disk<br />
Class I H/W Path Driver S/W State H/W Type Description<br />
========================================================================<br />
<span style="color: #ff0000;">disk 1298 12/0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GMAP3735NC</span><br />
<span style="color: #ff0000;">                         /dev/dsk/c2t0d0 /dev/rdsk/c2t0d0</span></p>
<p></span></code></p>
<p><code></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.system.adm.br/2011/09/identify-pv-device-in-hp-ux-11-31/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to check HBA card settings in HP-UX</title>
		<link>http://www.system.adm.br/2010/09/how-to-check-hba-card-settings-in-hp-ux/</link>
		<comments>http://www.system.adm.br/2010/09/how-to-check-hba-card-settings-in-hp-ux/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 19:53:45 +0000</pubDate>
		<dc:creator>Lincoln Zuljewic Silva</dc:creator>
				<category><![CDATA[HP-UX]]></category>
		<category><![CDATA[fc]]></category>
		<category><![CDATA[hba]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.system.adm.br/?p=329</guid>
		<description><![CDATA[First of all, you need if the device exists: myserver@root:/root # ioscan -fnC fc Class&#160;&#160;&#160;&#160; I&#160; H/W Path&#160;&#160;&#160; Driver S/W State&#160;&#160; H/W Type&#160;&#160;&#160;&#160; Description =================================================================== fc&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1&#160; 0/0/4/1/0&#160;&#160; fcd&#160; CLAIMED&#160;&#160;&#160;&#160; INTERFACE&#160;&#160;&#160; HP AB378-60101 4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1) &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; /dev/fcd1 fc&#160;&#160;&#160;&#160;&#160;&#160;&#160; 2&#160; 0/0/10/1/0&#160; fcd&#160; CLAIMED&#160;&#160;&#160;&#160; INTERFACE&#160;&#160;&#160; HP AB378-60101 4Gb Single [...]]]></description>
			<content:encoded><![CDATA[<p>First of all, you need if the device exists:</p>
<p>	<span style="font-size: 12px;"><kbd>myserver@root:/root # ioscan -fnC fc<br />
	Class&nbsp;&nbsp;&nbsp;&nbsp; I&nbsp; H/W Path&nbsp;&nbsp;&nbsp; Driver S/W State&nbsp;&nbsp; H/W Type&nbsp;&nbsp;&nbsp;&nbsp; Description<br />
	===================================================================<br />
	fc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp; 0/0/4/1/0&nbsp;&nbsp; fcd&nbsp; CLAIMED&nbsp;&nbsp;&nbsp;&nbsp; INTERFACE&nbsp;&nbsp;&nbsp; HP AB378-60101 4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/fcd1<br />
	fc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp; 0/0/10/1/0&nbsp; fcd&nbsp; CLAIMED&nbsp;&nbsp;&nbsp;&nbsp; INTERFACE&nbsp;&nbsp;&nbsp; HP AB378-60101 4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/fcd2<br />
	fc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3&nbsp; 0/0/12/1/0&nbsp; fcd&nbsp; CLAIMED&nbsp;&nbsp;&nbsp;&nbsp; INTERFACE&nbsp;&nbsp;&nbsp; HP AB378-60101 4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/fcd3<br />
	fc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 0/0/13/1/0&nbsp; fcd&nbsp; CLAIMED&nbsp;&nbsp;&nbsp;&nbsp; INTERFACE&nbsp;&nbsp;&nbsp; HP AB378-60101 4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/fcd0</kbd></span></p>
<p>	Now, you can check the settings:<br />
	<code><span style="font-size: 12px;"><kbd>myserver@root:/root # fcmsutil /dev/fcd1<br />
	<tt><br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Vendor ID is = 0x001077<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Device ID is = 0x002422<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PCI Sub-system Vendor ID is = 0x00103c<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PCI Sub-system ID is = 0x0012d6</tt><br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PCI Mode = PCI-X 133 MHz<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ISP Code version = 4.0.22<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ISP Chip version = 3<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Topology = PTTOPT_FABRIC<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Link Speed = 4Gb<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Local N_Port_id is = 0x020300<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Previous N_Port_id is = None<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N_Port Node World Wide Name = 0x5001438002fdf7c3<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N_Port Port World Wide Name = 0x5001438002fdf7c2<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Switch Port World Wide Name = 0x200300051e365dca<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Switch Node World Wide Name = 0x100000051e365dca<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Driver state = ONLINE<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hardware Path is = 0/0/4/1/0<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Maximum Frame Size = 2048<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Driver-Firmware Dump Available = NO<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Driver-Firmware Dump Timestamp = N/A<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Driver Version = @(#) libfcd.a HP Fibre Channel ISP 23xx &amp; 24xx Driver B.11.23.06 /ux/core/isu/FCD/kern/src/common/wsio/fcd_init.c:Jun 23 2006,14:06:46</kbd></span></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.system.adm.br/2010/09/how-to-check-hba-card-settings-in-hp-ux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check powerpath links in HP-UX</title>
		<link>http://www.system.adm.br/2009/12/check-powerpath-links-in-hp-ux/</link>
		<comments>http://www.system.adm.br/2009/12/check-powerpath-links-in-hp-ux/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 20:22:43 +0000</pubDate>
		<dc:creator>Lincoln Zuljewic Silva</dc:creator>
				<category><![CDATA[HP-UX]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://www.system.adm.br/?p=202</guid>
		<description><![CDATA[To check if the powerpath links are up in HP-UX, you can use the following command: # powermt display dev=all &#160;]]></description>
			<content:encoded><![CDATA[<p>To check if the powerpath links are up in HP-UX, you can use the following command:</p>
<p>	<span style="font-size: 12px;"><code># powermt display dev=all</code></span></p>
<p>	&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.system.adm.br/2009/12/check-powerpath-links-in-hp-ux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

