<?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: LVM Mirroring in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030422#M430718</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You dont have enough space available on this PV.&lt;BR /&gt;&lt;BR /&gt;Free: 879*4 = 3516/1024 = 3.4G&lt;BR /&gt;&lt;BR /&gt;Existing size is almost 21G. You can add max 3.4G in this LV.&lt;BR /&gt;</description>
    <pubDate>Sun, 25 Feb 2007 20:38:26 GMT</pubDate>
    <dc:creator>john D_3</dc:creator>
    <dc:date>2007-02-25T20:38:26Z</dc:date>
    <item>
      <title>LVM Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030421#M430717</link>
      <description>I have disks connected from 2 XP 1024 frames attached to the server runnning HPUX 11.0.  I am new to HPUX OS.  I have several disks on the server.  I want to extend my Logical Volume lvol12 to 28GB.&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vgdncptordb/lvol12&lt;BR /&gt;VG Name                     /dev/vgdncptordb&lt;BR /&gt;LV Permission               read/write&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;Mirror copies               1&lt;BR /&gt;Consistency Recovery        MWC&lt;BR /&gt;Schedule                    parallel&lt;BR /&gt;LV Size (Mbytes)            21100&lt;BR /&gt;Current LE                  5275&lt;BR /&gt;Allocated PE                10550&lt;BR /&gt;Stripes                     0&lt;BR /&gt;Stripe Size (Kbytes)        0&lt;BR /&gt;Bad block                   on&lt;BR /&gt;Allocation                  PVG-strict/distributed&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;&lt;BR /&gt;--- Physical volumes ---&lt;BR /&gt;PV Name                     /dev/dsk/c71t2d7&lt;BR /&gt;PV Name                     /dev/dsk/c95t2d7    Alternate Link&lt;BR /&gt;VG Name                     /dev/vgdncptordb&lt;BR /&gt;PV Status                   available&lt;BR /&gt;Allocatable                 yes&lt;BR /&gt;VGDA                        2&lt;BR /&gt;Cur LV                      3&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    1759&lt;BR /&gt;Free PE                     879&lt;BR /&gt;Allocated PE                880&lt;BR /&gt;Stale PE                    0&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;Autoswitch                  Off&lt;BR /&gt;&lt;BR /&gt;The other device /dev/rdsk/c83t2d7 has the exact above specs as /dev/rdskc95t2d7.&lt;BR /&gt;I would like to specifically extend the logical volume by mirroring between these two devices.</description>
      <pubDate>Sun, 25 Feb 2007 17:21:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030421#M430717</guid>
      <dc:creator>Ajaysen Reddy</dc:creator>
      <dc:date>2007-02-25T17:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030422#M430718</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You dont have enough space available on this PV.&lt;BR /&gt;&lt;BR /&gt;Free: 879*4 = 3516/1024 = 3.4G&lt;BR /&gt;&lt;BR /&gt;Existing size is almost 21G. You can add max 3.4G in this LV.&lt;BR /&gt;</description>
      <pubDate>Sun, 25 Feb 2007 20:38:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030422#M430718</guid>
      <dc:creator>john D_3</dc:creator>
      <dc:date>2007-02-25T20:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030423#M430719</link>
      <description># pvcreate -f /dev/rdsk/cXtYd0&lt;BR /&gt;# vgextend /dev/vg06 /dev/dsk/cXtYd0&lt;BR /&gt;# vgdisplay â  v vg06&lt;BR /&gt;# lvextend  -L 5120 /dev/vg06/lvol3&lt;BR /&gt;#lvdisplay â  v /dev/vg03/lvol3&lt;BR /&gt;&lt;BR /&gt; Umount the file system&lt;BR /&gt;&lt;BR /&gt;# extendfs â  F vxfs /dev/vg03/lvol3 &lt;BR /&gt;&lt;BR /&gt;Mount the file system&lt;BR /&gt;&lt;BR /&gt;procedure to extend file system in cluster is attached herewith.&lt;BR /&gt;&lt;BR /&gt;Shardha &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 25 Feb 2007 23:26:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030423#M430719</guid>
      <dc:creator>Shardha</dc:creator>
      <dc:date>2007-02-25T23:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030424#M430720</link>
      <description>pvcreate -f /dev/rdsk/cXtYd0&lt;BR /&gt;# vgextend /dev/vg06 /dev/dsk/cXtYd0&lt;BR /&gt;# vgdisplay Ã¢Â Â v vg06&lt;BR /&gt;# lvextend -L 28000 /dev/vg06/lvol2&lt;BR /&gt;#lvdisplay Ã¢Â Â v /dev/vg03/lvol2&lt;BR /&gt;&lt;BR /&gt;Umount the file system&lt;BR /&gt;&lt;BR /&gt;# extendfs Ã¢Â Â F vxfs /dev/vg03/rlvol2&lt;BR /&gt;&lt;BR /&gt;Mount the file system&lt;BR /&gt;&lt;BR /&gt;to mirror the logical volume after you specify/create the new physical dsk, and extend the physical volume group to include the new dsk you just to do the following:&lt;BR /&gt;&lt;BR /&gt;# lvextend -m 1 /dev/gdncptordb/lvol2</description>
      <pubDate>Mon, 26 Feb 2007 00:44:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030424#M430720</guid>
      <dc:creator>Mutum</dc:creator>
      <dc:date>2007-02-26T00:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030425#M430721</link>
      <description>Is there a reason you want to mirror XP 1024 LUNs? They should be more than adequately protected in the array. Note that if you want to add very large LUNs to your volume group, you'll need to delete it and rebuild it with a larger physical extent size (16k or 32k would allow for a lot of expansion). The PE size cannot be changed on an existing volume group.</description>
      <pubDate>Mon, 26 Feb 2007 01:25:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030425#M430721</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-02-26T01:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030426#M430722</link>
      <description>@Ajaysen &lt;BR /&gt;Mirroring will not give you additional space, you can only gain 879PE*4M (3516M) here, so no extension to 28G, just to 24G with resources available in the volumegroup.&lt;BR /&gt;But from output, you already have mirroring there in lvol12.&lt;BR /&gt;&lt;BR /&gt;If you want to extend to 24G (24616M) then first check with:&lt;BR /&gt;# lvdisplay -v /dev/vgdncptordb/lvol12&lt;BR /&gt;# vgdisplay -v vgdncptordb&lt;BR /&gt;&lt;BR /&gt;And provide us with output (shorten the lvdisplay -v with piping via more, we want to see basic information with some lines of logical extents mapping between original and mirrored pvol).&lt;BR /&gt;&lt;BR /&gt;Is new c83t2d7 already added to volume group vgdncptordb? Does it have alternate path too?&lt;BR /&gt;&lt;BR /&gt;@Shardha and Mutum&lt;BR /&gt;Using extendfs is required if OnlineJFS is not present. If you have OnlineJFS you do not need to unmount filesystem and use extendfs. You can simply use fsadm to extend the filesystem online with no downtime.&lt;BR /&gt;&lt;BR /&gt;Also it might be better practice to use -l and not -L in lvextend. -l (small L) requires number of extents, and not number of MB like -L. -L is not that exact as it works with MB rather than extents, and as such, it might be rounded in calculations during lvextend in progress.&lt;BR /&gt;&lt;BR /&gt;@Bill&lt;BR /&gt;You might want to mirror XP luns (we are speaking about mirroring on LVM level, not XP very own one) for example when you have two XPs in different datacenters, so one set is on xp in dc1 and another mirrored set is on xp in dc2. So for example when using something high available, you will not loose storage when dc1 is nuked to ruins and when your high available application is switched to dc2.</description>
      <pubDate>Mon, 26 Feb 2007 16:45:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030426#M430722</guid>
      <dc:creator>MHudec</dc:creator>
      <dc:date>2007-02-26T16:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030427#M430723</link>
      <description>Mehmood:  Got your point.  However I do have a total of 8 disks each containing 871 PEs.  What I am trying to get is - What is the syntax to choose the exact disks that I want to use as Primary and Mirror.&lt;BR /&gt;&lt;BR /&gt;Bill:  We have 2 XP 1024 in two separate Datacenters/buildings - We are trying to mirror between the XPs.  With out a specific device info, HPUX could mirror on the same XP 1024.&lt;BR /&gt;&lt;BR /&gt;Martin:  You Hit right on target - Here is teh information:&lt;BR /&gt;&lt;BR /&gt;-All devices are already in the vgdncptordb:&lt;BR /&gt;-Below are the physical volumes with Free PV&lt;BR /&gt;-There are 70+ physical Volumes in this vg, however in the below 8 PVs, 4 are from XP Frame1 and the other 4 PVs are form XP Frame2.&lt;BR /&gt;-Information on fsadm and how I would use it in this situation would be very helpful.&lt;BR /&gt;&lt;BR /&gt;XP Frame1 PVs (with available disk)&lt;BR /&gt;-----------------------------------&lt;BR /&gt;PV Name                     /dev/dsk/c74t2d7&lt;BR /&gt;PV Name                     /dev/dsk/c98t2d7  Alternate Link&lt;BR /&gt;Free PE                     871&lt;BR /&gt;PV Name                     /dev/dsk/c77t2d7&lt;BR /&gt;PV Name                     /dev/dsk/c101t2d7        Alternate Link&lt;BR /&gt;Free PE                     871&lt;BR /&gt;PV Name                     /dev/dsk/c80t2d7&lt;BR /&gt;PV Name                     /dev/dsk/c104t2d7        Alternate Link&lt;BR /&gt;Free PE                     871&lt;BR /&gt;PV Name                     /dev/dsk/c71t2d7&lt;BR /&gt;PV Name                     /dev/dsk/c95t2d7  Alternate Link&lt;BR /&gt;Free PE                     879&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;XP Frame2 PVs (with available disk)&lt;BR /&gt;-----------------------------------&lt;BR /&gt;PV Name                     /dev/dsk/c86t2d7&lt;BR /&gt;PV Name                     /dev/dsk/c110t2d7        Alternate Link&lt;BR /&gt;Free PE                     879&lt;BR /&gt;PV Name                     /dev/dsk/c89t2d7&lt;BR /&gt;PV Name                     /dev/dsk/c113t2d7        Alternate Link&lt;BR /&gt;Free PE                     879&lt;BR /&gt;PV Name                     /dev/dsk/c92t2d7&lt;BR /&gt;PV Name                     /dev/dsk/c116t2d7        Alternate Link&lt;BR /&gt;Free PE                     879&lt;BR /&gt;PV Name                     /dev/dsk/c83t2d7&lt;BR /&gt;PV Name                     /dev/dsk/c107t2d7        Alternate Link&lt;BR /&gt;Free PE                     879&lt;BR /&gt;&lt;BR /&gt;Thank you all very much for the responses.&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Feb 2007 12:42:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030427#M430723</guid>
      <dc:creator>Ajaysen Reddy</dc:creator>
      <dc:date>2007-02-27T12:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030428#M430724</link>
      <description>&lt;!--!*#--&gt;Well, I don't know much about logical volume structure there on VG (that is why full vgdisplay -v output would be great, you can attach it here as attachment I think), but for lvol12 you already have pvg-strict/distributed allocation policy. Good, if that's still true as I remember that in other thread here on itrc, you seemed to get advice to get rid of pvg-strict/distributed policy.&lt;BR /&gt;&lt;BR /&gt;I am also assuming that your disks listed in both frames are the only disks used for that lvol12. But nevertheless it would be best to think about whole volumegroup organization before doing anything. So take my advices as they are, and think if they are applicable to your environment. &lt;BR /&gt;&lt;BR /&gt;So first I would group XP frame 1 disks to one PVG (named pvgxpframe1 for example) and XP frame 2 disks to another PVG (named pvgxpframe2).&lt;BR /&gt;&lt;BR /&gt;PVG mapping can be done in /etc/lvmvpg file, just add something like:&lt;BR /&gt;&lt;BR /&gt;VG      /dev/vgdncptordb&lt;BR /&gt;PVG     pvgxpframe1&lt;BR /&gt;/dev/dsk/c74t2d7&lt;BR /&gt;/dev/dsk/c77t2d7&lt;BR /&gt;/dev/dsk/c80t2d7&lt;BR /&gt;/dev/dsk/c71t2d7&lt;BR /&gt;PVG     pvgxpframe2&lt;BR /&gt;/dev/dsk/c86t2d7&lt;BR /&gt;/dev/dsk/c89t2d7&lt;BR /&gt;/dev/dsk/c92t2d7&lt;BR /&gt;/dev/dsk/c83t2d7&lt;BR /&gt;&lt;BR /&gt;Then you should see those PVGs in vgdisplay -v output. And then you can extend lvol12, still without mirror, by using:&lt;BR /&gt;&lt;BR /&gt;# lvextend -l &lt;TOTAL number="" of="" extents="" we="" want=""&gt; /dev/vgdncptordb/lvol12 pvgxpframe1&lt;BR /&gt;&lt;BR /&gt;by this we would get that logical volume extended and distributed on xp frame 1 disks. And then we can mirror them by:&lt;BR /&gt;&lt;BR /&gt;# lvextend -m 1 /dev/vgdncptordb/lvol12 pvgxpframe2&lt;BR /&gt;&lt;BR /&gt;by this we would get mirroring to other xp array.&lt;BR /&gt;&lt;BR /&gt;But before anything, it would be best to see those outputs:&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v vgdncptordb&lt;BR /&gt;# lvdisplay -v /dev/vgdncptordb/lvol12&lt;BR /&gt;&lt;BR /&gt;We could get more precise advices by then. And despite the outputs will be large, you are not working with lvols with 64000 extents, so it is not really that much long :).&lt;/TOTAL&gt;</description>
      <pubDate>Tue, 27 Feb 2007 14:05:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030428#M430724</guid>
      <dc:creator>MHudec</dc:creator>
      <dc:date>2007-02-27T14:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030429#M430725</link>
      <description>Thank you all for your help.  This group is wonderful.&lt;BR /&gt;&lt;BR /&gt;Martin:  Your information was excellent and helped me create the LVs.  Thanks.&lt;BR /&gt;;)) Here is what I got for the &lt;BR /&gt;vgdisplay -v dncptordbvg&lt;BR /&gt;- 6 lines per LV * 13 = 78&lt;BR /&gt;- 6 lines per PV * 68 = 408&lt;BR /&gt;- 20 lines for PVGs   = 20&lt;BR /&gt;+ VG info + Blank lines&lt;BR /&gt;&lt;BR /&gt;lvdisplay -v /dev/vgdncptordb/lvol12&lt;BR /&gt;- 10 lines for Disk information&lt;BR /&gt;- 7000 lines for LE&lt;BR /&gt;- Had to CRTL -C out of it ;))&lt;BR /&gt;&lt;BR /&gt;- Around 7500 lines @ 50 per page = 150 pages.&lt;BR /&gt;&lt;BR /&gt;Have a good one...</description>
      <pubDate>Tue, 27 Feb 2007 14:52:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030429#M430725</guid>
      <dc:creator>Ajaysen Reddy</dc:creator>
      <dc:date>2007-02-27T14:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030430#M430726</link>
      <description>I am glad to hear that. So I suppose you were able to extend the logical volume in size and also to mirror it to other XP. Great. Though I have my doubts about extents distribution on your logical volume, I hope all is fine.&lt;BR /&gt;&lt;BR /&gt;As for fsadm (which I forgot to reply to), it is quite simple. If you have OnlineJFS on the system, just do:&lt;BR /&gt;&lt;BR /&gt;# fsadm -F vxfs -b &lt;SIZE&gt; &lt;FS&gt;&lt;BR /&gt;&lt;BR /&gt;where SIZE is for example 10000M (take size of logical volume) and FS is filesystem, like /usr/appl/data.&lt;BR /&gt;&lt;BR /&gt;Good luck, Martin&lt;/FS&gt;&lt;/SIZE&gt;</description>
      <pubDate>Tue, 27 Feb 2007 15:12:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/5030430#M430726</guid>
      <dc:creator>MHudec</dc:creator>
      <dc:date>2007-02-27T15:12:47Z</dc:date>
    </item>
  </channel>
</rss>

