<?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: How do I mirror 1 Vloume Group which is spread across 2 disks? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599042#M855324</link>
    <description>There's a number of threads in the forums for mirroring.  Simply search for mirror vg00.  One of the threads is &lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x247d87dc4d7dd5118ff00090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x247d87dc4d7dd5118ff00090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
    <pubDate>Mon, 22 Oct 2001 18:10:04 GMT</pubDate>
    <dc:creator>Darrell Allen</dc:creator>
    <dc:date>2001-10-22T18:10:04Z</dc:date>
    <item>
      <title>How do I mirror 1 Vloume Group which is spread across 2 disks?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599036#M855318</link>
      <description>I have an HP D390 system, running HP-UX 11.00. I have 2 9 GB disks set up as the "root" system. One is at address 8/4.5 (/dev/dsk/c0t5d0) and the other is at 8/4.9 (/dev/dsk/c0t9d0). I have two identical blank disks at 8/4.8 (/dev/dsk/c0t8d0) and 8/4.10 (/dev/dsk/c0t10d0). I have lvol1 thru 1vol7 setup on vg00 and spread across 8/4.5 and 8/4.9. &lt;BR /&gt;&lt;BR /&gt;These systems are /, /usr, /tmp, /opt, &lt;BR /&gt;/stand, /home, and /var. The /usr file system is actually spread across the disks and is using 1200MB of space on 8/4.5 and 800 MB of space on 8/4.9. The other file systems are completely contained on one disk or the other. &lt;BR /&gt;&lt;BR /&gt;I wish to set up a mirror of vg00 on the two empty disks, 8/4.8 and 8/4.10, such that if either 8/4.5 or 8/4.9 fail, the system will still boot and function. &lt;BR /&gt;&lt;BR /&gt;How would I accomplish such a task?</description>
      <pubDate>Mon, 22 Oct 2001 17:54:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599036#M855318</guid>
      <dc:creator>David Wrisley</dc:creator>
      <dc:date>2001-10-22T17:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I mirror 1 Vloume Group which is spread across 2 disks?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599037#M855319</link>
      <description>You can mirror LV's not VG's. lvextend is the command you want.</description>
      <pubDate>Mon, 22 Oct 2001 18:00:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599037#M855319</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-10-22T18:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I mirror 1 Vloume Group which is spread across 2 disks?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599038#M855320</link>
      <description>The easiest way is lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/cXtXdX /dev/dsk/cXtXdX.</description>
      <pubDate>Mon, 22 Oct 2001 18:03:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599038#M855320</guid>
      <dc:creator>Ron Cornwell</dc:creator>
      <dc:date>2001-10-22T18:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do I mirror 1 Vloume Group which is spread across 2 disks?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599039#M855321</link>
      <description>I would do an lvdisplay on each lvol to see which disk they reside on, then mirror on the opposite; &lt;BR /&gt;&lt;BR /&gt;#lvextend -m 1 /dev/vg00/lvol? /dev/dsk/otherdisk&lt;BR /&gt;&lt;BR /&gt;I see no reason why that wouldn't work unless you don't have the space.  I am, howeve, confused as to why vg00 was set up this way to begin with because if one disk went bad you are still out of luck in most cases.  &lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;Chris</description>
      <pubDate>Mon, 22 Oct 2001 18:04:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599039#M855321</guid>
      <dc:creator>Christopher McCray_1</dc:creator>
      <dc:date>2001-10-22T18:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I mirror 1 Vloume Group which is spread across 2 disks?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599040#M855322</link>
      <description>As Harry has already mentioned, mirroring happens at the LV level.  Add the other disks to the VG using the vgextend command and for each LV in your VG, do a lvextend -m 1 &lt;LV name=""&gt;.  If you want to get more specific about which disk you want the LV mirrored to, you can do an lvextend -m 1 &lt;LV name=""&gt; &lt;PV name=""&gt;, but this requires a lot more effort as you need to keep track of which disks are used and how much free space you have.&lt;BR /&gt;&lt;BR /&gt;-Santosh&lt;/PV&gt;&lt;/LV&gt;&lt;/LV&gt;</description>
      <pubDate>Mon, 22 Oct 2001 18:05:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599040#M855322</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-10-22T18:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I mirror 1 Vloume Group which is spread across 2 disks?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599041#M855323</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Do you have MirrorDisk/Ux software &lt;BR /&gt;You can check this with swlist -l bundle and look for above line. If it is there then follow these steps:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# pvcreate -Bf /dev/rdsk/cXtXdX (the disk &lt;BR /&gt;you wish to use. &lt;BR /&gt;# vgextend /dev/vg00 /dev/dsk/cXtXdX &lt;BR /&gt;# mkboot /dev/rdsk/cXtXdX &lt;BR /&gt;# mkboot -a "hpux -lq(;0)/stand/vmunix" /dev/rdsk/cXtXdX &lt;BR /&gt;# lvlnboot -R &lt;BR /&gt;then do lvextend -m for all lvols explained by others ..&lt;BR /&gt;&lt;BR /&gt;Goodluck&lt;BR /&gt;-USA..</description>
      <pubDate>Mon, 22 Oct 2001 18:08:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599041#M855323</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2001-10-22T18:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I mirror 1 Vloume Group which is spread across 2 disks?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599042#M855324</link>
      <description>There's a number of threads in the forums for mirroring.  Simply search for mirror vg00.  One of the threads is &lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x247d87dc4d7dd5118ff00090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x247d87dc4d7dd5118ff00090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Mon, 22 Oct 2001 18:10:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599042#M855324</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-10-22T18:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I mirror 1 Vloume Group which is spread across 2 disks?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599043#M855325</link>
      <description>1. Create a bootable LVM disk to be used for the mirror. &lt;BR /&gt;# pvcreate -fB /dev/rdsk/c0t8d0&lt;BR /&gt;# pvcreate -f /dev/rdsk/c0t10d0 &lt;BR /&gt;&lt;BR /&gt;2. Add this disk to the current root volume group. &lt;BR /&gt;# vgextend /dev/vg00 /dev/dsk/c0t8d0 /dev/dsk/c0t10d0 &lt;BR /&gt;&lt;BR /&gt;3. Make the new disk a boot disk. &lt;BR /&gt;# mkboot /dev/rdsk/c0t8d0 &lt;BR /&gt;&lt;BR /&gt;4. Copy the correct AUTO file into the new LIF area. Note: that's an el not a one in hpux -lq, it means allow the system to boot even if one of the boot drives is unavailable.  This is why it's done on both disks.&lt;BR /&gt;# mkboot -a "hpux -lq" /dev/rdsk/c0t8d0 &lt;BR /&gt;&lt;BR /&gt;5. Mirror the boot, root and primary swap logical volumes to the new &lt;BR /&gt;bootable disk. NOTE: The boot logical voluem must be done first to ensure it occupies the first contiguous set of extents on the new disk, so therefore /stand MUST BE MIRRORED FIRST, then swap/dump, and then Root.  Specifying the disk afte the lvol name is optional as the system by default will extend to the other drive.&lt;BR /&gt;# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t8d0 &lt;BR /&gt;# lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c0t8d0 &lt;BR /&gt;# lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c0t8d0 &lt;BR /&gt;&lt;BR /&gt;6. Repeat this for the rest of the logical volumes in vg00, except for the logical volume for /usr.  For /usr:&lt;BR /&gt;# lvextend -m 1 /dev/vg00/lvol? /dev/dsk/c0t8d0 /dev/dsk/c0t10d0&lt;BR /&gt;&lt;BR /&gt;7. Copy over the lvlnboot information, update the BDRA&lt;BR /&gt;# lvlnboot -R /dev/vg00&lt;BR /&gt;&lt;BR /&gt;8. verify the BDRA information for boot, root, primary swap;&lt;BR /&gt;# lvlnboot -v&lt;BR /&gt;&lt;BR /&gt;9.  If not correct do the following to correct them:&lt;BR /&gt;# /usr/sbin/lvlnboot -b /dev/vg00/lvol1 &lt;BR /&gt;# /usr/sbin/lvlnboot -r /dev/vg00/lvol3 &lt;BR /&gt;# /usr/sbin/lvlnboot -s /dev/vg00/lvol2 &lt;BR /&gt;# /usr/sbin/lvlnboot -R /dev/vg00 &lt;BR /&gt;&lt;BR /&gt;10. If you made changes in 7, again verify the BDRA: &lt;BR /&gt;# lvlnboot -v &lt;BR /&gt;&lt;BR /&gt;11. Verify the volume group has the correct physical volumes now:&lt;BR /&gt;# vgdisplay -v vg00&lt;BR /&gt;&lt;BR /&gt;12. Verfiy the logical volumes are mirrored and current:&lt;BR /&gt;# lvdisplay -v /dev/vg00/lvol1     # repeat this for each logical volume&lt;BR /&gt;&lt;BR /&gt;13. Verify the physical volume (disk) and that lvol1 is first on the disk:&lt;BR /&gt;# pvdisplay -v /dev/dsk/c0t8d0&lt;BR /&gt;&lt;BR /&gt;14. Verify the LIF area and AUTO files on the disks&lt;BR /&gt;# lifls /dev/rdsk/c0t8d0&lt;BR /&gt;&lt;BR /&gt;15. To change the alternate boot device:   (or it can be done at boot up)&lt;BR /&gt;# setboot -a 10/6.0.0    # substitute the actual hardware path&lt;BR /&gt;&lt;BR /&gt;16. You should reboot the system using shutdown -r 0 and verify you can boot to each of the disks.</description>
      <pubDate>Mon, 22 Oct 2001 18:12:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599043#M855325</guid>
      <dc:creator>Bernie Vande Griend</dc:creator>
      <dc:date>2001-10-22T18:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I mirror 1 Vloume Group which is spread across 2 disks?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599044#M855326</link>
      <description>Hi David:&lt;BR /&gt;&lt;BR /&gt;A couple of comments here.  First, remember that mirroring is done a software level and involves logical volumes, not physical disks.  As you no doubt are aware, you must have purchased the MirrorDisk/UX product to enable mirroring.  An excellent guide to setting up mirrors can be found in the "Managing Systems and Workgroups: A Guide for HP-UX System Administrators" manual in the section titled "Managing Mirrored File Systems":&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90742/B2355-90742_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90742/00/00/66-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90742/00/00/66-toc.html&amp;amp;searchterms=system%7ctrusted&amp;amp;queryid=20011022-114951" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90742/B2355-90742_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90742/00/00/66-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90742/00/00/66-toc.html&amp;amp;searchterms=system%7ctrusted&amp;amp;queryid=20011022-114951&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Next, I'd recommend re-apportioning your vg00 so that it can be contained in one physical volume, or at least so that filesystems are not split across physical disk.  This makes recovery of a failed volume easier.  Too, when you mirror the logical volumes, physical extents will need to be mirrored on *different* physical disk.  You can use 'pvmove' to shift physical extents between the disks.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 22 Oct 2001 18:14:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599044#M855326</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-10-22T18:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I mirror 1 Vloume Group which is spread across 2 disks?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599045#M855327</link>
      <description>Actually, breaking vg00 into more disks is not a bad idea. In many cases, 2 4GB disks (with their 2 4GB mirrors) is preferable as performance is better though administration is a bit more difficult. If you are really going to do this 'right'; you really need another controller and another disk enclosure so that you can tolerate a contrroller/termination/cabling failure as well.&lt;BR /&gt;&lt;BR /&gt;Anyway here are the steps:&lt;BR /&gt;&lt;BR /&gt;pvcreate -f -B /dev/rdsk/c0t8d0&lt;BR /&gt;pvcreate -f /dev/rdsk/c0t9d0&lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c0t8d0&lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c0t9d0&lt;BR /&gt;mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c0t8d0&lt;BR /&gt;&lt;BR /&gt;Then for each lvol:&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t8d0&lt;BR /&gt;&lt;BR /&gt;Specify both /dev/dsk/c0t8d0 and /dev/dsk/c0t9d0 for the lvol containing /usr&lt;BR /&gt;&lt;BR /&gt;When you are all done and tested; I would also do the identical mkboot command specifying the old boot disk so that it too will allow boot without quorum.&lt;BR /&gt;&lt;BR /&gt;Clay</description>
      <pubDate>Mon, 22 Oct 2001 18:20:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599045#M855327</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-10-22T18:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I mirror 1 Vloume Group which is spread across 2 disks?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599046#M855328</link>
      <description>Hi david.&lt;BR /&gt;&lt;BR /&gt;On the first place you want to have your mirror disks on an other controller so if the controller fails you can keep on working.&lt;BR /&gt;&lt;BR /&gt;To add a mirror on your disk you can take the following steps:&lt;BR /&gt;&lt;BR /&gt;pvcreate ( -B on at least one disk)&lt;BR /&gt;vgextend /disken&lt;BR /&gt;lvextend -m 1 logical volume /disk ( let op dat boot root en swap op de disk staan die bootable is)&lt;BR /&gt;lvlnboot -b ...&lt;BR /&gt;lvlnboot -d ...&lt;BR /&gt;lvlnboot -s ...&lt;BR /&gt;lvlnboot -r ...&lt;BR /&gt;&lt;BR /&gt;for the syntaxes check the man pages.&lt;BR /&gt;&lt;BR /&gt;hope this will help.&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Oct 2001 18:22:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-mirror-1-vloume-group-which-is-spread-across-2-disks/m-p/2599046#M855328</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2001-10-22T18:22:50Z</dc:date>
    </item>
  </channel>
</rss>

