<?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: lvreduce in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529354#M221222</link>
    <description>Hi Abhijit, &lt;BR /&gt;First you must defrag the file system before reducing it. See my posing in the link.&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=517467" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=517467&lt;/A&gt;</description>
    <pubDate>Sun, 24 Apr 2005 15:47:10 GMT</pubDate>
    <dc:creator>SS_6</dc:creator>
    <dc:date>2005-04-24T15:47:10Z</dc:date>
    <item>
      <title>lvreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529344#M221212</link>
      <description>Dear all,&lt;BR /&gt;&lt;BR /&gt;Please find attached file herewith containing the available VGs on a MSA 1000. The problem now is I need to freed up space from these and create a new LV which will be around 1.5 TB cause to take a Oracle Daily HOT Backup.&lt;BR /&gt;&lt;BR /&gt;Please guide me what all steps I should take to do a lvreduce or do i need to do a vgreduce too, cause there are 2 diff. VGs.&lt;BR /&gt;&lt;BR /&gt;Early response appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Abhijit</description>
      <pubDate>Thu, 21 Apr 2005 07:58:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529344#M221212</guid>
      <dc:creator>Abhijit P.</dc:creator>
      <dc:date>2005-04-21T07:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529345#M221213</link>
      <description>Did not see the attachment, but this is how you should be doing it.&lt;BR /&gt;&lt;BR /&gt;1. Decide which VG the lvol be creted in.&lt;BR /&gt;2. Back it up.&lt;BR /&gt;3. Make free space avaialbale. You should be deleting unwanted files.&lt;BR /&gt;4. Reduce the lvols to appropriate sizes.&lt;BR /&gt;(If you have OnlineJFS, you can do it online, else you will have to unmount the FS)&lt;BR /&gt;If you have onlineJFS, the procedure is as follows.&lt;BR /&gt;&lt;BR /&gt;fsadm -F vxfs -b "new_size" /dev/vgxx/lvolx&lt;BR /&gt;lvreduce -L "new_size" /dev/vgxx/lvolx&lt;BR /&gt;&lt;BR /&gt;If you do not have onlineJFS, then as follows.&lt;BR /&gt;&lt;BR /&gt;umount /FS&lt;BR /&gt;fsadm -F vxfs -b "new_size" /dev/vgxx/lvolx&lt;BR /&gt;lvreduce -L "new_size" /dev/vgxx/lvolx&lt;BR /&gt;&lt;BR /&gt;Check if everything is OK., I would like to repeat that take the backup first.&lt;BR /&gt;&lt;BR /&gt;Anil&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Apr 2005 08:05:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529345#M221213</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-04-21T08:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529346#M221214</link>
      <description>From your attachement it seems you have the space but across different vg.&lt;BR /&gt; not only you will have to lvreduce lv from volume group but you will have to fund which disk tcan be taken from one volume group and used for the vg where you want to create you 1.5Tb lv.&lt;BR /&gt;&lt;BR /&gt;check these links :&lt;BR /&gt;for lvreduce&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=74968" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=74968&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;for vgreduce&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=816216" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=816216&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=139550" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=139550&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, I would start the procedure with a proper backup.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Thu, 21 Apr 2005 08:13:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529346#M221214</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2005-04-21T08:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529347#M221215</link>
      <description>Hi anil,&lt;BR /&gt;thanks for early reply....&lt;BR /&gt;&lt;BR /&gt;First thing is I don't have Online JFS and second is I have two diffrent VGS as mentioned in the file.&lt;BR /&gt;&lt;BR /&gt;so I need to freed up the space from these two make it as a raw space and then create a LV in one of the VG and extend it to that space.&lt;BR /&gt;&lt;BR /&gt;how to go abt it.....?&lt;BR /&gt;&lt;BR /&gt;Abhijit</description>
      <pubDate>Thu, 21 Apr 2005 08:21:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529347#M221215</guid>
      <dc:creator>Abhijit P.</dc:creator>
      <dc:date>2005-04-21T08:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529348#M221216</link>
      <description>hi,&lt;BR /&gt;so you have the answer, reduce space from one(or more)LV, create a new LV.&lt;BR /&gt;your job to think which to reduce....&lt;BR /&gt;if choosing a non-system LV doing it with SAM, will be the easier, and you won't forget anything.&lt;BR /&gt;if choosing LV containing /var /opt ...etc..&lt;BR /&gt;(IF NO OTHER CHOICE): you'll have to boot as a single user.&lt;BR /&gt;even see : man lvextend / vgextend&lt;BR /&gt;or thread, where discussing about increase/decrease LV and FS :&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=640683" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=640683&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;E.</description>
      <pubDate>Thu, 21 Apr 2005 09:09:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529348#M221216</guid>
      <dc:creator>Etienne Roseau</dc:creator>
      <dc:date>2005-04-21T09:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529349#M221217</link>
      <description>If you have free space in two different vgs, then you need to make pvs in that vgs free and add to one of vgs. (or a seperate VG)&lt;BR /&gt;&lt;BR /&gt;Run pvdisplay on each of pvs in vgs and check if you can move any of the data to some other pvs. (check pvmove command. Read man page first) If vgs are stripped, you can not use pvmove command.&lt;BR /&gt;&lt;BR /&gt;Once a pv/pvs are made free, vgreduce those pvs and create (or add to a vg, where you want to create a FS)&lt;BR /&gt;&lt;BR /&gt;Then, vgcreate&lt;BR /&gt;lvcreate. While doing vgcreate take care of no. pes. Check man page of vgcreate)&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Thu, 21 Apr 2005 09:15:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529349#M221217</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-04-21T09:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529350#M221218</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Have you checked wheather your VG have some unallocated space or not. They might have some free physical Volumes. Check it by&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v /dev/vgname&lt;BR /&gt;&lt;BR /&gt;Do it for both VGs. Attachment shows output that envolves three VGs. Which two you want to play with. Do it for those two.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Thu, 21 Apr 2005 21:39:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529350#M221218</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-04-21T21:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529351#M221219</link>
      <description>hi friends,&lt;BR /&gt;&lt;BR /&gt;thanks for your early responses but I have one more query that as these VGs are in MSA when I give vgsiplave -v VGNAME it shows me only single PV per VG as attached herewith.&lt;BR /&gt;&lt;BR /&gt;So please giude me how to take care of the PVs while doing a vgreduce&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Abhijit</description>
      <pubDate>Thu, 21 Apr 2005 23:53:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529351#M221219</guid>
      <dc:creator>Abhijit P.</dc:creator>
      <dc:date>2005-04-21T23:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529352#M221220</link>
      <description>Abhi,&lt;BR /&gt;&lt;BR /&gt;Looks difficult to create a single filesystem with all the free PEs and the free space left on each logical volume.  The maximum space you can create is on the third VG where you have some Free PEs and you can perhaps do an lvreduce on some logical volumes in the third VG and create a volume out of it.&lt;BR /&gt;&lt;BR /&gt;The maximum space you get depends on how well you handle the Free PEs and free space.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/back04 is around 413GB free.. lvreduce this filesystem and take the maximum space from this.  /dev/vgmsa03 has around 15288 free PEs which comes to 978GB.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Naveej&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Apr 2005 00:09:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529352#M221220</guid>
      <dc:creator>Naveej.K.A</dc:creator>
      <dc:date>2005-04-22T00:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529353#M221221</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As earlier clarified, You can have a single volume of 978GB in /dev/vgmsa03 Volume group without altering anything. &lt;BR /&gt;&lt;BR /&gt;Another thing I would suggest is to have an existing volume extended to the allowed limit here by another 978 GB to become a total of 1490GB.&lt;BR /&gt;&lt;BR /&gt;If you can do it with creating multiple volumes then you can also create one volume each of 578GB in /dev/vgmsa01 and /dev/vgmsa02.&lt;BR /&gt;&lt;BR /&gt;The best thing you can do here is to create a new volume in either /dev/vgmsa01 or /dev/vgmsa02 of 512GB and copy the data from /dev/vgmsa03/back04  onto it and mount it on /back04 and extend /dev/vgmsa03/back04 to 1490Gb and use it in place of new Volume you are intending to create having mount at a desires mount point.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Sat, 23 Apr 2005 22:27:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529353#M221221</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-04-23T22:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529354#M221222</link>
      <description>Hi Abhijit, &lt;BR /&gt;First you must defrag the file system before reducing it. See my posing in the link.&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=517467" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=517467&lt;/A&gt;</description>
      <pubDate>Sun, 24 Apr 2005 15:47:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/3529354#M221222</guid>
      <dc:creator>SS_6</dc:creator>
      <dc:date>2005-04-24T15:47:10Z</dc:date>
    </item>
  </channel>
</rss>

