<?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: Advice with mirroring and hotspare for a novice in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497552#M625005</link>
    <description>thanks for the great references.&lt;BR /&gt;&lt;BR /&gt;the Sysadmin guide says you can use either VERITAS Volume Manager or HP LVM (+MirrorDisk/UX) for mirroring. which one should i use in this case? i'd like to mirror all logical volumes including / and swap.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;br. aspa</description>
    <pubDate>Fri, 04 Mar 2005 04:07:16 GMT</pubDate>
    <dc:creator>marko asplund</dc:creator>
    <dc:date>2005-03-04T04:07:16Z</dc:date>
    <item>
      <title>Advice with mirroring and hotspare for a novice</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497549#M625002</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;i've just received a new HP 9000 server (rp3410) running HP-UX 11i v1 and i need to set up the file systems to use disk mirroring. i haven't done it before so i'd like to get some advice or references to documentation regarding the subject.&lt;BR /&gt;&lt;BR /&gt;the system is currently running on one disk which has (1 volume group, 8 logical volumes). i'd like to create a mirror for this disk and assign a hotspare for the mirror pair. i assume that the 'Disks and File Systems' tools in SAM can be used to accomplish this somehow but how do i do it exactly? i'm still planning on changing the logical volume setup on the currently used disk, does this affect mirroring? can i modify the logical volume setup for the mirror pair after mirroring has been configured?&lt;BR /&gt;&lt;BR /&gt;are there any common caveats i should be aware of?&lt;BR /&gt;&lt;BR /&gt;we have a MirrorDisk/UX license for doing the mirroring.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;br. aspa</description>
      <pubDate>Fri, 04 Mar 2005 02:08:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497549#M625002</guid>
      <dc:creator>marko asplund</dc:creator>
      <dc:date>2005-03-04T02:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Advice with mirroring and hotspare for a novice</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497550#M625003</link>
      <description>Marko,&lt;BR /&gt;The following link should give you all the required information on mirroring in HP-UX&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=237466" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=237466&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Additionally i would strongly urge you to read the following document (Chap 6) to get a better insight into the concepts&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/pdf/B2355-90742.pdf" target="_blank"&gt;http://docs.hp.com/hpux/pdf/B2355-90742.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you need any specific information, throw it at us and we will try to do our best&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;Mobeen&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Mar 2005 02:21:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497550#M625003</guid>
      <dc:creator>Mobeen_1</dc:creator>
      <dc:date>2005-03-04T02:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Advice with mirroring and hotspare for a novice</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497551#M625004</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There is no Hotspare concept in HP LVM.&lt;BR /&gt;&lt;BR /&gt;Other information is well covered in given threads&lt;BR /&gt;&lt;BR /&gt;Sunil</description>
      <pubDate>Fri, 04 Mar 2005 03:46:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497551#M625004</guid>
      <dc:creator>Sunil Sharma_1</dc:creator>
      <dc:date>2005-03-04T03:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Advice with mirroring and hotspare for a novice</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497552#M625005</link>
      <description>thanks for the great references.&lt;BR /&gt;&lt;BR /&gt;the Sysadmin guide says you can use either VERITAS Volume Manager or HP LVM (+MirrorDisk/UX) for mirroring. which one should i use in this case? i'd like to mirror all logical volumes including / and swap.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;br. aspa</description>
      <pubDate>Fri, 04 Mar 2005 04:07:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497552#M625005</guid>
      <dc:creator>marko asplund</dc:creator>
      <dc:date>2005-03-04T04:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Advice with mirroring and hotspare for a novice</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497553#M625006</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;based on your description, u r only planning to mirror the boot disk?&lt;BR /&gt;&lt;BR /&gt;if u want to just do that, please follow the steps (for MirrorUX) given in this guide:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;mode=id&amp;amp;searchString=LVMKBRC00005103&amp;amp;searchCrit=exactphrase&amp;amp;docType=Security&amp;amp;docType=Patch&amp;amp;docType=EngineerNotes&amp;amp;docType=BugReports&amp;amp;docType=Hardware&amp;amp;docType=ReferenceMaterials&amp;amp;docType=ThirdParty&amp;amp;search.x=14&amp;amp;search.y=7" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;mode=id&amp;amp;searchString=LVMKBRC00005103&amp;amp;searchCrit=exactphrase&amp;amp;docType=Security&amp;amp;docType=Patch&amp;amp;docType=EngineerNotes&amp;amp;docType=BugReports&amp;amp;docType=Hardware&amp;amp;docType=ReferenceMaterials&amp;amp;docType=ThirdParty&amp;amp;search.x=14&amp;amp;search.y=7&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;or proceed to "technical knowledge base" and search by doc id for "LVMKBRC00005103".&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Fri, 04 Mar 2005 04:20:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497553#M625006</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2005-03-04T04:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Advice with mirroring and hotspare for a novice</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497554#M625007</link>
      <description>i read through the documentation and with the following commands it seems i managed to mirror all the logical volumes (including /stand, / and swap):&lt;BR /&gt;&lt;BR /&gt;  pvcreate -B /dev/rdsk/c2t1d0&lt;BR /&gt;  vgextend /dev/vg00 /dev/dsk/c2t1d0&lt;BR /&gt;  mkboot /dev/rdsk/c2t1d0&lt;BR /&gt;  mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/c2t1d0&lt;BR /&gt;  lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t1d0&lt;BR /&gt;  ... # repeat the above for all existing logical volumes&lt;BR /&gt;&lt;BR /&gt;does this look right?&lt;BR /&gt;&lt;BR /&gt;according to the documentation MirrorDisk/UX supports the concept of a hot spare. i created a spare with the following commands:&lt;BR /&gt;&lt;BR /&gt;  pvcreate /dev/rdsk/c3t2d0&lt;BR /&gt;  vgextend -z y /dev/vg00 /dev/dsk/c3t2d0&lt;BR /&gt;&lt;BR /&gt;now, i'm still a bit uncertain how logical volume mirrors are affected when i resize a volume. is resizing possible with mirrored volumes?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;br. aspa</description>
      <pubDate>Fri, 04 Mar 2005 07:53:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497554#M625007</guid>
      <dc:creator>marko asplund</dc:creator>
      <dc:date>2005-03-04T07:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Advice with mirroring and hotspare for a novice</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497555#M625008</link>
      <description>Marko,&lt;BR /&gt;&lt;BR /&gt;I'm attaching the complete, tried and true procedure for mirroring your root disk.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 04 Mar 2005 08:04:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497555#M625008</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-03-04T08:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Advice with mirroring and hotspare for a novice</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497556#M625009</link>
      <description>Oh - regarding your resizing question, yes you can resize mirrored lvols - provided you have enough space on both of the disks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 04 Mar 2005 08:16:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497556#M625009</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-03-04T08:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Advice with mirroring and hotspare for a novice</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497557#M625010</link>
      <description>LVM is much simpler to use if you're not already familiar with VxVM volume manager. Note that MirrorDisk/UX is a purchased product so it must be installed on your system before the lvextend -m 1 command will work. To see if it exists:&lt;BR /&gt; &lt;BR /&gt;swlist -l fileset|grep -i mirror&lt;BR /&gt; &lt;BR /&gt;You will see LVM-MIRROR-RUN if the product has been installed.&lt;BR /&gt; &lt;BR /&gt;If you are just using two disks, one primary and one mirror, then the commands are correct for the first set of commands. pvcreate forms a boot and header area, vgextend adds the disk to the current volume group and mkboot commands setup the second disk so it can also be bootable. The lvextend -m 1 does the actual mirroing. You repeat just the lvextend command for each lvol on the disk. It isn't necessary to specify the target disk for mirroring in this case. Using a target disk for mirroring is used with volume groups that have many unused disks to specify the desired location for the mirror. You can do the lvextends in a simple loop from the command line:&lt;BR /&gt; &lt;BR /&gt;for LV in 1 2 3 4 5 6 7 8&lt;BR /&gt;do&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol$LV&lt;BR /&gt;done&lt;BR /&gt; &lt;BR /&gt;Now the manual is probably a bit misleading with the explanation of a hot spare. The vgextend command will indeed add the 3rd disk to the group but it won't be of any use as it will have no data on it. Instead, you can change the lvextend command from -m 1 to -m 2 and specify the physical disks in the order you want to use. This is double mirroring and quite useful in taking backups. All 3 disks will be continuously synced with very low overhead and at any time, you can reduce the mirror count to split off one of the mirrors, then mount the separate disk under it's own set of mountpoints. NOTE: The maximum number of additional disk space that can be added to a volume group is fixed when the VG is created and cannot be changed. So if there aren't enough extents slots in the VG, an additional disk can't be added.&lt;BR /&gt; &lt;BR /&gt;And resizing is completely transparent. If you increase the size of an lvol, all of the mirrors are extended automatically. Note that to extend a filesystem without un-mounting it, you'll need the extra product Online JFS. Without Online JFS, to extend a filesystem, you unmount it, extend the lvol with lvextend, then extend the filesystem with extendfs. Now you can remount the larger filesystem. It is recommended never to reduce a filesystem without a full backup. Note that root can use lvreduce ay any time which generally destroys the lvol.&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Mar 2005 10:04:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497557#M625010</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-03-04T10:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Advice with mirroring and hotspare for a novice</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497558#M625011</link>
      <description>Please see attached file which hopefully will help.&lt;BR /&gt;&lt;BR /&gt;kyris&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Mar 2005 02:48:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/advice-with-mirroring-and-hotspare-for-a-novice/m-p/3497558#M625011</guid>
      <dc:creator>Kyris</dc:creator>
      <dc:date>2005-03-07T02:48:41Z</dc:date>
    </item>
  </channel>
</rss>

