<?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: Mirroring of 2 discs in the same volume group in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-of-2-discs-in-the-same-volume-group/m-p/3161890#M159529</link>
    <description>It sounds like you have a volume group and you need to have all of the "logical volumes" mirrored.&lt;BR /&gt;&lt;BR /&gt;This is going to depend on how your system is set up.&lt;BR /&gt;&lt;BR /&gt;do a strings /etc/lvmtab -- are these devices in one volume group or two?&lt;BR /&gt;&lt;BR /&gt;How many disks are you going to mirror onto?&lt;BR /&gt;&lt;BR /&gt;Are you mirroring disks that are used for booting? (this will change how you do this slightly).&lt;BR /&gt;&lt;BR /&gt;basically you have to&lt;BR /&gt;pvcreate (-B if boot) -f /dev/rdsk/&lt;TARGET&gt;&lt;BR /&gt;&lt;BR /&gt;vgextend /dev/&lt;VOLUME group=""&gt; /dev/dsk/&lt;TARGET disk=""&gt;&lt;BR /&gt;&lt;BR /&gt;for each logical volume, &lt;BR /&gt;    lvextend -m 1 /dev/&lt;VG&gt;/&lt;LVOL&gt; /dev/dsk/&lt;TARGET disk=""&gt;&lt;BR /&gt;&lt;BR /&gt;(this is assuming this is not a boot disk, and that you already have mirror disk/ux installed.  If you get an error about the -m option, it probably means Mirror/DIsk UX is not installed yet and you'll have to purchase/install it).&lt;BR /&gt;&lt;BR /&gt;&lt;/TARGET&gt;&lt;/LVOL&gt;&lt;/VG&gt;&lt;/TARGET&gt;&lt;/VOLUME&gt;&lt;/TARGET&gt;</description>
    <pubDate>Mon, 12 Jan 2004 10:46:24 GMT</pubDate>
    <dc:creator>Chris Hulihan</dc:creator>
    <dc:date>2004-01-12T10:46:24Z</dc:date>
    <item>
      <title>Mirroring of 2 discs in the same volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-of-2-discs-in-the-same-volume-group/m-p/3161886#M159525</link>
      <description>I have 2 discs in the same volume group that I need to mirror, the only syntax I can see is to lvextend -m 1 /dev/vg01/lvolX /dev/dsk/cXtXdX, this only points to 1 of the discs, also do I have to vgextend to both the discs I want to mirror.&lt;BR /&gt;&lt;BR /&gt;Regards Tony</description>
      <pubDate>Mon, 12 Jan 2004 10:24:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-of-2-discs-in-the-same-volume-group/m-p/3161886#M159525</guid>
      <dc:creator>Tommy_8</dc:creator>
      <dc:date>2004-01-12T10:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring of 2 discs in the same volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-of-2-discs-in-the-same-volume-group/m-p/3161887#M159526</link>
      <description>Tony,&lt;BR /&gt;&lt;BR /&gt;MirrorDisk/UX works on the logical volume level.  You don't mirror whole disk but rather individual lvol's.  The syntax you show will mirror the already existing lvolx onto /dev/dsk/cXtXdX, which has to be part of the same volume group.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 12 Jan 2004 10:27:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-of-2-discs-in-the-same-volume-group/m-p/3161887#M159526</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-01-12T10:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring of 2 discs in the same volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-of-2-discs-in-the-same-volume-group/m-p/3161888#M159527</link>
      <description>The logical volume is already on one disk.&lt;BR /&gt;&lt;BR /&gt;find out with the lvdsiplay -v /dev/vg01/lvolX&lt;BR /&gt;&lt;BR /&gt;the lvextend command says in english, make one MIRROR copy of whats out there and put it on this disk.&lt;BR /&gt;&lt;BR /&gt;The command won't work if you point the mirror copy to any of the disks the original is on.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 12 Jan 2004 10:28:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-of-2-discs-in-the-same-volume-group/m-p/3161888#M159527</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-01-12T10:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring of 2 discs in the same volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-of-2-discs-in-the-same-volume-group/m-p/3161889#M159528</link>
      <description>Hi Tony,&lt;BR /&gt;&lt;BR /&gt;The mirroring takes place on lvol level. So &lt;BR /&gt;if you need to create new mirrored lvols i would suggest &lt;BR /&gt;lvcreate -M1 -L &lt;SIZE&gt; /dev/vgname&lt;BR /&gt;&lt;BR /&gt;If you have two disks in the vg UX knows that is should use both disks.&lt;BR /&gt;&lt;BR /&gt;and you create one mirrored.&lt;BR /&gt;&lt;BR /&gt;If you have a lvol on one disk and you need to add a mirror just use the lvextend command you found.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Gideon&lt;BR /&gt;&lt;BR /&gt;Gideon&lt;BR /&gt;&lt;/SIZE&gt;</description>
      <pubDate>Mon, 12 Jan 2004 10:31:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-of-2-discs-in-the-same-volume-group/m-p/3161889#M159528</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2004-01-12T10:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring of 2 discs in the same volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-of-2-discs-in-the-same-volume-group/m-p/3161890#M159529</link>
      <description>It sounds like you have a volume group and you need to have all of the "logical volumes" mirrored.&lt;BR /&gt;&lt;BR /&gt;This is going to depend on how your system is set up.&lt;BR /&gt;&lt;BR /&gt;do a strings /etc/lvmtab -- are these devices in one volume group or two?&lt;BR /&gt;&lt;BR /&gt;How many disks are you going to mirror onto?&lt;BR /&gt;&lt;BR /&gt;Are you mirroring disks that are used for booting? (this will change how you do this slightly).&lt;BR /&gt;&lt;BR /&gt;basically you have to&lt;BR /&gt;pvcreate (-B if boot) -f /dev/rdsk/&lt;TARGET&gt;&lt;BR /&gt;&lt;BR /&gt;vgextend /dev/&lt;VOLUME group=""&gt; /dev/dsk/&lt;TARGET disk=""&gt;&lt;BR /&gt;&lt;BR /&gt;for each logical volume, &lt;BR /&gt;    lvextend -m 1 /dev/&lt;VG&gt;/&lt;LVOL&gt; /dev/dsk/&lt;TARGET disk=""&gt;&lt;BR /&gt;&lt;BR /&gt;(this is assuming this is not a boot disk, and that you already have mirror disk/ux installed.  If you get an error about the -m option, it probably means Mirror/DIsk UX is not installed yet and you'll have to purchase/install it).&lt;BR /&gt;&lt;BR /&gt;&lt;/TARGET&gt;&lt;/LVOL&gt;&lt;/VG&gt;&lt;/TARGET&gt;&lt;/VOLUME&gt;&lt;/TARGET&gt;</description>
      <pubDate>Mon, 12 Jan 2004 10:46:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-of-2-discs-in-the-same-volume-group/m-p/3161890#M159529</guid>
      <dc:creator>Chris Hulihan</dc:creator>
      <dc:date>2004-01-12T10:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring of 2 discs in the same volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-of-2-discs-in-the-same-volume-group/m-p/3161891#M159530</link>
      <description>Also, a shortcut that could help depending on your situation... &lt;BR /&gt;&lt;BR /&gt;vgdisplay -v &lt;VOLUME group=""&gt;|grep "LV Name"|awk '{print $3}'|while read v;do;lvextend -m 1 $v /dev/dsk/&lt;TARGET disk=""&gt;;done&lt;BR /&gt;&lt;BR /&gt;will mirror each logical volume, but this will only work if you have one disk device that everything is going to mirrored onto (if you had one 8 GB device that you were going to mirror all the data onto, for example).&lt;/TARGET&gt;&lt;/VOLUME&gt;</description>
      <pubDate>Mon, 12 Jan 2004 10:52:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-of-2-discs-in-the-same-volume-group/m-p/3161891#M159530</guid>
      <dc:creator>Chris Hulihan</dc:creator>
      <dc:date>2004-01-12T10:52:18Z</dc:date>
    </item>
  </channel>
</rss>

