<?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: mirroring root disks [two] in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581129#M647348</link>
    <description>If I read your question right, you want /var, /opt, and /usr residing on disks A and B (LV extents on both).  Then you want to mirror these LV's to disk D.  Yes this can be done, just make sure you specify the disk D as the device to mirror to.  Otherwise, you will mirror the LV's on the same disks.  Also, you will need to ensure that disk C is bootable.</description>
    <pubDate>Tue, 18 Sep 2001 19:33:00 GMT</pubDate>
    <dc:creator>Byron Myers</dc:creator>
    <dc:date>2001-09-18T19:33:00Z</dc:date>
    <item>
      <title>mirroring root disks [two]</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581123#M647342</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Just wondering about catches when employing mirroring when we have following scenario:&lt;BR /&gt;&lt;BR /&gt;present configuration:&lt;BR /&gt;disk C - primary disk with /dev/vg00, external disk in jamacian enclosure&lt;BR /&gt;disk D - mirror disk, external disk on Jamaican enclosure&lt;BR /&gt;&lt;BR /&gt;new/required configuration:&lt;BR /&gt;disk A - primary disk with /dev/vg00, internal disk&lt;BR /&gt;disk B - second disk wherein we want to extend /var, /opt, and /usr filesystem, internal disk , /dev/vg00&lt;BR /&gt;&lt;BR /&gt;disk C - mirror of disk A&lt;BR /&gt;disk D - mirror of disk B&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the catch is that /var, /opt and /usr would be extended from disk A to disk B. the question is can we have mirroring between A--C and B--D?&lt;BR /&gt;&lt;BR /&gt;Also is it worth relocating /usr, /opt and /var entired on Disk B?&lt;BR /&gt;&lt;BR /&gt;So gurus, guide us.</description>
      <pubDate>Tue, 18 Sep 2001 19:04:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581123#M647342</guid>
      <dc:creator>bg_4</dc:creator>
      <dc:date>2001-09-18T19:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring root disks [two]</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581124#M647343</link>
      <description>Bimal,&lt;BR /&gt;&lt;BR /&gt;I assume you mean that /var, /opt and /usr would be moved to disk B.  This can be done with the pvmove command.  What you're trying to do can be done.  You'd have to add disk A and B to the VG and then pvmove and lvextend -m 1 away.&lt;BR /&gt;&lt;BR /&gt;As for whether its advisable or not, I'm not sure I see any benefit.&lt;BR /&gt;I would move /var/adm/sw and /var/adm/crash to different filesystems and I would also try to split up swap amonst as many disks as possible however.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Tue, 18 Sep 2001 19:10:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581124#M647343</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-09-18T19:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring root disks [two]</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581125#M647344</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The answer is yes; you can mirror that way. You didn't mention what kind of server you have but as a general rule, I tend to avoid internal disks unless they are hot-swap. It partially defeats the purpose of mirroring if you have to shutdown to replace disks. As for moving your filesystems, I would be tempted to tell you to put them in another volume group. Remember, only /stand, /, and primary swap must be on the boot disk.</description>
      <pubDate>Tue, 18 Sep 2001 19:13:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581125#M647344</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-09-18T19:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring root disks [two]</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581126#M647345</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Thanks for the information. here's additional information. It's a N class server,9000 series, 4500. Also has MC Service Guard.&lt;BR /&gt;&lt;BR /&gt;I am aware about pvmove command but the question if I extend /var, /opt and /usr on Disk B then would mirroring work?</description>
      <pubDate>Tue, 18 Sep 2001 19:23:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581126#M647345</guid>
      <dc:creator>bg_4</dc:creator>
      <dc:date>2001-09-18T19:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring root disks [two]</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581127#M647346</link>
      <description>When you say extend, are you trying to increase the size of those filesystems?  In any case, the answer is yes, mirroring will still work.&lt;BR /&gt;&lt;BR /&gt;Btw, pvmove basically mirrors the extent onto the destination PV and the removes the extent from the source PV...sort of like mirroring and then breaking the mirror.&lt;BR /&gt;&lt;BR /&gt;Just an FYI.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Tue, 18 Sep 2001 19:27:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581127#M647346</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-09-18T19:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring root disks [two]</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581128#M647347</link>
      <description>Hi Bimal,&lt;BR /&gt;&lt;BR /&gt;what are the sizes of these disks?&lt;BR /&gt;&lt;BR /&gt;Are you doing this change to accomodate for increase in filesystem sizes?&lt;BR /&gt;&lt;BR /&gt;MC-SG won't prevent you from doing this. &lt;BR /&gt;&lt;BR /&gt;But if disk size is tight and you cannot increase the size of the disk in the jamaica drives, then i would suggest moving /var/adm/crash, /opt, /usr/local to disk B.  Yes mirroring would still work just fine.&lt;BR /&gt;&lt;BR /&gt;-Regards&lt;BR /&gt;Ramesh</description>
      <pubDate>Tue, 18 Sep 2001 19:32:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581128#M647347</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-09-18T19:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring root disks [two]</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581129#M647348</link>
      <description>If I read your question right, you want /var, /opt, and /usr residing on disks A and B (LV extents on both).  Then you want to mirror these LV's to disk D.  Yes this can be done, just make sure you specify the disk D as the device to mirror to.  Otherwise, you will mirror the LV's on the same disks.  Also, you will need to ensure that disk C is bootable.</description>
      <pubDate>Tue, 18 Sep 2001 19:33:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581129#M647348</guid>
      <dc:creator>Byron Myers</dc:creator>
      <dc:date>2001-09-18T19:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring root disks [two]</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581130#M647349</link>
      <description>All the disks are 8GB size and the fs are about 85% full. It's a high availability server. So can't afford more downtime and everything has to be smooth.&lt;BR /&gt;&lt;BR /&gt;Looks like things are promising and we would be on track. Looking to replies I feel that we should move /var, /opt and /usr from bootable disk A to disk B and then mirror, making it a clean configuration.&lt;BR /&gt;&lt;BR /&gt;Thanks for all the replies. Still won't mind more information on do's and don'ts.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bimal</description>
      <pubDate>Tue, 18 Sep 2001 19:38:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581130#M647349</guid>
      <dc:creator>bg_4</dc:creator>
      <dc:date>2001-09-18T19:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring root disks [two]</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581131#M647350</link>
      <description>Hi Bimal,&lt;BR /&gt;&lt;BR /&gt;Do you have any other filesystem in vg00 on the root disk right now. 8GB disks and you are planning to move /usr, /var and /opt, these are the filesystems that need most space anyway&lt;BR /&gt;&lt;BR /&gt;Just curious what else is filling up the space?&lt;BR /&gt;&lt;BR /&gt;-Ramesh</description>
      <pubDate>Tue, 18 Sep 2001 19:46:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581131#M647350</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-09-18T19:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring root disks [two]</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581132#M647351</link>
      <description>Check this out. I think it is the cleanest way to do it. ;-)&lt;BR /&gt;&lt;BR /&gt;******* Prepare disk A to be a boot disk *******&lt;BR /&gt;&lt;BR /&gt;pvcreate -B disk A&lt;BR /&gt;mkboot /dev/rdsk/diskA&lt;BR /&gt;mkboot -a "hpux -lq" /dev/rdsk/diskA&lt;BR /&gt;&lt;BR /&gt;******* Copy data onto disks A &amp;amp; B in an ordered way *******&lt;BR /&gt;&lt;BR /&gt;vgextend vg00 onto disks A &amp;amp; B&lt;BR /&gt;lvextend -m 2 lvol[1-5] onto disk A (/stand, swap&amp;amp;dump, /, /home, /tmp)&lt;BR /&gt;lvextend -m 2 lvol[6-8] onto disk B (/usr, /var &amp;amp; /opt)&lt;BR /&gt;lvlnboot -R&lt;BR /&gt;&lt;BR /&gt;******* Take data out of disk C and re-prepare it to be a boot disk *******&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 1 lvol[1-8] from diskC&lt;BR /&gt;mkboot /dev/rdsk/diskC&lt;BR /&gt;mkboot -a "hpux -lq" /dev/rdsk/diskC&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;******* Up to this point you'd be keeping one of the mirror copies in diskD *******&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 lvol[1-8] from disk D&lt;BR /&gt;&lt;BR /&gt;******* Now, do the final mirroring *******&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 lvol[1-5] onto diskC&lt;BR /&gt;lvextend -m 1 lvol[6-8] onto diskD&lt;BR /&gt;lvlnboot -R&lt;BR /&gt;&lt;BR /&gt;******* Remember to change primary and alternate boot paths in N4000 PDC *******</description>
      <pubDate>Thu, 20 Sep 2001 15:16:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581132#M647351</guid>
      <dc:creator>Xavier Gutierrez</dc:creator>
      <dc:date>2001-09-20T15:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring root disks [two]</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581133#M647352</link>
      <description>Hi folks&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for help. I would be try the procedure and would post the results [with steps].&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;bimal</description>
      <pubDate>Fri, 21 Sep 2001 13:18:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-disks-two/m-p/2581133#M647352</guid>
      <dc:creator>bg_4</dc:creator>
      <dc:date>2001-09-21T13:18:31Z</dc:date>
    </item>
  </channel>
</rss>

