<?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: replace mirror disk on hpux in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-mirror-disk-on-hpux/m-p/7156890#M491618</link>
    <description>&lt;P style="margin: 0;"&gt;The steps look fine.. just for step#1, you need to specify /dev/dsk/c3t2d0s2 instead of /dev/dsk/c3t2d0&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Regards&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Manish&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 19 Dec 2021 02:16:49 GMT</pubDate>
    <dc:creator>mbarnwal</dc:creator>
    <dc:date>2021-12-19T02:16:49Z</dc:date>
    <item>
      <title>replace mirror disk on hpux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-mirror-disk-on-hpux/m-p/7156821#M491617</link>
      <description>&lt;DIV&gt;&lt;P&gt;i have a server hp integrity rx2660 with 4 disks mirroring&lt;BR /&gt;the third disk is damaged, i want to replace this disk.&lt;/P&gt;this is the output ioscan and iostat.&lt;P&gt;=======================================================================&lt;/P&gt;ioscan -fnC disk Class I H/W Path Driver S/W State H/W Type Description&lt;P&gt;disk 5 0/0/2/1.0.16.0.0 sdisk CLAIMED DEVICE TEAC DVD-ROM DW-224E V&lt;BR /&gt;/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0&lt;BR /&gt;disk 1 0/1/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP DH0072FAQRD&lt;BR /&gt;/dev/dsk/c3t0d0 /dev/dsk/c3t0d0s3 /dev/rdsk/c3t0d0s2&lt;BR /&gt;/dev/dsk/c3t0d0s1 /dev/rdsk/c3t0d0 /dev/rdsk/c3t0d0s3&lt;BR /&gt;/dev/dsk/c3t0d0s2 /dev/rdsk/c3t0d0s1&lt;BR /&gt;disk 2 0/1/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP DH0072FAQRD&lt;BR /&gt;/dev/dsk/c3t1d0 /dev/rdsk/c3t1d0&lt;BR /&gt;disk 3 0/1/1/0.0.0.2.0 sdisk CLAIMED DEVICE HP DH0072FAQRD&lt;BR /&gt;/dev/dsk/c3t2d0 /dev/dsk/c3t2d0s3 /dev/rdsk/c3t2d0s2&lt;BR /&gt;/dev/dsk/c3t2d0s1 /dev/rdsk/c3t2d0 /dev/rdsk/c3t2d0s3&lt;BR /&gt;/dev/dsk/c3t2d0s2 /dev/rdsk/c3t2d0s1&lt;BR /&gt;disk 4 0/1/1/0.0.0.3.0 sdisk CLAIMED DEVICE HP DH0072FAQRD&lt;BR /&gt;/dev/dsk/c3t3d0 /dev/rdsk/c3t3d0&lt;/P&gt;&lt;P&gt;====================&lt;/P&gt;iostat&lt;P&gt;device bps sps msps&lt;/P&gt;&lt;P&gt;c3t0d0 0 0.0 1.0&lt;BR /&gt;c3t1d0 0 0.0 1.0&lt;BR /&gt;c3t3d0 0 0.0 1.0&lt;/P&gt;&lt;P&gt;==========================================================================&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;output vgdisplay :&lt;/STRONG&gt;&lt;/P&gt;vgdisplay -v&lt;P&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name /dev/vg00&lt;BR /&gt;VG Write Access read/write&lt;BR /&gt;VG Status available&lt;BR /&gt;Max LV 255&lt;BR /&gt;Cur LV 8&lt;BR /&gt;Open LV 8&lt;BR /&gt;Max PV 16&lt;BR /&gt;Cur PV 4&lt;BR /&gt;Act PV 3&lt;BR /&gt;Max PE per PV 4384&lt;BR /&gt;VGDA 6&lt;BR /&gt;PE Size (Mbytes) 16&lt;BR /&gt;Total PE 13066&lt;BR /&gt;Alloc PE 8098&lt;BR /&gt;Free PE 4968&lt;BR /&gt;Total PVG 0&lt;BR /&gt;Total Spare PVs 0&lt;BR /&gt;Total Spare PVs in use 0&lt;/P&gt;&lt;P&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name /dev/vg00/lvol1&lt;BR /&gt;LV Status available/stale&lt;BR /&gt;LV Size (Mbytes) 1792&lt;BR /&gt;Current LE 112&lt;BR /&gt;Allocated PE 224&lt;BR /&gt;Used PV 1&lt;/P&gt;&lt;P&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;LV Name /dev/vg00/lvol2&lt;BR /&gt;LV Status available/stale&lt;BR /&gt;LV Size (Mbytes) 32000&lt;BR /&gt;Current LE 2000&lt;BR /&gt;Allocated PE 4000&lt;BR /&gt;Used PV 1&lt;/P&gt;&lt;P&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;LV Name /dev/vg00/lvol3&lt;BR /&gt;LV Status available/stale&lt;BR /&gt;LV Size (Mbytes) 1024&lt;BR /&gt;Current LE 64&lt;BR /&gt;Allocated PE 128&lt;BR /&gt;Used PV 1&lt;/P&gt;&lt;P&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;LV Name /dev/vg00/lvol4&lt;BR /&gt;LV Status available/stale&lt;BR /&gt;LV Size (Mbytes) 4000&lt;BR /&gt;Current LE 250&lt;BR /&gt;Allocated PE 500&lt;BR /&gt;Used PV 1&lt;/P&gt;&lt;P&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;LV Name /dev/vg00/lvol5&lt;BR /&gt;LV Status available/stale&lt;BR /&gt;LV Size (Mbytes) 30000&lt;BR /&gt;Current LE 1875&lt;BR /&gt;Allocated PE 3750&lt;BR /&gt;Used PV 1&lt;/P&gt;&lt;P&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;LV Name /dev/vg00/lvol6&lt;BR /&gt;LV Status available/stale&lt;BR /&gt;LV Size (Mbytes) 2512&lt;BR /&gt;Current LE 157&lt;BR /&gt;Allocated PE 314&lt;BR /&gt;Used PV 3&lt;/P&gt;&lt;P&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;LV Name /dev/vg00/lvol7&lt;BR /&gt;LV Status available/syncd&lt;BR /&gt;LV Size (Mbytes) 8000&lt;BR /&gt;Current LE 500&lt;BR /&gt;Allocated PE 1000&lt;BR /&gt;Used PV 2&lt;/P&gt;&lt;P&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;LV Name /dev/vg00/lvol8&lt;BR /&gt;LV Status available/syncd&lt;BR /&gt;LV Size (Mbytes) 20000&lt;BR /&gt;Current LE 1250&lt;BR /&gt;Allocated PE 2500&lt;BR /&gt;Used PV 2&lt;/P&gt;&lt;P&gt;--- Physical volumes ---&lt;BR /&gt;PV Name /dev/dsk/c3t0d0s2&lt;BR /&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;PV Status available&lt;BR /&gt;Total PE 4318&lt;BR /&gt;Free PE 0&lt;BR /&gt;Autoswitch On&lt;BR /&gt;Proactive Polling On&lt;/P&gt;&lt;P&gt;PV Name /dev/dsk/c3t1d0&lt;BR /&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;PV Status available&lt;BR /&gt;Total PE 4374&lt;BR /&gt;Free PE 2484&lt;BR /&gt;Autoswitch On&lt;BR /&gt;Proactive Polling On&lt;/P&gt;&lt;P&gt;PV Name /dev/dsk/c3t3d0&lt;BR /&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;PV Status available&lt;BR /&gt;Total PE 4374&lt;BR /&gt;Free PE 2484&lt;BR /&gt;Autoswitch On&lt;BR /&gt;Proactive Polling On&lt;/P&gt;&lt;P&gt;===========================================================================&lt;/P&gt;&lt;P&gt;=&amp;gt; info all on shell&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I/O INFORMATION&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;BOOTABLE DEVICES&lt;/P&gt;&lt;P&gt;Order Media Type Path&lt;BR /&gt;----- ---------- ---------------------------------------&lt;BR /&gt;1 HARDDRIVE Acpi(HWP0002,PNP0A03,200)/Pci(1|0)/Sas(Addr5000C500176A6909,Lun0)/HD(Part1,SigDE617B7C-6973-11DF-8002-D6217B60E588)&lt;BR /&gt;2 HARDDRIVE Acpi(HWP0002,PNP0A03,200)/Pci(1|0)/Sas(Addr5000C500176A6909,Lun0)/HD(Part3,SigDE617BB8-6973-11DF-8004-D6217B60E588)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Seg Bus Dev Fnc Vendor Device Slot&lt;BR /&gt;# # # # ID ID # Path&lt;BR /&gt;--- --- --- --- ------ ------ --- -----------&lt;BR /&gt;00 00 01 00 0x103C 0x1303 XX Acpi(HWP0002,PNP0A03,0)/Pci(1|0)&lt;BR /&gt;00 00 01 01 0x103C 0x1302 XX Acpi(HWP0002,PNP0A03,0)/Pci(1|1)&lt;BR /&gt;00 00 01 02 0x103C 0x1048 XX Acpi(HWP0002,PNP0A03,0)/Pci(1|2)&lt;BR /&gt;00 00 02 00 0x1033 0x0035 XX Acpi(HWP0002,PNP0A03,0)/Pci(2|0)&lt;BR /&gt;00 00 02 01 0x1033 0x0035 XX Acpi(HWP0002,PNP0A03,0)/Pci(2|1)&lt;BR /&gt;00 00 02 02 0x1033 0x00E0 XX Acpi(HWP0002,PNP0A03,0)/Pci(2|2)&lt;BR /&gt;00 00 03 00 0x1002 0x515E XX Acpi(HWP0002,PNP0A03,0)/Pci(3|0)&lt;BR /&gt;00 01 01 00 0x1000 0x0054 XX Acpi(HWP0002,PNP0A03,200)/Pci(1|0)&lt;BR /&gt;00 01 02 00 0x14E4 0x1648 XX Acpi(HWP0002,PNP0A03,200)/Pci(2|0)&lt;BR /&gt;00 01 02 01 0x14E4 0x1648 XX Acpi(HWP0002,PNP0A03,200)/Pci(2|1)&lt;BR /&gt;00 04 01 00 0x1000 0x0030 01 Acpi(HWP0002,PNP0A03,700)/Pci(1|0)&lt;BR /&gt;00 04 01 01 0x1000 0x0030 01 Acpi(HWP0002,PNP0A03,700)/Pci(1|1)&lt;/P&gt;&lt;P&gt;===========================================================================&lt;BR /&gt;===&amp;gt; i will do the following :&lt;/P&gt;&lt;P&gt;1- dettach physical volume from vg&lt;BR /&gt;pvchange -a n /dev/dsk/c3t2d0&lt;/P&gt;&lt;P&gt;2- hot swap the disk&lt;/P&gt;&lt;P&gt;3- create a description file&lt;BR /&gt;&lt;SPAN class=""&gt;#cat&lt;/SPAN&gt; &amp;gt;&amp;gt; /tmp/idf &amp;lt;&amp;lt; EOF&lt;BR /&gt;3&lt;BR /&gt;EFI 500MB&lt;BR /&gt;HPUX 100%&lt;BR /&gt;HPSP 400MB&lt;BR /&gt;EOF&lt;/P&gt;&lt;P&gt;4 use idisk to setup partitioning&lt;/P&gt;&lt;P&gt;idisk -wf /tmp/idf /dev/rdsk/c3t2d0&lt;/P&gt;&lt;P&gt;5- use mkboot to format newly efi partition&lt;/P&gt;&lt;P&gt;mkboot -e -l /dev/dsk/c3t2d0&lt;/P&gt;&lt;P&gt;6- change auto file contents&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;#cat&lt;/SPAN&gt; &amp;gt;&amp;gt; /tmp/auto &amp;lt;&amp;lt; EOF&lt;BR /&gt;boot vmunix -lq&lt;BR /&gt;EOF&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;#efi_cp&lt;/SPAN&gt; -d /dev/rdsk/c3t2d0s1 /tmp/auto /efi/hpux/auto&lt;/P&gt;&lt;P&gt;7- restore LVM reserved areas&lt;/P&gt;&lt;P&gt;vgcfgrestore -n vg00 /dev/rdsk/c3t2d0s2&lt;/P&gt;&lt;P&gt;8- rettach the new disk&lt;/P&gt;pvchange -a y /dev/dsk/c3t2d0s2&lt;P&gt;9- reactivate vg to attach pv&lt;/P&gt;vgchange -a y vg00&lt;P&gt;10- force sync vg&lt;/P&gt;vgsync vg00&lt;P&gt;lvlnboot -r&lt;BR /&gt;lvlnboot -v&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 21 Dec 2021 03:28:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-mirror-disk-on-hpux/m-p/7156821#M491617</guid>
      <dc:creator>Imad_blg</dc:creator>
      <dc:date>2021-12-21T03:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: replace mirror disk on hpux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-mirror-disk-on-hpux/m-p/7156890#M491618</link>
      <description>&lt;P style="margin: 0;"&gt;The steps look fine.. just for step#1, you need to specify /dev/dsk/c3t2d0s2 instead of /dev/dsk/c3t2d0&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Regards&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Manish&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Dec 2021 02:16:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-mirror-disk-on-hpux/m-p/7156890#M491618</guid>
      <dc:creator>mbarnwal</dc:creator>
      <dc:date>2021-12-19T02:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: replace mirror disk on hpux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-mirror-disk-on-hpux/m-p/7156943#M491619</link>
      <description>&lt;P&gt;thnak u manish&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 09:46:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-mirror-disk-on-hpux/m-p/7156943#M491619</guid>
      <dc:creator>Imad_blg</dc:creator>
      <dc:date>2021-12-20T09:46:53Z</dc:date>
    </item>
  </channel>
</rss>

