<?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: unmirror command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unmirror-command/m-p/2533232#M869477</link>
    <description>Hi Jasper,&lt;BR /&gt;&lt;BR /&gt;To remove a mirror:&lt;BR /&gt;&lt;BR /&gt;Example reduce vg01&lt;BR /&gt;&lt;BR /&gt;1) vgdisplay -v /dev/vg01&lt;BR /&gt;&lt;BR /&gt;This will list the logical volumes under vg01&lt;BR /&gt;and also the disks that comprise vg01. I assume that you want to remove the mirrors associated with a physical volume.&lt;BR /&gt;&lt;BR /&gt;For our purposes I'll use vg01 that has lvol01 and lvol02 as an example. The PV disks are c2t5d0 and c3t5d0. We'll pretent to want to remove the mirrors associated with c3t5d0. I also assume that you have 1 mirror copy for each logical volume. We will then set the mirror copies to 0.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2) lvreduce -m 0 /dev/vg01/lvol01    /dev/dsk/c3t5d0&lt;BR /&gt;   lvreduce -m 0 /dev/vg01/lvol02 /dev/dsk/c3t5d0&lt;BR /&gt;&lt;BR /&gt;This will do it, Clay&lt;BR /&gt;&lt;BR /&gt;      &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sun, 27 May 2001 15:27:44 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2001-05-27T15:27:44Z</dc:date>
    <item>
      <title>unmirror command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unmirror-command/m-p/2533231#M869476</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;could anyone guide me on how to do unmirroring on Version 11.0. what are the sequence of commands i should use?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks for anyone who can guide me.</description>
      <pubDate>Sun, 27 May 2001 14:15:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unmirror-command/m-p/2533231#M869476</guid>
      <dc:creator>JRiggs</dc:creator>
      <dc:date>2001-05-27T14:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: unmirror command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unmirror-command/m-p/2533232#M869477</link>
      <description>Hi Jasper,&lt;BR /&gt;&lt;BR /&gt;To remove a mirror:&lt;BR /&gt;&lt;BR /&gt;Example reduce vg01&lt;BR /&gt;&lt;BR /&gt;1) vgdisplay -v /dev/vg01&lt;BR /&gt;&lt;BR /&gt;This will list the logical volumes under vg01&lt;BR /&gt;and also the disks that comprise vg01. I assume that you want to remove the mirrors associated with a physical volume.&lt;BR /&gt;&lt;BR /&gt;For our purposes I'll use vg01 that has lvol01 and lvol02 as an example. The PV disks are c2t5d0 and c3t5d0. We'll pretent to want to remove the mirrors associated with c3t5d0. I also assume that you have 1 mirror copy for each logical volume. We will then set the mirror copies to 0.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2) lvreduce -m 0 /dev/vg01/lvol01    /dev/dsk/c3t5d0&lt;BR /&gt;   lvreduce -m 0 /dev/vg01/lvol02 /dev/dsk/c3t5d0&lt;BR /&gt;&lt;BR /&gt;This will do it, Clay&lt;BR /&gt;&lt;BR /&gt;      &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 27 May 2001 15:27:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unmirror-command/m-p/2533232#M869477</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-05-27T15:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: unmirror command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unmirror-command/m-p/2533233#M869478</link>
      <description>Hi Jasper,&lt;BR /&gt;&lt;BR /&gt;After looking at your question again, I realize that I might has answered incorrectly. If you want to actually remove a mirror then the above response is correct. However, if 'unmirror' means to split a logical volume to do a backup then:&lt;BR /&gt;&lt;BR /&gt;1) lvsplit /dev/vg01/lvol01&lt;BR /&gt;&lt;BR /&gt;  This will split lvol01 into 2 logical volumes lvol01 and lvol01b. The 'b' suffix is the default but can be changed using the -s argument. Man lvsplit for details&lt;BR /&gt;&lt;BR /&gt;2) lvol01 and its filesystem (e.g. /fs01 )remains mounted. &lt;BR /&gt;&lt;BR /&gt;3) fsck -F vxfs /dev/vg01/lvol01b&lt;BR /&gt;   (I'm assuming vxfs filesystem type)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;4) mkdir /fs01b&lt;BR /&gt;&lt;BR /&gt;5) mount -F vxfs /dev/vg01/lvol01b /fs01b&lt;BR /&gt;&lt;BR /&gt;6) Backup /fs01b using cpio, tar, OB2, etc.&lt;BR /&gt;&lt;BR /&gt;7) Now lets remirror&lt;BR /&gt;   umount /fs01b&lt;BR /&gt;   rmdir /fs01b&lt;BR /&gt;   lvmerge /dev/vg01/lvol01b /dev/vg01/lvol01&lt;BR /&gt;&lt;BR /&gt;Done.&lt;BR /&gt;&lt;BR /&gt;I suggest that you man lvreduce,lvsplit,lvmerge, and perhaps vgreduce for details.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 27 May 2001 15:47:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unmirror-command/m-p/2533233#M869478</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-05-27T15:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: unmirror command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unmirror-command/m-p/2533234#M869479</link>
      <description>is there any problem if i dont unmirror vg00 when doing ignite for 11? If there is, why?</description>
      <pubDate>Sun, 27 May 2001 18:15:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unmirror-command/m-p/2533234#M869479</guid>
      <dc:creator>JRiggs</dc:creator>
      <dc:date>2001-05-27T18:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: unmirror command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unmirror-command/m-p/2533235#M869480</link>
      <description>Hi Jasper:&lt;BR /&gt;&lt;BR /&gt;There is no need to break any mirror when you run make_tape_recovery (or the older make_recovery).  In fact, make_tape_recovery doesn't require any special system state.  On a highly active system you may note [from the Ignite release notes]:  &lt;BR /&gt;&lt;BR /&gt;"Both make_net_recovery and make_tape_recovery may result in warning messages regarding temporary files that pax was not able to put into the archive. This is due to a design change such that there is a longer period of time between when the list of files to archive are generated and when pax is called."&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Sun, 27 May 2001 18:23:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unmirror-command/m-p/2533235#M869480</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-05-27T18:23:15Z</dc:date>
    </item>
  </channel>
</rss>

