<?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: commands for creating striped drives that are then mirrored in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156332#M565995</link>
    <description>Hi Kevin,&lt;BR /&gt;&lt;BR /&gt;If you want striped mirror, first you should create PVG. Because mirror on striped logical must need PVG. In your case you need 3 PVG's since you need 2 way mirroring. Create /etc/lvmpvg file with 3 PVG's.&lt;BR /&gt;&lt;BR /&gt;Format should be like this..&lt;BR /&gt;# cat /etc/lvmpvg &lt;BR /&gt;VG /dev/vg01 &lt;BR /&gt;PVG pvg1 &lt;BR /&gt;/dev/dsk/c0t1d0 &lt;BR /&gt;/dev/dsk/c0t2d0 &lt;BR /&gt;PVG pvg2&lt;BR /&gt;/dev/dsk/c1t4d0 &lt;BR /&gt;/dev/dsk/c1t5d0 &lt;BR /&gt;PVG pvg3&lt;BR /&gt;/dev/dsk/c2t4d0 &lt;BR /&gt;/dev/dsk/c2t5d0 &lt;BR /&gt;&lt;BR /&gt;Once you have PVG's in place, create a two way mirrored distributed logical volume using the below command.&lt;BR /&gt;&lt;BR /&gt;#lvcreate -D y -s g -m 2 -L 1000M /dev/vg01&lt;BR /&gt;&lt;BR /&gt;This will create a striped lv with 2 mirror copies. Each mirror will be placed in seperate PVG group. Once you have done you can follow the split/merge process to backup.&lt;BR /&gt;&lt;BR /&gt;Hope this clear your doubts.</description>
    <pubDate>Wed, 11 Feb 2009 14:31:31 GMT</pubDate>
    <dc:creator>Ganesan R</dc:creator>
    <dc:date>2009-02-11T14:31:31Z</dc:date>
    <item>
      <title>commands for creating striped drives that are then mirrored</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156324#M565987</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt; I am trying to figure out how to create a triple mirrored striped set of drives.&lt;BR /&gt;Basically looking at breaking the mirror setup when I need to do a backup leaving 2 drives still mirrored until backup gets done.&lt;BR /&gt;&lt;BR /&gt;I am not sure of the command flow to do this? has anyone tried this?&lt;BR /&gt;&lt;BR /&gt;Thank You&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Feb 2009 13:12:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156324#M565987</guid>
      <dc:creator>kevin Richard_2</dc:creator>
      <dc:date>2009-02-11T13:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: commands for creating striped drives that are then mirrored</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156325#M565988</link>
      <description>Hi Kevin&lt;BR /&gt;&lt;BR /&gt;if i am correct then you have an LV that is Striped and you want to create the 3 way mirroring of that.&lt;BR /&gt;if i am not correct then correct me and tell the OS version and waht is the LVM version of the VG?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;in case you are having per 11.31 OS and situation , the mirroring and stripping is possible only with the use of PVGs and PVG based mirroring.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;however in 11.31 you can simply create a striped vols nd go ahead with mirroring that&lt;BR /&gt;perhaps Sep,2008 release ... not too sure&lt;BR /&gt;&lt;BR /&gt;any way for a mirrored LV use use the lvsplit command , fsck , mkdir, and mount that Split Lv , do backup, unmount and lvmerge after the backup is finished.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the question is of that if a striped LV is there , you can lvextend -m 1 for that if the OS is 11.23 and old.&lt;BR /&gt;&lt;BR /&gt;in 11.23 you can use  the PVG strict mirroring and using -Dy -s g of lvextend can create a mirrored and striped LV &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;sujit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Feb 2009 13:40:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156325#M565988</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-02-11T13:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: commands for creating striped drives that are then mirrored</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156326#M565989</link>
      <description>Hi Kevin,&lt;BR /&gt;&lt;BR /&gt;Striping is something different than mirroring. I assume that you want to have 2 mirror copies other than original one.&lt;BR /&gt;This you can achieve using this command.&lt;BR /&gt;#lvextend -m 2 lvname &lt;DISK&gt;&lt;BR /&gt;&lt;BR /&gt;But the problem is you cannot keep 2 copies one side and other one copy other side to take backup. Once you reduce the mirror you will no longer have access to the reduced copy.&lt;BR /&gt;&lt;BR /&gt;You need to use lvsplit/lvmerge command if you want to take backup by splitting the mirror and merge it after backup.&lt;BR /&gt; &lt;BR /&gt;&lt;/DISK&gt;</description>
      <pubDate>Wed, 11 Feb 2009 13:40:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156326#M565989</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-02-11T13:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: commands for creating striped drives that are then mirrored</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156327#M565990</link>
      <description>Hi Kevin,&lt;BR /&gt;&lt;BR /&gt;These are the steps you need to follow up.&lt;BR /&gt;&lt;BR /&gt;I assume you have a logical volume which needs to be splitted for backup. First create two mirror copies.&lt;BR /&gt;&lt;BR /&gt;#lvextend -m 2 &lt;LVNAME&gt; &lt;PVNAME&gt;&lt;BR /&gt;&lt;BR /&gt;After mirrored check with lvdisplay.&lt;BR /&gt;#lvdisplay -v &lt;LVNAME&gt;&lt;BR /&gt;&lt;BR /&gt;Now split the mirror using the following command.&lt;BR /&gt;&lt;BR /&gt;#lvsplit -s backup /dev/vg01/lvol1&lt;BR /&gt;&lt;BR /&gt;Now new lv created in the name of /dev/vg01/lvol1backup. But lvol1 will still have one mirror copy. You can mount lvol1backup on any mount point and take backup.&lt;BR /&gt;&lt;BR /&gt;#mount /dev/vg01/lvol1backup /backup&lt;BR /&gt;&lt;BR /&gt;After backed up you need to merge the lvol1backup with lvol1. For this you need to use the below command.&lt;BR /&gt;&lt;BR /&gt;#umount /backup        #lvmerge /dev/vg01/lvol1backup /dev/vg01/lvol1&lt;BR /&gt;&lt;BR /&gt;After merging you will have 2 mirror copies again.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;/LVNAME&gt;&lt;/PVNAME&gt;&lt;/LVNAME&gt;</description>
      <pubDate>Wed, 11 Feb 2009 13:59:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156327#M565990</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-02-11T13:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: commands for creating striped drives that are then mirrored</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156328#M565991</link>
      <description>Thank You for your responses. The OS is &lt;BR /&gt;&lt;BR /&gt;11.23.  Drives would be on a 6402 Smart array controller. &lt;BR /&gt;&lt;BR /&gt;Drive size is 72GB.</description>
      <pubDate>Wed, 11 Feb 2009 14:00:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156328#M565991</guid>
      <dc:creator>kevin Richard_2</dc:creator>
      <dc:date>2009-02-11T14:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: commands for creating striped drives that are then mirrored</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156329#M565992</link>
      <description>As usual I didnt make myself clear. I am looking for the commands to stripe the drives and then mirror those striped drives.&lt;BR /&gt;&lt;BR /&gt;I have the flow for the breaking and merging of the mirror for the backup.</description>
      <pubDate>Wed, 11 Feb 2009 14:06:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156329#M565992</guid>
      <dc:creator>kevin Richard_2</dc:creator>
      <dc:date>2009-02-11T14:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: commands for creating striped drives that are then mirrored</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156330#M565993</link>
      <description>hi &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;but if you are using the SA Smart Array Controller Card you would already might have teh drives being used in RAID !!!&lt;BR /&gt;&lt;BR /&gt;can u give&lt;BR /&gt;#ioscan -fnCext_bus&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;find for the devices as /dev/cissX&lt;BR /&gt;give the O/P of &lt;BR /&gt;#sautil /dev/cissX&lt;BR /&gt;like&lt;BR /&gt;#sautil /dev/ciss4 etc&lt;BR /&gt;and also &lt;BR /&gt;#ioscan -fnCdisk.&lt;BR /&gt;&lt;BR /&gt;Ganeshan already gave you a sequence of creating the mirror, Split, mount and backup and merge that you can do&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;sujit</description>
      <pubDate>Wed, 11 Feb 2009 14:19:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156330#M565993</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-02-11T14:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: commands for creating striped drives that are then mirrored</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156331#M565994</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What i mean to say that if the Disk Drives are connected to the RAID Controller card SA6402 then why you need to Stripe That from LVM, you can create RAID VOls on the disk and after that if you wish you can create a VG using that RAID Vol and if reqd then Mirror using LVM !!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;please post &lt;BR /&gt;&lt;BR /&gt;#ioscan -fnCdisk&lt;BR /&gt;#ioscan -fnCext_bus&lt;BR /&gt;#sautil /dev/cissX &lt;BR /&gt;#vgdisplay -v&lt;BR /&gt;regards&lt;BR /&gt;sujit</description>
      <pubDate>Wed, 11 Feb 2009 14:27:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156331#M565994</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-02-11T14:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: commands for creating striped drives that are then mirrored</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156332#M565995</link>
      <description>Hi Kevin,&lt;BR /&gt;&lt;BR /&gt;If you want striped mirror, first you should create PVG. Because mirror on striped logical must need PVG. In your case you need 3 PVG's since you need 2 way mirroring. Create /etc/lvmpvg file with 3 PVG's.&lt;BR /&gt;&lt;BR /&gt;Format should be like this..&lt;BR /&gt;# cat /etc/lvmpvg &lt;BR /&gt;VG /dev/vg01 &lt;BR /&gt;PVG pvg1 &lt;BR /&gt;/dev/dsk/c0t1d0 &lt;BR /&gt;/dev/dsk/c0t2d0 &lt;BR /&gt;PVG pvg2&lt;BR /&gt;/dev/dsk/c1t4d0 &lt;BR /&gt;/dev/dsk/c1t5d0 &lt;BR /&gt;PVG pvg3&lt;BR /&gt;/dev/dsk/c2t4d0 &lt;BR /&gt;/dev/dsk/c2t5d0 &lt;BR /&gt;&lt;BR /&gt;Once you have PVG's in place, create a two way mirrored distributed logical volume using the below command.&lt;BR /&gt;&lt;BR /&gt;#lvcreate -D y -s g -m 2 -L 1000M /dev/vg01&lt;BR /&gt;&lt;BR /&gt;This will create a striped lv with 2 mirror copies. Each mirror will be placed in seperate PVG group. Once you have done you can follow the split/merge process to backup.&lt;BR /&gt;&lt;BR /&gt;Hope this clear your doubts.</description>
      <pubDate>Wed, 11 Feb 2009 14:31:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156332#M565995</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-02-11T14:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: commands for creating striped drives that are then mirrored</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156333#M565996</link>
      <description>G,&lt;BR /&gt;&lt;BR /&gt;Looks like those steps will do it.  Ive ordered the drives and have the option of trying them on a test server, will then go &lt;BR /&gt;on to the Production server.&lt;BR /&gt;&lt;BR /&gt;Thank You both (G &amp;amp; S) for your help.&lt;BR /&gt;&lt;BR /&gt;K</description>
      <pubDate>Wed, 11 Feb 2009 15:04:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/commands-for-creating-striped-drives-that-are-then-mirrored/m-p/5156333#M565996</guid>
      <dc:creator>kevin Richard_2</dc:creator>
      <dc:date>2009-02-11T15:04:49Z</dc:date>
    </item>
  </channel>
</rss>

