<?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: Unmounting mirrors for restore later in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unmounting-mirrors-for-restore-later/m-p/3135817#M628696</link>
    <description>I might suggest doing a vgexport -p -s options to save your VG information. BOTH before and after the lvsplit make sure to change the name of the mapfiles on the second vgexport.&lt;BR /&gt;&lt;BR /&gt;vgexport -p -s -m /path/to/mapfile.1 /dev/vgXX&lt;BR /&gt;lvsplit ... ... ... ## one for each LVol in vgXX&lt;BR /&gt;lvsplit ... ... ...&lt;BR /&gt;vgexport -p -s -m /path/to/mapfile.2 /dev/vgXX&lt;BR /&gt;&lt;BR /&gt;Also, after you lvsplit and remove the -m 0, You might consider reducing out those disks. I believe you can then recreate the Lvols with only the m1 mirror disks. &lt;BR /&gt;&lt;BR /&gt;This will then be a workaround for hte problem of having the m0 overwrite the m1 disk upon a resync of the mirrors.&lt;BR /&gt;&lt;BR /&gt;I have not used this method before, but it seems to be sound logic. As long as the disks are still defined in the lvmtab, I see no problems.</description>
    <pubDate>Thu, 04 Dec 2003 09:54:00 GMT</pubDate>
    <dc:creator>Todd McDaniel_1</dc:creator>
    <dc:date>2003-12-04T09:54:00Z</dc:date>
    <item>
      <title>Unmounting mirrors for restore later</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unmounting-mirrors-for-restore-later/m-p/3135811#M628690</link>
      <description>Good morning,&lt;BR /&gt;&lt;BR /&gt;This could be a tricky one.&lt;BR /&gt;We are in the process of planning a OVO upgrade and I would like some protection against it all going wrong!&lt;BR /&gt;I have the whole of OVO on one volume group (vgopc)which contains two physical disks (main and mirror).&lt;BR /&gt;I would like to split the disks leaving the mirror volume safe from the upgrade.  Is there a away of mounting the mirror somewhere else and using it to restore from in the unlikely event of a problem?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Dec 2003 04:05:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unmounting-mirrors-for-restore-later/m-p/3135811#M628690</guid>
      <dc:creator>Mike Duffy</dc:creator>
      <dc:date>2003-12-04T04:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unmounting mirrors for restore later</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unmounting-mirrors-for-restore-later/m-p/3135812#M628691</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Yes it is very much possible but it has to be done logical volume level not on Disk level.&lt;BR /&gt;&lt;BR /&gt;You can split volumes using lvsplit command and then you can mount bot volumes seperately.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sunil&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Dec 2003 04:24:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unmounting-mirrors-for-restore-later/m-p/3135812#M628691</guid>
      <dc:creator>Sunil Sharma_1</dc:creator>
      <dc:date>2003-12-04T04:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Unmounting mirrors for restore later</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unmounting-mirrors-for-restore-later/m-p/3135813#M628692</link>
      <description>yes you can split the mirrors and mount it at different mount points, have a look at the man pages of lvsplit command, you can give a suffix which will be followed in the split lv name and then you can mount them to another directory.</description>
      <pubDate>Thu, 04 Dec 2003 04:25:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unmounting-mirrors-for-restore-later/m-p/3135813#M628692</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2003-12-04T04:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unmounting mirrors for restore later</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unmounting-mirrors-for-restore-later/m-p/3135814#M628693</link>
      <description>just one more line &lt;BR /&gt;&lt;BR /&gt;One more addition you can merge these voulmes again using lvmerge command.&lt;BR /&gt;&lt;BR /&gt;Sunil</description>
      <pubDate>Thu, 04 Dec 2003 04:25:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unmounting-mirrors-for-restore-later/m-p/3135814#M628693</guid>
      <dc:creator>Sunil Sharma_1</dc:creator>
      <dc:date>2003-12-04T04:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unmounting mirrors for restore later</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unmounting-mirrors-for-restore-later/m-p/3135815#M628694</link>
      <description>But be carefull with the merging of mirrors back because merging happens from primary to secondary only, say you split and then make changes on primary and then feel you need to revert back and then merge the mirrors then the primary is mergerd so the changes u made on primary are also reflected on secondary.</description>
      <pubDate>Thu, 04 Dec 2003 04:28:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unmounting-mirrors-for-restore-later/m-p/3135815#M628694</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2003-12-04T04:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Unmounting mirrors for restore later</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unmounting-mirrors-for-restore-later/m-p/3135816#M628695</link>
      <description>Thanks for the quick and informative responses. I will check out the man pages and come back eith any more questions.</description>
      <pubDate>Thu, 04 Dec 2003 04:32:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unmounting-mirrors-for-restore-later/m-p/3135816#M628695</guid>
      <dc:creator>Mike Duffy</dc:creator>
      <dc:date>2003-12-04T04:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unmounting mirrors for restore later</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unmounting-mirrors-for-restore-later/m-p/3135817#M628696</link>
      <description>I might suggest doing a vgexport -p -s options to save your VG information. BOTH before and after the lvsplit make sure to change the name of the mapfiles on the second vgexport.&lt;BR /&gt;&lt;BR /&gt;vgexport -p -s -m /path/to/mapfile.1 /dev/vgXX&lt;BR /&gt;lvsplit ... ... ... ## one for each LVol in vgXX&lt;BR /&gt;lvsplit ... ... ...&lt;BR /&gt;vgexport -p -s -m /path/to/mapfile.2 /dev/vgXX&lt;BR /&gt;&lt;BR /&gt;Also, after you lvsplit and remove the -m 0, You might consider reducing out those disks. I believe you can then recreate the Lvols with only the m1 mirror disks. &lt;BR /&gt;&lt;BR /&gt;This will then be a workaround for hte problem of having the m0 overwrite the m1 disk upon a resync of the mirrors.&lt;BR /&gt;&lt;BR /&gt;I have not used this method before, but it seems to be sound logic. As long as the disks are still defined in the lvmtab, I see no problems.</description>
      <pubDate>Thu, 04 Dec 2003 09:54:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unmounting-mirrors-for-restore-later/m-p/3135817#M628696</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2003-12-04T09:54:00Z</dc:date>
    </item>
  </channel>
</rss>

