<?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: Hot spare for mirror disk array in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486454#M214124</link>
    <description>Hello!&lt;BR /&gt;Why don't you de-activete vg01 before vgcfgerestore?&lt;BR /&gt;You can try to use -R option of vgcfgrestore for force restoring the active VG.&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -R -n vg01 /dev/rdsk/c4t2d0</description>
    <pubDate>Wed, 16 Feb 2005 04:05:12 GMT</pubDate>
    <dc:creator>Artyom Voronchihin</dc:creator>
    <dc:date>2005-02-16T04:05:12Z</dc:date>
    <item>
      <title>Hot spare for mirror disk array</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486449#M214119</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I have a 4 disk array - disks are in slots 1, 2, 3, 4. As MirrorUX only allows a maximum of 2 mirrors, I have mirrored Disk 1 onto 2 and 3. The first 3 disks belong to Volume Group vg01.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have left the 4th disk as a spare so if one of the first 3 fail I want to be able to remove it from its slot (slot 4) and place it in the appropriate slot of the failed disk (ie. slot 1 - 3).&lt;BR /&gt;&lt;BR /&gt;To test, I removed Disk 2 and inserted Disk 4 in its place. No activity seemed to happen on the spare disk.&lt;BR /&gt;&lt;BR /&gt;How do I initialise this spare disk (Disk 4) prior to use so that it will be automatically used by the mirror ? While its in Slot 4 do I make it part of vg01 so the mirror gets rebuilt automatically if placed in slot 1 - 3.&lt;BR /&gt;&lt;BR /&gt;I tried the above without any luck.&lt;BR /&gt;&lt;BR /&gt;Can someone please advise ?&lt;BR /&gt;&lt;BR /&gt;I'm running HP 11.23 on Itanium 2&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;JUP&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Feb 2005 16:36:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486449#M214119</guid>
      <dc:creator>JUP</dc:creator>
      <dc:date>2005-02-15T16:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Hot spare for mirror disk array</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486450#M214120</link>
      <description>As far as I know, there is not a way to make this automatic.  There are manual steps that are required.&lt;BR /&gt;&lt;BR /&gt;Once the disk is replaced you do:&lt;BR /&gt;&lt;BR /&gt;# vgcfgrestore -n vg01 /dev/rdsk/c?t?d?&lt;BR /&gt;# vgchange -a y vg01&lt;BR /&gt;# vgsync vg01&lt;BR /&gt;&lt;BR /&gt;These steps do not take long.  The vgsync is the longest running process.</description>
      <pubDate>Tue, 15 Feb 2005 17:00:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486450#M214120</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-02-15T17:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Hot spare for mirror disk array</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486451#M214121</link>
      <description>Thanks for your prompt reply Patrick.&lt;BR /&gt;&lt;BR /&gt;However when I run "vgcfgrestore -n vg01 /dev/rdsk/c4t2d0" I get:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cannot restore Physical Volume "/dev/rdsk/c4t2d0".&lt;BR /&gt;Detach the PV or de-activate the VG before restoring the PV.&lt;BR /&gt;&lt;BR /&gt;I have replaces the third disk in the disk array (ie. /dev/dsk/c4t2d0) with a new identical disk.&lt;BR /&gt;This new identical disk at one stage had VG02 on it but I removed this volume group from it before I inserted it into the mirrored disk array.&lt;BR /&gt;&lt;BR /&gt;Could someone please help&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;JUP&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Feb 2005 20:02:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486451#M214121</guid>
      <dc:creator>JUP</dc:creator>
      <dc:date>2005-02-15T20:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hot spare for mirror disk array</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486452#M214122</link>
      <description>Hallo JUP&lt;BR /&gt;&lt;BR /&gt;As you said:"I have a 4 disk array - disks are in slots 1, 2, 3, 4. As MirrorUX only allows a maximum of 2 mirrors, I have mirrored Disk 1 onto 2 and 3. The first 3 disks belong to Volume Group vg01."&lt;BR /&gt;You can not automaticaly mirror to the 4th disk event you unplug the broken disk and replace the 4 disk to slot 2 in your test.&lt;BR /&gt;Why?&lt;BR /&gt;Because your storage is Disk array and it does support for this function! (You can do it if the storage is Vitual Array, for example!).&lt;BR /&gt;So that, first you have to remove the disk's device file from the VG01, then extend the VG01 to the 4th disk(no need to plug it to the slot 02) then mirror it by manual.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;Regard,&lt;BR /&gt;HoangChiCong</description>
      <pubDate>Tue, 15 Feb 2005 22:59:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486452#M214122</guid>
      <dc:creator>Hoang Chi Cong_1</dc:creator>
      <dc:date>2005-02-15T22:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Hot spare for mirror disk array</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486453#M214123</link>
      <description>I am inserting the 4th disk into the slot that was occupied by the disk that crashed.&lt;BR /&gt;&lt;BR /&gt;Its like replacing a bad disk with a new disk - so why can't I do that ???&lt;BR /&gt;&lt;BR /&gt;The new disk (was in slot 4) is not being used, and is uninitialised. Surely I can just put it in slot 2 and vgcrestore it - although this did not work.&lt;BR /&gt;&lt;BR /&gt;Your thoughts ?&lt;BR /&gt;Paul</description>
      <pubDate>Tue, 15 Feb 2005 23:29:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486453#M214123</guid>
      <dc:creator>JUP</dc:creator>
      <dc:date>2005-02-15T23:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Hot spare for mirror disk array</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486454#M214124</link>
      <description>Hello!&lt;BR /&gt;Why don't you de-activete vg01 before vgcfgerestore?&lt;BR /&gt;You can try to use -R option of vgcfgrestore for force restoring the active VG.&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -R -n vg01 /dev/rdsk/c4t2d0</description>
      <pubDate>Wed, 16 Feb 2005 04:05:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486454#M214124</guid>
      <dc:creator>Artyom Voronchihin</dc:creator>
      <dc:date>2005-02-16T04:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Hot spare for mirror disk array</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486455#M214125</link>
      <description>Hi JUP,&lt;BR /&gt;&lt;BR /&gt;How did you remove the vg02 information from disk4?&lt;BR /&gt;&lt;BR /&gt;Do as below,&lt;BR /&gt;&lt;BR /&gt;1) Move /etc/lvmtab to /etc/lvmtab.JUP&lt;BR /&gt;2) pvcreate -f /&lt;DEVICE file="" of="" disk4=""&gt;&lt;BR /&gt;3) move /etc/lvmtab.JUP to /etc/lvmtab&lt;BR /&gt;4) vgcfgrestore (as indicated in previous posts).&lt;BR /&gt;5) vgchange -a y vg01&lt;BR /&gt;6) vgsync (if required)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Try it and revert.&lt;BR /&gt;&lt;BR /&gt;With Regards,&lt;BR /&gt;Mohan.&lt;/DEVICE&gt;</description>
      <pubDate>Wed, 16 Feb 2005 05:42:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486455#M214125</guid>
      <dc:creator>Mohanasundaram_1</dc:creator>
      <dc:date>2005-02-16T05:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Hot spare for mirror disk array</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486456#M214126</link>
      <description>correction.......&lt;BR /&gt;&lt;BR /&gt;2) pvcreate -f /&lt;DEVICE file="" of="" disk4=""&gt;&lt;BR /&gt;&lt;BR /&gt;should read as&lt;BR /&gt;2) pvcreate -f /&lt;DEVICE file="" of="" disk2=""&gt;&lt;BR /&gt;&lt;BR /&gt;As the disk4 is now plugged in the disk2 slot.&lt;/DEVICE&gt;&lt;/DEVICE&gt;</description>
      <pubDate>Wed, 16 Feb 2005 07:51:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486456#M214126</guid>
      <dc:creator>Mohanasundaram_1</dc:creator>
      <dc:date>2005-02-16T07:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Hot spare for mirror disk array</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486457#M214127</link>
      <description>I think you can configure the fourth disk as a hot standby by adding it to your volume group and pvchange -z y /dev/dsk/?????.  Now when you pull disk 2 lvm should detect a drive failure and start mirroring to the standby disk.</description>
      <pubDate>Wed, 16 Feb 2005 09:38:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486457#M214127</guid>
      <dc:creator>Stuart Urquhart</dc:creator>
      <dc:date>2005-02-16T09:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hot spare for mirror disk array</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486458#M214128</link>
      <description>Thanks everyone.&lt;BR /&gt;&lt;BR /&gt;I got it working by unmounting the disk array and then running vgcfgrestore.&lt;BR /&gt;&lt;BR /&gt;JUP</description>
      <pubDate>Thu, 17 Feb 2005 19:26:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hot-spare-for-mirror-disk-array/m-p/3486458#M214128</guid>
      <dc:creator>JUP</dc:creator>
      <dc:date>2005-02-17T19:26:47Z</dc:date>
    </item>
  </channel>
</rss>

