<?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: A mirroring question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/a-mirroring-question/m-p/3242466#M627097</link>
    <description>We had an issue on an internel disk recently - where EMS was reporting a failure - one of the file systems was gone - but the disk was still "available"....Here's what HP said:&lt;BR /&gt;&lt;BR /&gt;Here is the information regarding disk replacement :&lt;BR /&gt;&lt;BR /&gt;1) If the disk is completely "dead", such as if you run ioscan and status is&lt;BR /&gt;"no_hw" then you can hot swap the disk online.&lt;BR /&gt;&lt;BR /&gt;2) However in circumstances where the disk has not fully failed please do one of&lt;BR /&gt;the following to avoid data corruption :&lt;BR /&gt;&lt;BR /&gt;a) reduce mirror before replacing the disk&lt;BR /&gt;b) deactivate VG before replacing the disk&lt;BR /&gt;c) shutdown system to replace the disk&lt;BR /&gt;&lt;BR /&gt;If the disk was not completely dead, I would suggest to deactivate VG if possible. There is a good kmine document on the steps I have mentioned above if you are interested :&lt;BR /&gt;KBRC00009115.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
    <pubDate>Wed, 07 Apr 2004 09:28:01 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2004-04-07T09:28:01Z</dc:date>
    <item>
      <title>A mirroring question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-mirroring-question/m-p/3242464#M627095</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Imagine I have a volume group of 6 physical volumes, only one large logical volume, there are 3 mirrored pairs, mirroring is restricted by pvg.&lt;BR /&gt;&lt;BR /&gt;Question.&lt;BR /&gt;&lt;BR /&gt;When taking one disk away from mirroring for replacement, will the command break mirroring for all disk pairs?&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 /dev/vgxx/lvolx /dev/dsk/cxtxdx&lt;BR /&gt;vgreduce /dev/vgxx /dev/dsk/cxtxdx &lt;BR /&gt;&lt;BR /&gt;Points in advance for your feedback!&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Mihails&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Apr 2004 09:10:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-mirroring-question/m-p/3242464#M627095</guid>
      <dc:creator>Mihails Nikitins</dc:creator>
      <dc:date>2004-04-07T09:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: A mirroring question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-mirroring-question/m-p/3242465#M627096</link>
      <description>you dont have to break the mirror to replace a disk...&lt;BR /&gt;&lt;BR /&gt;just replace it then:&lt;BR /&gt;&lt;BR /&gt;pvcreate /dev/dsk/cxtxdx (optional)&lt;BR /&gt;vgcfgrestore&lt;BR /&gt;vgchange -ay vgXX&lt;BR /&gt;vgsync</description>
      <pubDate>Wed, 07 Apr 2004 09:15:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-mirroring-question/m-p/3242465#M627096</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-04-07T09:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: A mirroring question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-mirroring-question/m-p/3242466#M627097</link>
      <description>We had an issue on an internel disk recently - where EMS was reporting a failure - one of the file systems was gone - but the disk was still "available"....Here's what HP said:&lt;BR /&gt;&lt;BR /&gt;Here is the information regarding disk replacement :&lt;BR /&gt;&lt;BR /&gt;1) If the disk is completely "dead", such as if you run ioscan and status is&lt;BR /&gt;"no_hw" then you can hot swap the disk online.&lt;BR /&gt;&lt;BR /&gt;2) However in circumstances where the disk has not fully failed please do one of&lt;BR /&gt;the following to avoid data corruption :&lt;BR /&gt;&lt;BR /&gt;a) reduce mirror before replacing the disk&lt;BR /&gt;b) deactivate VG before replacing the disk&lt;BR /&gt;c) shutdown system to replace the disk&lt;BR /&gt;&lt;BR /&gt;If the disk was not completely dead, I would suggest to deactivate VG if possible. There is a good kmine document on the steps I have mentioned above if you are interested :&lt;BR /&gt;KBRC00009115.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Apr 2004 09:28:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-mirroring-question/m-p/3242466#M627097</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-04-07T09:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: A mirroring question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-mirroring-question/m-p/3242467#M627098</link>
      <description>Good advice above but to specifically answer your question, yes.&lt;BR /&gt; &lt;BR /&gt;You mirror on the logical volume level, not the disk level so you "lvreduce" the logical volume, you remove the mirror from entire logical volume.</description>
      <pubDate>Wed, 07 Apr 2004 09:31:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-mirroring-question/m-p/3242467#M627098</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-04-07T09:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: A mirroring question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-mirroring-question/m-p/3242468#M627099</link>
      <description>Thank you for the replies!&lt;BR /&gt;&lt;BR /&gt;The disk is not dead yet, just generating bad warnings, so I should execute LVM commands before pulling it out. I'm just unsure about handling one big logical volume that is based on more than one pair of physical volumes.&lt;BR /&gt;&lt;BR /&gt;Mark, you've answered my question, thanks. If this is true let me I ask more.&lt;BR /&gt;&lt;BR /&gt;Should I re-create mirror on the whole pvg after disk replacement?&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1  /dev/vgxx/lvolx /dev/dsk/cxt1dx /dev/dsk/cxt2dx /dev/dsk/cxt3dx&lt;BR /&gt;&lt;BR /&gt;If so, should I bring offline all the disks in the "faulty" pvg first?&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 /dev/vgxx/lvolx /dev/dsk/cxt1dx /dev/dsk/cxt2dx /dev/dsk/cxt3dx&lt;BR /&gt;&lt;BR /&gt;Points in advance!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Apr 2004 09:53:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-mirroring-question/m-p/3242468#M627099</guid>
      <dc:creator>Mihails Nikitins</dc:creator>
      <dc:date>2004-04-07T09:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: A mirroring question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-mirroring-question/m-p/3242469#M627100</link>
      <description>If the disk is not dead then yes you should definintely use all caution. You can only pull the disk if it is truly dead.&lt;BR /&gt;&lt;BR /&gt;run diskinfo and pvdisplay on it to be sure as well...&lt;BR /&gt;&lt;BR /&gt;Using LVM commands, lvreduce the mirror on all Lvols that live on that mirror.&lt;BR /&gt;&lt;BR /&gt;Then replace the disk and then add the mirror back again.</description>
      <pubDate>Wed, 07 Apr 2004 10:23:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-mirroring-question/m-p/3242469#M627100</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-04-07T10:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: A mirroring question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-mirroring-question/m-p/3242470#M627101</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Just a summary.&lt;BR /&gt;&lt;BR /&gt;1. taking one pv from mirroring will break the entire mirror.&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 /dev/vgxx/lvolx /dev/dsk/cxtxdx&lt;BR /&gt;&lt;BR /&gt;There's no need to mention other disks in lvreduce command.&lt;BR /&gt;&lt;BR /&gt;2. You need to mention all 'freed' physical when recreating the mirror.&lt;BR /&gt;&lt;BR /&gt;Just identify what pvs are actually not used by  commands 'lvdisplay -v' and 'pvdisplay -v'.&lt;BR /&gt;&lt;BR /&gt;Then issue a command like&lt;BR /&gt;lvextend -m 1 /dev/vgxx/lvolx /dev/dsk/cxt1dx /dev/dsk/cxt2dx /dev/dsk/cxt3dx&lt;BR /&gt;&lt;BR /&gt;3. I faced the problem described in DocumentID  4000009061.&lt;BR /&gt;That is becuase importing volume group removes &lt;BR /&gt;/etc/lvmpvg.&lt;BR /&gt;&lt;BR /&gt;Just to keep archives better. :-)&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Mihails&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Apr 2004 07:34:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-mirroring-question/m-p/3242470#M627101</guid>
      <dc:creator>Mihails Nikitins</dc:creator>
      <dc:date>2004-04-08T07:34:47Z</dc:date>
    </item>
  </channel>
</rss>

