<?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: Removing mirroring in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirroring/m-p/2424807#M846</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Take /var for example ie. /var is mounted on /dev/vg00/lvol10. You do not need to un-mount or backup/restore the filesystems. &lt;BR /&gt;&lt;BR /&gt;Just follow the following two steps to remove the mirror copy of /var.&lt;BR /&gt;1) lvsplit /dev/vg00/lvol10&lt;BR /&gt;2) lvremove /dev/vg00/lvol10b&lt;BR /&gt;[Note: lvol10b with "b" appended is the mirror copy which is not mounted, thus you can lvremove the lvol10b safely while lvol10 is still being mounted.]&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;&lt;BR /&gt;Steven.</description>
    <pubDate>Mon, 05 Jun 2000 00:27:56 GMT</pubDate>
    <dc:creator>Steven Sim Kok Leong</dc:creator>
    <dc:date>2000-06-05T00:27:56Z</dc:date>
    <item>
      <title>Removing mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirroring/m-p/2424806#M845</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;HP-UX newbie question here....&lt;BR /&gt;&lt;BR /&gt;Our development computer has mirrored disks - this seems &lt;BR /&gt;to be a waste of space on development. &lt;BR /&gt;&lt;BR /&gt; Mirror Copies      Mount Directory    &lt;BR /&gt;   1         /srvrs      &lt;BR /&gt;   1         /stand     &lt;BR /&gt;   1                      &lt;BR /&gt;   1         /             &lt;BR /&gt;   1         /tmp       &lt;BR /&gt;   1         /home    &lt;BR /&gt;   0         /opt       &lt;BR /&gt;   1         /usr       &lt;BR /&gt;   1         /var       &lt;BR /&gt;   1         /oradata&lt;BR /&gt;&lt;BR /&gt;We can possibly gain as much as 10GB to use if we &lt;BR /&gt;remove mirroring on some filesystems.&lt;BR /&gt;&lt;BR /&gt;Is there any quick and easy way to remove the mirroring&lt;BR /&gt;and recover the mirror space so that it can be used?&lt;BR /&gt;Can this be done without a total rebuild ie. back up and &lt;BR /&gt;restoring from backup.&lt;BR /&gt;&lt;BR /&gt;Any help much appreciated.Thanks.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Porus.&lt;BR /&gt;</description>
      <pubDate>Sun, 04 Jun 2000 23:56:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirroring/m-p/2424806#M845</guid>
      <dc:creator>Porus H Havewala</dc:creator>
      <dc:date>2000-06-04T23:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Removing mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirroring/m-p/2424807#M846</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Take /var for example ie. /var is mounted on /dev/vg00/lvol10. You do not need to un-mount or backup/restore the filesystems. &lt;BR /&gt;&lt;BR /&gt;Just follow the following two steps to remove the mirror copy of /var.&lt;BR /&gt;1) lvsplit /dev/vg00/lvol10&lt;BR /&gt;2) lvremove /dev/vg00/lvol10b&lt;BR /&gt;[Note: lvol10b with "b" appended is the mirror copy which is not mounted, thus you can lvremove the lvol10b safely while lvol10 is still being mounted.]&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;&lt;BR /&gt;Steven.</description>
      <pubDate>Mon, 05 Jun 2000 00:27:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirroring/m-p/2424807#M846</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2000-06-05T00:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Removing mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirroring/m-p/2424808#M847</link>
      <description>I would do "lvreduce -m 0 /dev/vg00/lvol10 /dev/dsk/XXXX.  "XXXX" = disk device you want to remove mirroring from. Once you reduced all the lvols off the disk, if you want to put a new volume group on it don't forget to vgreduce it out of the current vg. "vgreduce /dev/vgXX /dev/dsk/XXXX.</description>
      <pubDate>Mon, 05 Jun 2000 13:39:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirroring/m-p/2424808#M847</guid>
      <dc:creator>Daniel Correa</dc:creator>
      <dc:date>2000-06-05T13:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Removing mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirroring/m-p/2424809#M848</link>
      <description>You can also do this in one step with the lvreduce command.&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 /dev/vg00/lvol3 /dev/dsk/c*t*d*&lt;BR /&gt;&lt;BR /&gt;(Note: the disk specified is the one you wish to free, not the one you wish to remain in the volume group.)</description>
      <pubDate>Mon, 05 Jun 2000 13:41:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirroring/m-p/2424809#M848</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-06-05T13:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Removing mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirroring/m-p/2424810#M849</link>
      <description>Hi Porus,&lt;BR /&gt;&lt;BR /&gt;I agree with the above comments, the simpliest way to reduce a mirror is to execute:&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 /dev/vg??/lvol?&lt;BR /&gt;&lt;BR /&gt;HP-UX supports one original and two mirrors of your data. As is standard UNIX numbering schemes start at "0". To add one mirrored copy you'd use "-m 1", to add the 2nd mirrored copy "-m 2". By using the "-m 0" you are simply telling the OS you no longer require mirroring. &lt;BR /&gt;&lt;BR /&gt;Bernie</description>
      <pubDate>Wed, 07 Jun 2000 02:21:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirroring/m-p/2424810#M849</guid>
      <dc:creator>Bernadette Keohan</dc:creator>
      <dc:date>2000-06-07T02:21:10Z</dc:date>
    </item>
  </channel>
</rss>

