<?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: Mirror Disk Again in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100636#M631535</link>
    <description>After reading your original post again. I think you have some things confused there... &lt;BR /&gt; &lt;BR /&gt;You reference commands to create a new bootable VG00, but you say in your intial sentence that you want to extend VG01... &lt;BR /&gt;&lt;BR /&gt;Which is it? those are 2 totally different things. I imagine that you are talking about VG01 and misposted a script to modify vg00 by accident.</description>
    <pubDate>Mon, 27 Oct 2003 14:43:06 GMT</pubDate>
    <dc:creator>Todd McDaniel_1</dc:creator>
    <dc:date>2003-10-27T14:43:06Z</dc:date>
    <item>
      <title>Mirror Disk Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100625#M631524</link>
      <description>Hi All &lt;BR /&gt;&lt;BR /&gt; Just a quick check i have a L2000 and i want to exent a volume group vg01. If i do an lvdisplay i get the the following information :-&lt;BR /&gt;/dev/vg01/lvol12   17776640 16272837 1410632   92% /home3&lt;BR /&gt;   vg01&lt;BR /&gt;&lt;BR /&gt;   --- Distribution of logical volume ---&lt;BR /&gt;   PV Name            LE on PV  PE on PV  &lt;BR /&gt;   /dev/dsk/c5t9d0    4340      4340      &lt;BR /&gt;   /dev/dsk/c7t9d0    4340      4340    &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;what i want to confirm these are two 18Gig drives and i am including a 36 Gig drive into this so what is required to perform this action as i am a little confused do i just need to do.&lt;BR /&gt;&lt;BR /&gt;in my example do i need to do as followed&lt;BR /&gt;&lt;BR /&gt;1. pvcreate -B /dev/rdsk/&lt;NEW disk=""&gt;&lt;BR /&gt;2. mkboot -l /dev/rdsk/&lt;NEW disk=""&gt;&lt;BR /&gt;3. mkboot -a "hpux -lq(;0)/stand/vmunix" /dev/rdsk/&lt;NEW disk=""&gt;&lt;BR /&gt;4. vgextend /dev/vg00 /dev/dsk/&lt;NEW disk=""&gt;&lt;BR /&gt;5. lvextend -m 2 /dev/vg00/lvol6 /dev/dsk/&lt;NEW disk=""&gt;&lt;BR /&gt;6. lvlnboot -r&lt;BR /&gt;7. lvlnboot -s &lt;BR /&gt;8. lvlnboot -R&lt;BR /&gt;9. lvlnboot -v &lt;BR /&gt;10. vgcfgbackup /dev/vg00 &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Grace&lt;/NEW&gt;&lt;/NEW&gt;&lt;/NEW&gt;&lt;/NEW&gt;&lt;/NEW&gt;</description>
      <pubDate>Thu, 23 Oct 2003 09:04:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100625#M631524</guid>
      <dc:creator>grace white</dc:creator>
      <dc:date>2003-10-23T09:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror Disk Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100626#M631525</link>
      <description>Grace,&lt;BR /&gt;&lt;BR /&gt;The first problem you're going to run into is that adding a 36GB drive into a vg with 18GB drives, you're not going to be able to use half of the new drive.  The max PE per PV that was calculated when the VG was originally setup for the 18GB drives is goint to be too small for you to see all of the 36GB drives.  Unfortunately, the only way around that is to re-create the VG on the 36GB drive and add the 18GB drives to it (you could also manually raise the PE size or the MaxPE number but it's still done only at creation time).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Oct 2003 09:08:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100626#M631525</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-10-23T09:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror Disk Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100627#M631526</link>
      <description>Hi Grace,&lt;BR /&gt; &lt;BR /&gt;Very first thing to do is a vgdisplay vg01 &amp;amp; check the Max PE/PV value. Because if you used the default value when you originally created the VG, then that value will not be large enough to use the entire 36 GB of that new disk. &lt;BR /&gt;Unfortunately this can only be changed by recreating the VG.&lt;BR /&gt; &lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 23 Oct 2003 09:09:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100627#M631526</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-10-23T09:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror Disk Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100628#M631527</link>
      <description>Well, that depends. I suppose that you would like your new 36GB drive to be 36GB rather than 18GB. The problem is that you should have created the VG with the largest physical drive first so that enough PE's would have been allocated. You do not need the pvcreate -B or the lvlnboot commands for vg01 because it is not a boot drive.&lt;BR /&gt;&lt;BR /&gt;If you want to use this 36GB drive then I would do it as a brand new VG (e.g. vg02) - using pvcreate and vgcreate. Make your lvols so that they match those on your existing vg01 and build new filesystems. Next copy using cpio -p your existing files in vg01 to vg02. You can then umount the filesystems in vg01 and mount them using identical mountpoints in vg02. Next I would vgexport the old vg01, pvcreate -f both 18GB drives, vgextend vg02 using the 18GB drives, and as a last step lvextend -m 1 each LVOL in the new vg02.&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Oct 2003 09:17:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100628#M631527</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-10-23T09:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror Disk Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100629#M631528</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt; I have taken over the system and due to there is no space left to extend i need to add this new disk to existing mirror to create space.&lt;BR /&gt;&lt;BR /&gt;Output from vgdisplay&lt;BR /&gt;&lt;BR /&gt;gdisplay vg01&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;VG Write Access             read/write     &lt;BR /&gt;VG Status                   available                 &lt;BR /&gt;Max LV                      255    &lt;BR /&gt;Cur LV                      1      &lt;BR /&gt;Open LV                     1      &lt;BR /&gt;Max PV                      16     &lt;BR /&gt;Cur PV                      2      &lt;BR /&gt;Act PV                      2      &lt;BR /&gt;Max PE per PV               4341         &lt;BR /&gt;VGDA                        4   &lt;BR /&gt;PE Size (Mbytes)            4               &lt;BR /&gt;Total PE                    8680    &lt;BR /&gt;Alloc PE                    8680    &lt;BR /&gt;Free PE                     0       &lt;BR /&gt;Total PVG                   2        &lt;BR /&gt;Total Spare PVs             0              &lt;BR /&gt;Total Spare PVs in use      0            &lt;BR /&gt;&lt;BR /&gt;Output from BDF&lt;BR /&gt;&lt;BR /&gt;/dev/vg01/lvol12   17776640 16272837 1410632   92% /home3&lt;BR /&gt;Will it be ok to do as i previously applied or how do i go about this.&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Grace</description>
      <pubDate>Thu, 23 Oct 2003 09:29:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100629#M631528</guid>
      <dc:creator>grace white</dc:creator>
      <dc:date>2003-10-23T09:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror Disk Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100630#M631529</link>
      <description>Sure, you can add it to the VG, but as others have stated you are only going to be able to use roughly 1/2 of the disks available.&lt;BR /&gt;&lt;BR /&gt;Your Max PE/PV value is 4341 and your PE size is 4 MB.  So you will only be able to use 17364 MB of that disk.  Also, if your LV is mirrored, adding a single disk to the mix will *not* allow you to maintain your mirror.&lt;BR /&gt;&lt;BR /&gt;Also, if you are extending VG01, you don't need to 'pvcreate -B' as that creates a boot area on the disk and VG01 probably is not your boot VG.  You also do not need to do any of the mkboot commands or the lvlnboot commands as those are reserved strictly for VG00.  You could do your vgcfgbackup but back up vg01 instead of vg00.&lt;BR /&gt;&lt;BR /&gt;The steps you would need to do for VG01 really are only:&lt;BR /&gt;&lt;BR /&gt;pvcreate /dev/rdsk/c?t?d?&lt;BR /&gt;vgextend /dev/vg01 /dev/dsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;Now you just need to extend your LV however you want.&lt;BR /&gt;&lt;BR /&gt;Be aware though that if you really *NEED* to use the entire 36GB disk and not just 17GB, you will *HAVE* to backup your data in VG01, blow it away, and recreate with different / larger MAX PE/PV values and probably a larger PE Size value.&lt;BR /&gt;&lt;BR /&gt;Good luck.</description>
      <pubDate>Thu, 23 Oct 2003 09:42:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100630#M631529</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-10-23T09:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror Disk Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100631#M631530</link>
      <description>Grace I see a couple of problems with you list of commands. Aside from the fact that you will only get 18 gb of that 36 GB drive, your vg01/lvol looks like it is mirrored. While it is possible to extend the lvol and mirror on a single disk (why would you want to?) it is not getting the redundancy that you wanted when you mirrored the lvol in the first place.&lt;BR /&gt;&lt;BR /&gt;Second your list of commands if for vg00 and mirroring a boot disk. It has a lot of steps that are not necessary for expanding vg01. &lt;BR /&gt;&lt;BR /&gt;What I would suggest is to NOT use the 36gb disk and use 2 18gb disks instead. Then the commands would look like this:&lt;BR /&gt;&lt;BR /&gt;pvcreate /dev/rdsk/&lt;NEW disk=""&gt;&lt;BR /&gt;pvcreate /dev/rdsk/&lt;OTHER new="" disk=""&gt;&lt;BR /&gt;vgextend vg01 /dev/dsk/&lt;NEW disk=""&gt; /dev/dsk/&lt;OTHER new="" disk=""&gt;&lt;BR /&gt;lvextend -l 4340 /dev/vg01/&lt;LVOL used="" for=""&gt; /dev/dsk/&lt;NEW disk=""&gt; /dev/dsk/&lt;OTHER new="" disk=""&gt;&lt;BR /&gt;&lt;BR /&gt;These steps will extend the lvol. You will need Online JFS if you want to expand the mounted filesystem online. If you don't have Online JFS, then you will need to umount the /home directory, extendfs the lvol and then mount it back. Of course this would be done in single user mode.&lt;/OTHER&gt;&lt;/NEW&gt;&lt;/LVOL&gt;&lt;/OTHER&gt;&lt;/NEW&gt;&lt;/OTHER&gt;&lt;/NEW&gt;</description>
      <pubDate>Thu, 23 Oct 2003 09:43:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100631#M631530</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2003-10-23T09:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror Disk Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100632#M631531</link>
      <description>Thanks Guys &lt;BR /&gt;&lt;BR /&gt;As this is a Short term fix until new Server is implemented.&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Grace</description>
      <pubDate>Thu, 23 Oct 2003 09:45:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100632#M631531</guid>
      <dc:creator>grace white</dc:creator>
      <dc:date>2003-10-23T09:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror Disk Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100633#M631532</link>
      <description>Grace,&lt;BR /&gt;&lt;BR /&gt;You simply cant add the 36GB disk to the VG01, you will lose 18g of it and wont be able to mirror it either...&lt;BR /&gt; &lt;BR /&gt;If you have 2 18GB disks currently as the primary and mirror... I would create a new VG with the 36GB disk and then transfer the data from the current VG01 to the new VGXX...&lt;BR /&gt; &lt;BR /&gt;then use the 2 18GB as the mirrors for the new 36GB drive... that will be the best you can hope for.&lt;BR /&gt; &lt;BR /&gt;Primary    Mirror &lt;BR /&gt; &lt;BR /&gt;36GB       18GB&lt;BR /&gt;- .........         -  &lt;BR /&gt;- .........         -&lt;BR /&gt;- .........         -&lt;BR /&gt;- .........          -&lt;BR /&gt;- .........          -&lt;BR /&gt;- .........          -&lt;BR /&gt;-  .........         18GB&lt;BR /&gt;- .........          -&lt;BR /&gt;- .........          -&lt;BR /&gt;-  .........         -&lt;BR /&gt;- .........          -&lt;BR /&gt;- .........          -&lt;BR /&gt;-  .........         -&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Oct 2003 09:46:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100633#M631532</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2003-10-23T09:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror Disk Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100634#M631533</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt; Thanks for the adivice what I would like to do is check this is the correct procedure to enable me to carry this out.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1. pvcreate /dev/rdsk/&lt;NEW disk=""&gt;&lt;BR /&gt;2. vgchange -a n /dev/vg01&lt;BR /&gt;3. vgexport -p -m mapfile vg01&lt;BR /&gt;4. vgexport -m mapfile vg01&lt;BR /&gt;5. vgimport -p -v -m mapfile /dev/dsk/cxtydz /dev/dsk/&lt;NEW disk=""&gt;&lt;BR /&gt;&lt;BR /&gt;Now mirror the existing volume group&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1. mkboot -l /dev/rdsk/&lt;NEW disk=""&gt;&lt;BR /&gt;2. mkboot -a "hpux -lq(;0)/stand/vmunix" /dev/rdsk/&lt;BR /&gt;3. vgextend /dev/vg00 /dev/dsk/&lt;BR /&gt;4. lvextend -m 2 /dev/vg00/lvol6 /dev/dsk/&lt;BR /&gt;5. lvlnboot -r&lt;BR /&gt;6. lvlnboot -s &lt;BR /&gt;7. lvlnboot -R&lt;BR /&gt;8. lvlnboot -v &lt;BR /&gt;9. vgcfgbackup /dev/vg00&lt;BR /&gt;&lt;/NEW&gt;&lt;/NEW&gt;&lt;/NEW&gt;</description>
      <pubDate>Mon, 27 Oct 2003 11:01:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100634#M631533</guid>
      <dc:creator>grace white</dc:creator>
      <dc:date>2003-10-27T11:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror Disk Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100635#M631534</link>
      <description>Grace,&lt;BR /&gt;&lt;BR /&gt;you cant merely vgexport and then vgimport the VG b/c the # of extents are too few... as defined by the header info you created VG01 with. That is based on an 18GB and you need a # of extents based on a 36GB drive.&lt;BR /&gt; &lt;BR /&gt;You will have the same problem I described, and others, about having only 18gB of your 32GB disk avaliable b/c you dont have enough extents...&lt;BR /&gt; &lt;BR /&gt;You must either do one of 2 things...&lt;BR /&gt; &lt;BR /&gt;1) backup and destroy VG01 and then recreate it with 32GB disk then mirror with 2 18GB disks..&lt;BR /&gt; &lt;BR /&gt;2) Make a new VGXX and create it in the normal way with the 32GB disk Then move/cp data from old VG01 to new VGXX.&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Mon, 27 Oct 2003 14:39:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100635#M631534</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2003-10-27T14:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror Disk Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100636#M631535</link>
      <description>After reading your original post again. I think you have some things confused there... &lt;BR /&gt; &lt;BR /&gt;You reference commands to create a new bootable VG00, but you say in your intial sentence that you want to extend VG01... &lt;BR /&gt;&lt;BR /&gt;Which is it? those are 2 totally different things. I imagine that you are talking about VG01 and misposted a script to modify vg00 by accident.</description>
      <pubDate>Mon, 27 Oct 2003 14:43:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100636#M631535</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2003-10-27T14:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror Disk Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100637#M631536</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Thanks for getting back to me what i have is a volume group (vg01) which has now space available which is mirrored over two disks  /dev/dsk/c5t9d0 and /dev/dsk/c7t9d0 which are both 18Gig.&lt;BR /&gt;&lt;BR /&gt;Now i have a new disk available which is 36Gig and intend to use this to give me the required space.&lt;BR /&gt;&lt;BR /&gt;Henece due to this is a mirror i require to add the new disk to this mirror&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Grace</description>
      <pubDate>Tue, 28 Oct 2003 04:18:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-again/m-p/3100637#M631536</guid>
      <dc:creator>grace white</dc:creator>
      <dc:date>2003-10-28T04:18:35Z</dc:date>
    </item>
  </channel>
</rss>

