<?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: extend root file system in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330056#M565656</link>
    <description>&lt;BR /&gt;Searching forums with "extend root file system " gave many results.&lt;BR /&gt;&lt;BR /&gt;A few.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1230632216191+28353475&amp;amp;threadId=865252" target="_blank"&gt;http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1230632216191+28353475&amp;amp;threadId=865252&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1230632208429+28353475&amp;amp;threadId=97821" target="_blank"&gt;http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1230632208429+28353475&amp;amp;threadId=97821&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1233547" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1233547&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;to have contiguous lvol4 do this(but this is not what people generally do extend /, please see above threads):&lt;BR /&gt;&lt;BR /&gt;1. mv the lv which lies after lvol4 to some other vg.&lt;BR /&gt;2. extend lvol4&lt;BR /&gt;3. move back the lv moved in step 1.</description>
    <pubDate>Tue, 30 Dec 2008 10:21:22 GMT</pubDate>
    <dc:creator>Srimalik</dc:creator>
    <dc:date>2008-12-30T10:21:22Z</dc:date>
    <item>
      <title>extend root file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330055#M565655</link>
      <description>Hello Experts,&lt;BR /&gt;&lt;BR /&gt;i have one issues, hope you guys will help me.&lt;BR /&gt;&lt;BR /&gt;i have swap space on lv3 and root on lv4.&lt;BR /&gt;lv3 is of 12gigs and root(lv4) is of 2 gigs&lt;BR /&gt;&lt;BR /&gt;i want to reduce swap and add space in root.&lt;BR /&gt;&lt;BR /&gt;following steps i tried.&lt;BR /&gt;&lt;BR /&gt;1. hashed out swap from /etc/fstab and rebooted the machine.&lt;BR /&gt;&lt;BR /&gt;2. reduced mirror of lv3 and lv4&lt;BR /&gt;3. reduced lv3 to 9gigs&lt;BR /&gt;4. tried to extend lv4 to 5gig but it was failed due to contigous problem.&lt;BR /&gt;&lt;BR /&gt;i think system is looking to allocate PE to lv4 in increasing order and we got free PE after reduce pv3 thats in another side.&lt;BR /&gt;&lt;BR /&gt;Please let me know to to solve this. &lt;BR /&gt;&lt;BR /&gt;thanks in advance.&lt;BR /&gt;Roy</description>
      <pubDate>Tue, 30 Dec 2008 10:08:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330055#M565655</guid>
      <dc:creator>amipankaj</dc:creator>
      <dc:date>2008-12-30T10:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: extend root file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330056#M565656</link>
      <description>&lt;BR /&gt;Searching forums with "extend root file system " gave many results.&lt;BR /&gt;&lt;BR /&gt;A few.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1230632216191+28353475&amp;amp;threadId=865252" target="_blank"&gt;http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1230632216191+28353475&amp;amp;threadId=865252&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1230632208429+28353475&amp;amp;threadId=97821" target="_blank"&gt;http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1230632208429+28353475&amp;amp;threadId=97821&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1233547" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1233547&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;to have contiguous lvol4 do this(but this is not what people generally do extend /, please see above threads):&lt;BR /&gt;&lt;BR /&gt;1. mv the lv which lies after lvol4 to some other vg.&lt;BR /&gt;2. extend lvol4&lt;BR /&gt;3. move back the lv moved in step 1.</description>
      <pubDate>Tue, 30 Dec 2008 10:21:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330056#M565656</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2008-12-30T10:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: extend root file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330057#M565657</link>
      <description>thanks sri...but in this case...i will not able to use the space in got from swap(lv3)</description>
      <pubDate>Tue, 30 Dec 2008 10:32:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330057#M565657</guid>
      <dc:creator>amipankaj</dc:creator>
      <dc:date>2008-12-30T10:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: extend root file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330058#M565658</link>
      <description>Hi Roy,&lt;BR /&gt;&lt;BR /&gt;I'm not trying to annoy you but extending root should be your last option.&lt;BR /&gt;&lt;BR /&gt;---&lt;BR /&gt;i have swap space on lv3 and root on lv4.&lt;BR /&gt;lv3 is of 12gigs and root(lv4) is of 2 gigs&lt;BR /&gt;---&lt;BR /&gt;&lt;BR /&gt;Root 2 GB should be more the enough. Are you sure you can't move data that does not belong in the root filesystem to its own filesystem? &lt;BR /&gt;&lt;BR /&gt;Could you post the output of&lt;BR /&gt;&lt;BR /&gt;# du -akx / | sort -n | more &lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Tue, 30 Dec 2008 10:33:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330058#M565658</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2008-12-30T10:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: extend root file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330059#M565659</link>
      <description>To find all files on vg00 please run the foloving comand&lt;BR /&gt; ff /dev/vg00/lvol3&lt;BR /&gt;When this is combined whit the du -ks, you can find the stuff that is not needed in /&lt;BR /&gt;&lt;BR /&gt;ps if you have migrated/moved some vg it is whist to clean up the vg that does no longer exist in  /etc/lvmconf/&lt;BR /&gt;&lt;BR /&gt;Kind regards, &lt;BR /&gt;&lt;BR /&gt;Freek</description>
      <pubDate>Tue, 30 Dec 2008 10:39:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330059#M565659</guid>
      <dc:creator>F Verschuren</dc:creator>
      <dc:date>2008-12-30T10:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: extend root file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330060#M565660</link>
      <description>Hi Amipankaj,&lt;BR /&gt;&lt;BR /&gt;There are many threats you can find it here related to extending the root filesystem. &lt;BR /&gt;&lt;BR /&gt;The only recommanded way to extend the root filesystem is taking ignite backup and restore it with modified LV sizes. There are certain ways to extend it without ignite, but it is with your own risk.&lt;BR /&gt;&lt;BR /&gt;You cannot move around the lv's to reduce the space and assign it to root lv, since root lv needs contigious space.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Dec 2008 10:49:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330060#M565660</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2008-12-30T10:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: extend root file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330061#M565661</link>
      <description>&amp;gt;i will not able to use the space in got from swap(lv3)&lt;BR /&gt;&lt;BR /&gt;by the name it seems that on the vg lv3 is placed before lv4, I have never seen a lv extending backwards, Not sure if its possible.</description>
      <pubDate>Tue, 30 Dec 2008 11:38:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330061#M565661</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2008-12-30T11:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: extend root file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330062#M565662</link>
      <description>yep shrikrishna....thats my concern.</description>
      <pubDate>Tue, 30 Dec 2008 12:22:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330062#M565662</guid>
      <dc:creator>amipankaj</dc:creator>
      <dc:date>2008-12-30T12:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: extend root file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330063#M565663</link>
      <description>could you also post the output of&lt;BR /&gt;&lt;BR /&gt;# bdf&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v vg00&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Tue, 30 Dec 2008 12:29:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330063#M565663</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2008-12-30T12:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: extend root file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330064#M565664</link>
      <description>Thanks guy...thank you for your response....its done now...i reduced mirror for all lvs. moved lv4 to another disk...extended it then moved all lvs like lv5, 6, 7and all to another disk. Then i moved back pv4 to first disk first. it works.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Dec 2008 13:44:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330064#M565664</guid>
      <dc:creator>amipankaj</dc:creator>
      <dc:date>2008-12-30T13:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: extend root file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330065#M565665</link>
      <description>hello&lt;BR /&gt;&lt;BR /&gt;the best suggested method in this case and the satndard one is to make an ignite and restore the ignite back on to the server.&lt;BR /&gt;&lt;BR /&gt;the other ways possible are as follows:&lt;BR /&gt;if u can use additional new disks, create a new VG say rootvg then u can follow the procedure of creating new LVs on them in accordance to what u have now on the root VG and copy the data using find -xdev -depth | cpio -pdvmvx /new_mt_pt.&lt;BR /&gt;make sure &lt;BR /&gt;1)that on the new VG lvol, lvol2 and lvol3 as u have created using the desired size follow the -C y -s y that is strict and contiguous in aloocation Policy , make this time the root be larger.&lt;BR /&gt;2)Create the other LVs as on the original root VG.&lt;BR /&gt;3) on new disk at creating the rootvg make sure that u follow mkboot -e -l etc according to the Integrity Platform.&lt;BR /&gt;, after that doing an lvlnboot , setboot to the new boot path , reboot the system, start in LVMMaintenance mode, Export the vg00 and reimport the New disks as put into vg00, do a vgcfgbackup, setboot to this path , make the entry in /stand/bootconf and reboot with this path.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;OR u can use a new disk, add to the vg00 and make this bootable,create lvol1new lvol2new lvol3new and lvol4new with the new sizes, copy the data using find -xdev -depth | cpio -pdmvx synatx and copy only lvol1 lvol2 lvol3 and lvol4 only. use lvlnboot to define the new boot swap root and dump , add entry to /stand/bbotconf and setboot to this path to boot the system.Make necessary entry changes in /etc/fstab to mount the /dev/vg00/lvol1new and /dev/vg00/lvol4new ,commenting the existing entry lvol1 and lvol4 and modifying if swap entries accordingly if anyy in the fstab.&lt;BR /&gt;In this thought not standardily suggested at all the System will boot from the new disk and take other /usr ,/tmp and other mt. pts from the LVs on the other disk.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;note: after u have achieved this config , Plan for a down time immediately for the system and do make an Ignite Restore of the system with the deired root disk config.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sujit</description>
      <pubDate>Tue, 30 Dec 2008 14:24:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330065#M565665</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2008-12-30T14:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: extend root file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330066#M565666</link>
      <description>HI there is one way out looking at the swap space that u decreased and that has given u a 3GB of contig space just after the location of the LVOL3.Make the Pry swap still smaller to free upto 6 GB of space.&lt;BR /&gt;&lt;BR /&gt;All u need to know is the start and end PEs for this space and make a note of that and create an LV in that space with -Cy and -sy options for contig and strict allocation policy and name this as /dev/vg00/newroot.&lt;BR /&gt;&lt;BR /&gt;follow th efollowing seq of steps:&lt;BR /&gt;1) #lvcreate -L 6000 -C y -s y -n newroot /dev/vg00.&lt;BR /&gt;&lt;BR /&gt;This space allocation shall auto happen from the fre PE and shall take the PEs in the free pool that u have recently freed up as allocation of PE to an LV takes palace by default like that.&lt;BR /&gt;&lt;BR /&gt;2)#newfs -F vxfs -b 1092 /dev/vg00/rnewroot&lt;BR /&gt;3)#mkdir /newroot&lt;BR /&gt;4)#mount -F vxfs /dev/vg00/rnewroot /newroot&lt;BR /&gt;5)#cd /&lt;BR /&gt;6)#find . -xdev -depth | cpio -pdmvux /newroot&lt;BR /&gt;after the copying has been finished, &lt;BR /&gt;7)#lvrmboot -r /dev/vg00&lt;BR /&gt;8)#lvlnboot -r /dev/vg00/newroot&lt;BR /&gt;9)#lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;10)#lvlnboot -s /dev/vg00/lvol2&lt;BR /&gt;11)#lvlnboot -d /dev/vg00/lvol2&lt;BR /&gt;12)#lvlnboot -R&lt;BR /&gt;12)#vi /etc/fstab &lt;BR /&gt;&lt;BR /&gt;to change the enries for mounting the root fs.change this from /dev/vg00/lvol4 to /dev/vg00/newroot take care of the swap lV entries in the /etc/fstab also&lt;BR /&gt;&lt;BR /&gt;Shutdown and rebbot the system.&lt;BR /&gt;&lt;BR /&gt;13) after the system has successfully come up and all works fine, do an lvremove for the /dev/vg00/lvol4&lt;BR /&gt;14)recreate an LV of reqd size with -C y and -s y option and the same space for lvol4 &lt;BR /&gt;15) use the Lvol4 for the New additional Swap that u will require, put the entries for swap in /etc/fstab for device swap on the /dev/vg00/lvol4 and activate the same suing swapon /dev/vg00/lvol4.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This will work, if u apply with proper rules for LVM.&lt;BR /&gt;&lt;BR /&gt;Still suggest u to take an Ignite for the syatem and later on amke standard LVs for the Root VG as lvol1 - boot , lvol2 -- primary swao and dump and lvol3 as root.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards &lt;BR /&gt;Sujit&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Dec 2008 14:49:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extend-root-file-system/m-p/4330066#M565666</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2008-12-30T14:49:10Z</dc:date>
    </item>
  </channel>
</rss>

