<?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: LVM in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4042484#M303239</link>
    <description>Hey;&lt;BR /&gt;&lt;BR /&gt;As stated, under HPUX, since LVM is the default, there is no way to mirror the whole disk.  You could write a script to dd it to another one, but that's not exactly mirroring. &lt;BR /&gt;&lt;BR /&gt;As far as mirroring in LVM, there's a difference beween the procedures for Itanium and PA-RISC.  I use this checklist:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.olearycomputers.com/ll/hp_mirrorux.html" target="_blank"&gt;http://www.olearycomputers.com/ll/hp_mirrorux.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH;&lt;BR /&gt;&lt;BR /&gt;Doug O'Leary</description>
    <pubDate>Tue, 24 Jul 2007 08:11:53 GMT</pubDate>
    <dc:creator>Doug O'Leary</dc:creator>
    <dc:date>2007-07-24T08:11:53Z</dc:date>
    <item>
      <title>LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4042482#M303237</link>
      <description>how to mirror a disk in whole disk approach.&lt;BR /&gt;how to mirror a disk in LVM.</description>
      <pubDate>Tue, 24 Jul 2007 05:18:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4042482#M303237</guid>
      <dc:creator>Indrajit Bhagat</dc:creator>
      <dc:date>2007-07-24T05:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4042483#M303238</link>
      <description>Since the product used for mirroring (MirrorDisk-UX) is LVM based, there is no way to mirror using a whole disk approach - it has to be done with LVM, mirroring each individual LV. &lt;BR /&gt;&lt;BR /&gt;Here is a guide I prepared to mirror the root disk.  For a regular disk, just omit the steps to make the disk bootable:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The steps to mirror your boot volume are (PA-RISC):&lt;BR /&gt;&lt;BR /&gt;1. Create a physical volume with a boot reserved area&lt;BR /&gt;"pvcreate -B /dev/rdsk/c1t6d0"&lt;BR /&gt;&lt;BR /&gt;2. Add the physical volume to the root VG&lt;BR /&gt;"vgextend /dev/vg00 /dev/dsk/c1t6d0"&lt;BR /&gt;&lt;BR /&gt;3. Use mkboot to place the boot utilities in the boot area and add the AUTO file&lt;BR /&gt;"mkboot /dev/rdsk/c1t6d0"&lt;BR /&gt;"mkboot -a "hpux -lq" /dev/rdsk/c1t6d0"&lt;BR /&gt;&lt;BR /&gt;4. Use mkboot to update the AUTO file on the primary boot disk&lt;BR /&gt;"mkboot -a "hpux -lq" /dev/rdsk/c0t6d0"&lt;BR /&gt;&lt;BR /&gt;5. Mirror the stand, root and swap logical volumes in order&lt;BR /&gt;"lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t6d0"&lt;BR /&gt;"lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c1t6d0"&lt;BR /&gt;"lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c1t6d0"&lt;BR /&gt;&lt;BR /&gt;6. Then mirror the rest of your root logical volumes&lt;BR /&gt;"lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c1t6d0"&lt;BR /&gt;etc.&lt;BR /&gt;&lt;BR /&gt;7. Modify your alternate boot path&lt;BR /&gt;"setboot -a 8/8.6.0 # use the path of your new boot disk"&lt;BR /&gt;&lt;BR /&gt;8. Edit /stand/bootconf and add your new mirrored boot disk.&lt;BR /&gt;&lt;BR /&gt;That's all there is to it.  You may notice that I left out any&lt;BR /&gt;lvlnboot commands. That is because they are not&lt;BR /&gt;necessary - see the man page:&lt;BR /&gt;&lt;BR /&gt;"This command should be run in recovery mode (-R)&lt;BR /&gt;whenever the configuration of the root volume group is&lt;BR /&gt;affected by one of the following commands: lvextend,&lt;BR /&gt;lvmerge, lvreduce, lvsplit, pvmove, lvremove, vgextend,&lt;BR /&gt;or vgreduce (see lvextend(1M), lvmerge(1M), lvreduce(1M),&lt;BR /&gt;lvsplit(1M), pvmove(1M), lvremove(1M), vgextend(1M), and&lt;BR /&gt;vgreduce(1M)). Starting with HP-UX Release 10.0, this is&lt;BR /&gt;done automatically."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For Itanium architecture, follow this guide:&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechSingleTipDetailPage_IDX/1,2366,5343" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechSingleTipDetailPage_IDX/1,2366,5343&lt;/A&gt;&lt;BR /&gt;,00.html&lt;BR /&gt; -or-&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90950/ch06s02.html#cchgjafa" target="_blank"&gt;http://docs.hp.com/en/B2355-90950/ch06s02.html#cchgjafa&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 24 Jul 2007 05:23:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4042483#M303238</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-07-24T05:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4042484#M303239</link>
      <description>Hey;&lt;BR /&gt;&lt;BR /&gt;As stated, under HPUX, since LVM is the default, there is no way to mirror the whole disk.  You could write a script to dd it to another one, but that's not exactly mirroring. &lt;BR /&gt;&lt;BR /&gt;As far as mirroring in LVM, there's a difference beween the procedures for Itanium and PA-RISC.  I use this checklist:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.olearycomputers.com/ll/hp_mirrorux.html" target="_blank"&gt;http://www.olearycomputers.com/ll/hp_mirrorux.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH;&lt;BR /&gt;&lt;BR /&gt;Doug O'Leary</description>
      <pubDate>Tue, 24 Jul 2007 08:11:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4042484#M303239</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2007-07-24T08:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4042485#M303240</link>
      <description>"how to mirror a disk in whole disk approach."&lt;BR /&gt;&lt;BR /&gt;You need a hardware RAID controller. Once you have one (smartarray, see docs.hp.com for supported models), read the documentation, because it is different.&lt;BR /&gt;&lt;BR /&gt;"how to mirror a disk in LVM."&lt;BR /&gt;&lt;BR /&gt;See the appendix in this document for the procedures how to mirror boot drives with Integrity or PA-RISC servers (Appendix):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf" target="_blank"&gt;http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jul 2007 12:40:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4042485#M303240</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-07-24T12:40:55Z</dc:date>
    </item>
  </channel>
</rss>

