<?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: increase size of a logical volume that is already mirrored in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-size-of-a-logical-volume-that-is-already-mirrored/m-p/2590626#M645313</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you are just increasing the LV on the same&lt;BR /&gt;disk as before and there is enough disk space&lt;BR /&gt;there is no need to actually reduce the mirror.&lt;BR /&gt;&lt;BR /&gt;All you need to do is the &lt;BR /&gt;# lvextend -L 4096 /dev/vg00/lvolhome (4Gb)&lt;BR /&gt;and the fsadm to increase the filesystem size.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael</description>
    <pubDate>Fri, 05 Oct 2001 22:09:58 GMT</pubDate>
    <dc:creator>Michael Tully</dc:creator>
    <dc:date>2001-10-05T22:09:58Z</dc:date>
    <item>
      <title>increase size of a logical volume that is already mirrored</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-size-of-a-logical-volume-that-is-already-mirrored/m-p/2590625#M645312</link>
      <description>is the following procedure OK to increase /home from 2GB to 4GB knowing that the 2GB are mirrored to another disk&lt;BR /&gt;(i want to do this online!)&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 /dev/vg00/lvolhome /dev/dsk/c1t0d0&lt;BR /&gt;lvextend -L 4000 dev/vg00/lvolhome /dev/dsk/c2t0d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvolhome /dev/dsk/c1t0d0&lt;BR /&gt;fsadm -F vxfs -b 4000M /home&lt;BR /&gt;&lt;BR /&gt;...or is there a more efficient way?&lt;BR /&gt;NOTE: not needing contiguous PEs ...thankfully</description>
      <pubDate>Fri, 05 Oct 2001 21:51:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-size-of-a-logical-volume-that-is-already-mirrored/m-p/2590625#M645312</guid>
      <dc:creator>Marc Ahrendt</dc:creator>
      <dc:date>2001-10-05T21:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: increase size of a logical volume that is already mirrored</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-size-of-a-logical-volume-that-is-already-mirrored/m-p/2590626#M645313</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you are just increasing the LV on the same&lt;BR /&gt;disk as before and there is enough disk space&lt;BR /&gt;there is no need to actually reduce the mirror.&lt;BR /&gt;&lt;BR /&gt;All you need to do is the &lt;BR /&gt;# lvextend -L 4096 /dev/vg00/lvolhome (4Gb)&lt;BR /&gt;and the fsadm to increase the filesystem size.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael</description>
      <pubDate>Fri, 05 Oct 2001 22:09:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-size-of-a-logical-volume-that-is-already-mirrored/m-p/2590626#M645313</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-10-05T22:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: increase size of a logical volume that is already mirrored</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-size-of-a-logical-volume-that-is-already-mirrored/m-p/2590627#M645314</link>
      <description>Hi Marc,&lt;BR /&gt;&lt;BR /&gt;Do you have 2 GB of free space on both the disks c2t0d0 and c1t0d0. If you have, then the command should are okay. &lt;BR /&gt;&lt;BR /&gt;I'm not using online jfs myself, so i can't say anything about the last command "fsadm", but if you are not using online JFS, then you have to use extendfs in place of "fsadm".&lt;BR /&gt;&lt;BR /&gt;hope this helps.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Oct 2001 22:13:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-size-of-a-logical-volume-that-is-already-mirrored/m-p/2590627#M645314</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-10-05T22:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: increase size of a logical volume that is already mirrored</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-size-of-a-logical-volume-that-is-already-mirrored/m-p/2590628#M645315</link>
      <description>Hi Marc:&lt;BR /&gt;&lt;BR /&gt;There is no need to reduce (eliminate) the mirror.  You can extend the logical volume and mirrored extents will be created automatically.&lt;BR /&gt;&lt;BR /&gt;Remember to make sure that you have (and you probably do have, because this is the default) a 'strict' allocation policy is in force.  That is, mirrors of a logical extent cannot share the same physical volume.  If necessary, this can be set or changed by 'lvchange'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Oct 2001 22:17:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-size-of-a-logical-volume-that-is-already-mirrored/m-p/2590628#M645315</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-10-05T22:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: increase size of a logical volume that is already mirrored</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-size-of-a-logical-volume-that-is-already-mirrored/m-p/2590629#M645316</link>
      <description>Hi Marc,&lt;BR /&gt;&lt;BR /&gt;In my post, i omitted one thing. If you want that the mirror should be on c1t0d0 only, then you should do lvreduce -m 0, else you can simply do a lvextend and the mirror will also get extended in that VG. If you using a pvg strict mirroring, the mirror will be on a different disk/path. &lt;BR /&gt;&lt;BR /&gt;remember you have to do a lvreduce only if you want that the mirror copy after extendng the volume the volume should be on a particular disk only.&lt;BR /&gt;&lt;BR /&gt;If you don't do lvreduce and just do a lvextend and fsadm/extendfs, there is no gurantee that the mirror will be on the disk you want, even if you have a pvg strict mirroring in place (and if you have more that 1 pv in each set of disks).&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Oct 2001 22:27:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-size-of-a-logical-volume-that-is-already-mirrored/m-p/2590629#M645316</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-10-05T22:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: increase size of a logical volume that is already mirrored</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-size-of-a-logical-volume-that-is-already-mirrored/m-p/2590630#M645317</link>
      <description>Hi Marc:&lt;BR /&gt;&lt;BR /&gt;There is no need whatsoever to do the lvreduce and in fact why make yourself vulnerable. That is what the mirror is for even for the brief time involved. The other way to do this is via SAM; it will extent the lvol for you and extend the filesystem. Before I ever let SAM do this for me, I looked through every piece of the code and it is solid. One tip: Make certain that there is a .fsadm under /home/lost+found or the filesystem extend will fail. Two tip: Why not move /home to another volume group - there is no need or requirement that it be in vg00.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
      <pubDate>Fri, 05 Oct 2001 22:45:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-size-of-a-logical-volume-that-is-already-mirrored/m-p/2590630#M645317</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-10-05T22:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: increase size of a logical volume that is already mirrored</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-size-of-a-logical-volume-that-is-already-mirrored/m-p/2590631#M645318</link>
      <description>Your message indicates that you have enough space on the mirror disk c2t0d0. So, you don't have to worry about reducing the mirror. Just use lvextend and fsadm commands. They will take care of extending the mirror too.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Sat, 06 Oct 2001 00:08:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-size-of-a-logical-volume-that-is-already-mirrored/m-p/2590631#M645318</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-10-06T00:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: increase size of a logical volume that is already mirrored</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-size-of-a-logical-volume-that-is-already-mirrored/m-p/2590632#M645319</link>
      <description>to all: i forgot to mention that there are 4 PVs in vg00, and that each PV has more than enough free PEs&lt;BR /&gt;&lt;BR /&gt;Michael: i think i need to reduce the mirror because of having 4 PVs in vg00 ...thx for reminding me that 4GB is better represented as 4096&lt;BR /&gt;&lt;BR /&gt;Sanjay: thx for pointing out that i did not mention how many PVs i had and how much free PEs they had! and based on my situation i think i need to do what you said and "lvreduce -m 0 ..." my LV first!&lt;BR /&gt;&lt;BR /&gt;James: thx for pointing out the need for "strict" allocation. also i want to control where the mirrored PEs go since there are 4 PVs. if i just do a lvextend then i am not guaranteed that the same 2 PVs will be used to extend the LV (sorry on my part for not stating better my environment)&lt;BR /&gt;&lt;BR /&gt;Clay: SAM is solid but SAM uses the "Default Allocation Policy" which to me is not solid. also i do not have a file called /home/lost+found/.fsadm and have never even heard of that requirement before?? are you sure i need that file? also i agree about /home not needing to be in vg00, but on this small system all the PVs are owned by vg00!&lt;BR /&gt;&lt;BR /&gt;Sridhar: thx for pointing out like some others that lvextend does take care of mirroring automatically. it is just that i want to control what PV gets the mirrored PEs.</description>
      <pubDate>Mon, 08 Oct 2001 17:01:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-size-of-a-logical-volume-that-is-already-mirrored/m-p/2590632#M645319</guid>
      <dc:creator>Marc Ahrendt</dc:creator>
      <dc:date>2001-10-08T17:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: increase size of a logical volume that is already mirrored</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-size-of-a-logical-volume-that-is-already-mirrored/m-p/2590633#M645320</link>
      <description>Clay and Marc,&lt;BR /&gt;&lt;BR /&gt;the man page fsadm_vxfs (paragraph 3 from the bottom of page 4) states that "...  When fsadm is invoked, it opens the file lost+found/.fsadm in the root of the file system specified by mount_point.  If the file does not exist, it is created..."&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hai</description>
      <pubDate>Tue, 06 Nov 2001 17:00:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-size-of-a-logical-volume-that-is-already-mirrored/m-p/2590633#M645320</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2001-11-06T17:00:14Z</dc:date>
    </item>
  </channel>
</rss>

