<?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: AutoRAID rebuild/LVM in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/autoraid-rebuild-lvm/m-p/2456819#M657474</link>
    <description>Whoops.  I suppose I'll also have to remove the special device files "bound" to the LUNs before I can creat the new LUNs, right?  What's the best (most effective) way to do this, SAM?  rmsf?  or the AutoRAID control panel?&lt;BR /&gt;</description>
    <pubDate>Mon, 23 Oct 2000 20:49:39 GMT</pubDate>
    <dc:creator>Don Bentz</dc:creator>
    <dc:date>2000-10-23T20:49:39Z</dc:date>
    <item>
      <title>AutoRAID rebuild/LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/autoraid-rebuild-lvm/m-p/2456816#M657471</link>
      <description>In order to rebuild an entire 12H array (connected/used by only 1 server), I believe I need to: &lt;BR /&gt;1) lvremove all but 1 of the volumes in each of 2 volume groups there.&lt;BR /&gt;2) vgreduce specifying the last remaining logical volume.&lt;BR /&gt;3) vgremove the volume group.&lt;BR /&gt;And here's where I am not certain:&lt;BR /&gt;4) pvremove(?) the physical volumes to destroy the PVRA? (in order to avoid some of the other issues documented in this forum).&lt;BR /&gt;     If these steps are accurate, I should be able to carve up LUNS, create physical volumes, volume groups, then logical volumes, and restore the data, right?</description>
      <pubDate>Mon, 23 Oct 2000 20:18:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/autoraid-rebuild-lvm/m-p/2456816#M657471</guid>
      <dc:creator>Don Bentz</dc:creator>
      <dc:date>2000-10-23T20:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: AutoRAID rebuild/LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/autoraid-rebuild-lvm/m-p/2456817#M657472</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;i would do:&lt;BR /&gt;1) vgexport vgXX&lt;BR /&gt;2) arraycfg -d -L &lt;LUN&gt; &lt;ID&gt; (for each LUN)&lt;BR /&gt;-------------------------&lt;BR /&gt;Now create new LUN's with arraycfg.&lt;BR /&gt;pvcreate -f &lt;LUN_RAW_DEVICE&gt;&lt;BR /&gt;mkdir /dev/vgXX&lt;BR /&gt;mknod /dev/vgXX/group c 64 0xXX0000&lt;BR /&gt;vgcreate vgXX &lt;LUN_DEVICE&gt;&lt;BR /&gt;lvcreate vgXX ...&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/LUN_DEVICE&gt;&lt;/LUN_RAW_DEVICE&gt;&lt;/ID&gt;&lt;/LUN&gt;</description>
      <pubDate>Mon, 23 Oct 2000 20:41:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/autoraid-rebuild-lvm/m-p/2456817#M657472</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-10-23T20:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: AutoRAID rebuild/LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/autoraid-rebuild-lvm/m-p/2456818#M657473</link>
      <description>Don:&lt;BR /&gt;&lt;BR /&gt;Give that you want to start from scratch, and you have copied your data somewhere where it can be restored, do:&lt;BR /&gt;&lt;BR /&gt;1. Unmount ('umount') each filesystem associated with a logical volume in quesstion and 'lvremove' all of the logical volumes that make up the volume group.&lt;BR /&gt;&lt;BR /&gt;2. Remove all but one physical volume belonging to the volume group with 'vgreduce'.&lt;BR /&gt;&lt;BR /&gt;3. 'vgremove' the volume group.&lt;BR /&gt;&lt;BR /&gt;4. 'pvcreate', 'vgcreate' and 'lvcreate' appropriately.&lt;BR /&gt;&lt;BR /&gt;See the man pages for each command mentioned above.  They contain some good examples and guidelines.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 23 Oct 2000 20:47:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/autoraid-rebuild-lvm/m-p/2456818#M657473</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-10-23T20:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: AutoRAID rebuild/LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/autoraid-rebuild-lvm/m-p/2456819#M657474</link>
      <description>Whoops.  I suppose I'll also have to remove the special device files "bound" to the LUNs before I can creat the new LUNs, right?  What's the best (most effective) way to do this, SAM?  rmsf?  or the AutoRAID control panel?&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Oct 2000 20:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/autoraid-rebuild-lvm/m-p/2456819#M657474</guid>
      <dc:creator>Don Bentz</dc:creator>
      <dc:date>2000-10-23T20:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: AutoRAID rebuild/LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/autoraid-rebuild-lvm/m-p/2456820#M657475</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;after removing all lvols and vgs you could do a rmsf -H &lt;HARDWARE_PATH&gt;&lt;BR /&gt;The hardware_path can be obtained by ioscan -fnC disk&lt;BR /&gt;(I don't think you have to do this because when you create new LUNS you will have back the same devices)&lt;BR /&gt;After that remove the LUNS with:&lt;BR /&gt;arraycfg -L &lt;LUN_ID&gt; -d &lt;ARRAY-ID&gt;&lt;BR /&gt;OR&lt;BR /&gt;reformat the AutoRAID (goes quicker):&lt;BR /&gt;arrayfmt -F &lt;ARRAY-ID&gt;&lt;BR /&gt;Now your AutoRAID is completely scratched.&lt;BR /&gt;Start with creating new LUNS with SAM or&lt;BR /&gt;arraycfg -L -a &lt;MB_SIZE&gt; &lt;LUN-ID&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/LUN-ID&gt;&lt;/MB_SIZE&gt;&lt;/ARRAY-ID&gt;&lt;/ARRAY-ID&gt;&lt;/LUN_ID&gt;&lt;/HARDWARE_PATH&gt;</description>
      <pubDate>Tue, 24 Oct 2000 05:34:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/autoraid-rebuild-lvm/m-p/2456820#M657475</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-10-24T05:34:33Z</dc:date>
    </item>
  </channel>
</rss>

