<?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: On the fly disk replacement? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/on-the-fly-disk-replacement/m-p/4741516#M548581</link>
    <description>Hello,&lt;BR /&gt;just (a little) wondering:&lt;BR /&gt;After I add the new disk, the map-file from vgexport has not changed.&lt;BR /&gt;&lt;BR /&gt;So I think itÃ s corrct, no information about the PV's in the mapfile, only information about the VG and LV's?&lt;BR /&gt;&lt;BR /&gt;So the VV will be discoverd after disk changes (using the VGID in mapfile), independently which disk are used (having the VG "inside") ?</description>
    <pubDate>Fri, 21 Jan 2011 11:06:47 GMT</pubDate>
    <dc:creator>dark-sun</dc:creator>
    <dc:date>2011-01-21T11:06:47Z</dc:date>
    <item>
      <title>On the fly disk replacement?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/on-the-fly-disk-replacement/m-p/4741511#M548576</link>
      <description>Hello,&lt;BR /&gt;I have to replace the external storage from a two node cluster (HPUX 11.11)&lt;BR /&gt;&lt;BR /&gt;Only one VG, only one (shared) disk.&lt;BR /&gt;I saw the new disk also.&lt;BR /&gt;&lt;BR /&gt;I have done:&lt;BR /&gt;# pvcreate /dev/rdsk/new&lt;BR /&gt;# vgextend /dev/vg01 /dev/dsk/new&lt;BR /&gt;&lt;BR /&gt;# lvextend -m 1 /dev/vg01/lvol01 /dev/dsk/new&lt;BR /&gt;(for all LV's ...)&lt;BR /&gt;&lt;BR /&gt;Can I now simply do the following steps?&lt;BR /&gt;# lvreduce -m 0 lvol01, ...&lt;BR /&gt;# vgreduce vg01 old-disk&lt;BR /&gt;&lt;BR /&gt;Than &lt;BR /&gt;# vgexport -s -p -m /tmp/vg01.map /dev/vg01&lt;BR /&gt;cp, on second node &lt;BR /&gt;# vgimport -p -s -m /tmp/vg01.map vg01&lt;BR /&gt;&lt;BR /&gt;Will this works?&lt;BR /&gt;&lt;BR /&gt;Thanks for hints and helps!</description>
      <pubDate>Thu, 20 Jan 2011 14:21:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/on-the-fly-disk-replacement/m-p/4741511#M548576</guid>
      <dc:creator>dark-sun</dc:creator>
      <dc:date>2011-01-20T14:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: On the fly disk replacement?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/on-the-fly-disk-replacement/m-p/4741512#M548577</link>
      <description>I'd recommend using the lvol using the physcial volume name:&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 /dev/vg/lvol /dev/dsk/&lt;OLD disk=""&gt;&lt;BR /&gt;&lt;BR /&gt;Rita&lt;/OLD&gt;</description>
      <pubDate>Thu, 20 Jan 2011 15:11:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/on-the-fly-disk-replacement/m-p/4741512#M548577</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2011-01-20T15:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: On the fly disk replacement?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/on-the-fly-disk-replacement/m-p/4741513#M548578</link>
      <description>Hi Rita,&lt;BR /&gt;yes, of course. this is correct. Otherwise the wrong (new) disk will be removed from mirror.&lt;BR /&gt;&lt;BR /&gt;But the other steps, are they corrct and complete? Should it be really so easy? ;-)&lt;BR /&gt;&lt;BR /&gt;Will the cluster accept the new disk when the old is removed? Label?</description>
      <pubDate>Thu, 20 Jan 2011 15:16:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/on-the-fly-disk-replacement/m-p/4741513#M548578</guid>
      <dc:creator>dark-sun</dc:creator>
      <dc:date>2011-01-20T15:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: On the fly disk replacement?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/on-the-fly-disk-replacement/m-p/4741514#M548579</link>
      <description>As long as the second node can see the new disk, you just missed a couple lines:&lt;BR /&gt;&lt;BR /&gt;On second node: (not currently running the pkg)&lt;BR /&gt;vgexport /dev/vg&lt;BR /&gt;mkdir /dev/vg&lt;BR /&gt;mknod /dev/vg/group c 64 0x--0000&lt;BR /&gt;&lt;BR /&gt;Then run your vgimport, without the -p (preview) option to repopulate your /etc/lvmtab.&lt;BR /&gt;&lt;BR /&gt;vgimport -s -m /tmp/vg01.map /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Rgrds,&lt;BR /&gt;Rita</description>
      <pubDate>Thu, 20 Jan 2011 16:05:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/on-the-fly-disk-replacement/m-p/4741514#M548579</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2011-01-20T16:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: On the fly disk replacement?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/on-the-fly-disk-replacement/m-p/4741515#M548580</link>
      <description>&lt;P&gt;hi,&lt;BR /&gt;&lt;BR /&gt;Your procedure almost gets into right. However refer the below thread, will give you clearance.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/LVM-and-VxVM/Changing-the-pv-s-in-a-vg/m-p/4068943#M30706" target="_blank"&gt;http://h30499.www3.hp.com/t5/LVM-and-VxVM/Changing-the-pv-s-in-a-vg/m-p/4068943#M30706&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Rgds...&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2011 16:18:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/on-the-fly-disk-replacement/m-p/4741515#M548580</guid>
      <dc:creator>P Arumugavel</dc:creator>
      <dc:date>2011-11-10T16:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: On the fly disk replacement?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/on-the-fly-disk-replacement/m-p/4741516#M548581</link>
      <description>Hello,&lt;BR /&gt;just (a little) wondering:&lt;BR /&gt;After I add the new disk, the map-file from vgexport has not changed.&lt;BR /&gt;&lt;BR /&gt;So I think itÃ s corrct, no information about the PV's in the mapfile, only information about the VG and LV's?&lt;BR /&gt;&lt;BR /&gt;So the VV will be discoverd after disk changes (using the VGID in mapfile), independently which disk are used (having the VG "inside") ?</description>
      <pubDate>Fri, 21 Jan 2011 11:06:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/on-the-fly-disk-replacement/m-p/4741516#M548581</guid>
      <dc:creator>dark-sun</dc:creator>
      <dc:date>2011-01-21T11:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: On the fly disk replacement?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/on-the-fly-disk-replacement/m-p/4741517#M548582</link>
      <description>vgimport -s signals to LVM to scan all disks for the VGID at the top of the map file.  Any disk path links to that VGID is loaded into /etc/lvmtab.  Hence there is no need to list any device special files with the vgimport command when -s option is used.</description>
      <pubDate>Fri, 21 Jan 2011 13:37:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/on-the-fly-disk-replacement/m-p/4741517#M548582</guid>
      <dc:creator>Stephen Doud</dc:creator>
      <dc:date>2011-01-21T13:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: On the fly disk replacement?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/on-the-fly-disk-replacement/m-p/4741518#M548583</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;use &lt;BR /&gt;lvreduce -m 0 /dev/vg/lvol /dev/dsk/&lt;OLD disk=""&gt;&lt;BR /&gt;&lt;BR /&gt;-----------&lt;BR /&gt;Than &lt;BR /&gt;# vgexport -s -p -m /tmp/vg01.map /dev/vg01&lt;BR /&gt;cp, on second node &lt;BR /&gt;# vgimport -p -s -m /tmp/vg01.map vg01&lt;BR /&gt;---&lt;BR /&gt;&lt;BR /&gt;use option p while export ( preview mode)&lt;BR /&gt;&lt;BR /&gt;while importing discard "p" option.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;INH&lt;/OLD&gt;</description>
      <pubDate>Sun, 23 Jan 2011 00:03:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/on-the-fly-disk-replacement/m-p/4741518#M548583</guid>
      <dc:creator>INH</dc:creator>
      <dc:date>2011-01-23T00:03:53Z</dc:date>
    </item>
  </channel>
</rss>

