<?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: Question on mirroring in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-mirroring/m-p/3148560#M157167</link>
    <description>Robert,&lt;BR /&gt;&lt;BR /&gt;Mirroring is done at the lvol level.  When you lvexted the volume to add the mirror copy, LVM allocates the same amount of space as the primary already occupies.  The same will be true when you mirror lvol2 - as long as there is space to initially allocate the 4GB required, the lvextend command to add the mirror will succeed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Thu, 18 Dec 2003 12:30:56 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2003-12-18T12:30:56Z</dc:date>
    <item>
      <title>Question on mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-mirroring/m-p/3148559#M157166</link>
      <description>OK I am still on this LV mirroring thing:&lt;BR /&gt;&lt;BR /&gt;If I have an 8GB disk that contains&lt;BR /&gt;&lt;BR /&gt;/dev/vg01/lvol1 @4 GB&lt;BR /&gt;/dev/vg01/lvol2 @4 GB.&lt;BR /&gt;&lt;BR /&gt;And I mirror /dev/vg01/lvol1 to c1t6d0,another 8gbyte disk.&lt;BR /&gt;&lt;BR /&gt;How does it know to only use 4gbyte of mirror space.&lt;BR /&gt;&lt;BR /&gt;And&lt;BR /&gt;Can I mirror lvol2 to that same 8 gbyte disk?&lt;BR /&gt;How does it keep track of 2 lvol's on one disk?&lt;BR /&gt;&lt;BR /&gt;Just curious because I don't understand.</description>
      <pubDate>Thu, 18 Dec 2003 12:26:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-mirroring/m-p/3148559#M157166</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2003-12-18T12:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Question on mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-mirroring/m-p/3148560#M157167</link>
      <description>Robert,&lt;BR /&gt;&lt;BR /&gt;Mirroring is done at the lvol level.  When you lvexted the volume to add the mirror copy, LVM allocates the same amount of space as the primary already occupies.  The same will be true when you mirror lvol2 - as long as there is space to initially allocate the 4GB required, the lvextend command to add the mirror will succeed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 18 Dec 2003 12:30:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-mirroring/m-p/3148560#M157167</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-12-18T12:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Question on mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-mirroring/m-p/3148561#M157168</link>
      <description>LVM knows.&lt;BR /&gt;&lt;BR /&gt;Do a lvdisplay -v /dev/vg01/lvol1 | more after you mirror.&lt;BR /&gt;&lt;BR /&gt;You will see something like:&lt;BR /&gt;&lt;BR /&gt;   --- Distribution of logical volume ---&lt;BR /&gt;   PV Name            LE on PV  PE on PV&lt;BR /&gt;   /dev/dsk/c0t6d0    16        16&lt;BR /&gt;   /dev/dsk/c3t6d0    16        16&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 18 Dec 2003 12:34:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-mirroring/m-p/3148561#M157168</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-12-18T12:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Question on mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-mirroring/m-p/3148562#M157169</link>
      <description>Since you are going to mirror a 4GB LV to another, it will create an exact same size of LV in the other disk. The number of PEs and LEs will be similar and a write() call will simultaneously write the data to both PEs (on both disks).&lt;BR /&gt;&lt;BR /&gt;Now if you have 4GB mirror on a disk, that will leave another 4GB on the disk as free and that can be used for your next mirror. LVM will take care about how it will create and allocate LV space, PEs and LEs.&lt;BR /&gt;&lt;BR /&gt;I think your doubt will be cleared, when you understand that 'LVM mirroring is done on logical volume level and not like disk-to-disk mirror'</description>
      <pubDate>Thu, 18 Dec 2003 12:34:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-mirroring/m-p/3148562#M157169</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-12-18T12:34:22Z</dc:date>
    </item>
  </channel>
</rss>

