<?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 Mirroring in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/3198801#M166161</link>
    <description>Can some one provide me the steps to perform mirroring of a logical volume.&lt;BR /&gt;thanks&lt;BR /&gt;Faizer</description>
    <pubDate>Sun, 22 Feb 2004 11:29:27 GMT</pubDate>
    <dc:creator>Faizer</dc:creator>
    <dc:date>2004-02-22T11:29:27Z</dc:date>
    <item>
      <title>Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/3198801#M166161</link>
      <description>Can some one provide me the steps to perform mirroring of a logical volume.&lt;BR /&gt;thanks&lt;BR /&gt;Faizer</description>
      <pubDate>Sun, 22 Feb 2004 11:29:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/3198801#M166161</guid>
      <dc:creator>Faizer</dc:creator>
      <dc:date>2004-02-22T11:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/3198802#M166162</link>
      <description>Hi Faizer,&lt;BR /&gt;&lt;BR /&gt;If you are asking for "a" logical volume, then it's simple.&lt;BR /&gt;&lt;BR /&gt;1. Find out the disk and add it to the volume group if it is not already there.&lt;BR /&gt;&lt;BR /&gt;#ioscan -fnC disk&lt;BR /&gt;#pvcreate /dev/rdsk/cxtydz &lt;BR /&gt;#vgextend vgxx /dev/dsk/cxtydz&lt;BR /&gt;&lt;BR /&gt;2. Mirror the logical volume onto the new disk&lt;BR /&gt;&lt;BR /&gt;#lvextend -m 1 /dev/vgxx/lvolx /dev/dsk/cxtydz&lt;BR /&gt;&lt;BR /&gt;That is only if the lvolx is smaller than the disk you are adding. If it is bigger and if it has to cross multiple disks, then you can specify more than one disk in the command line&lt;BR /&gt;&lt;BR /&gt;#lvextend -m 1 /dev/vgxx/lvolx /dev/dsk/c2t0d1 /dev/dsk/c2t0d2&lt;BR /&gt;&lt;BR /&gt;If you don't specify the disks in teh command line, then lvextend will mirror it by default. It may create the mirror on the disk that you don't  want to.&lt;BR /&gt;&lt;BR /&gt;Look at 'lvextend' man page for more information.&lt;BR /&gt;&lt;BR /&gt;If you are talking about root mirrors, then search the forums. There are many threads on that topic.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 22 Feb 2004 11:40:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/3198802#M166162</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-22T11:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/3198803#M166163</link>
      <description>A complete mirroring procedure for root disk.&lt;BR /&gt;&lt;BR /&gt;pvcreate -B /dev/rdsk/c1t0d0 #use real disk&lt;BR /&gt;&lt;BR /&gt;mkboot -l /dev/rdsk/c1t0d0&lt;BR /&gt;mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0 # use real disk&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;If you are running 64-bit OS:&lt;BR /&gt;&lt;BR /&gt;# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c1t0d0 # same thing&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0&lt;BR /&gt;&lt;BR /&gt;# real disk. repeat for other lvols&lt;BR /&gt;&lt;BR /&gt;lvlnboot -r /dev/vg00/lvol3 # root fs /&lt;BR /&gt;lvlnboot -s /dev/vg00/lvol2 #swap&lt;BR /&gt;lvlnboot -d /dev/vg00/lvol2 #swap/dump&lt;BR /&gt;lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;lvlnboot -R&lt;BR /&gt;lvlnboot -v&lt;BR /&gt;setboot&lt;BR /&gt;setboot -a 52.1.0 # second disk&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 22 Feb 2004 19:34:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/3198803#M166163</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-22T19:34:06Z</dc:date>
    </item>
  </channel>
</rss>

