<?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: To extend root FS in preceding lvols in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330076#M341920</link>
    <description>Could you post the output of "lvdisplay /dev/vg00/lvol3",please.  I don't see how you could have extended it if it was defined as strict/contiguous as it should have been.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Tue, 30 Dec 2008 11:05:11 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2008-12-30T11:05:11Z</dc:date>
    <item>
      <title>To extend root FS in preceding lvols</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330067#M341911</link>
      <description>hi alll&lt;BR /&gt;&lt;BR /&gt;I have a problem that my root fs is on lvol4 and swap is on lvol3 so I accidently increased the lvol3 to lvol4 which has no problems but now I want that space back on to root FS which is lvol4 but since it has contiguous policy so its not taking the space from the lvols preceding to the lvol4 rather its trying to take sapce from the next lvols e.g 5,6,7. Can anybody through light so that I can recover the free space from lvol3 and increase the root lvol4.&lt;BR /&gt;&lt;BR /&gt;Your suggestions will be appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance!!!</description>
      <pubDate>Tue, 30 Dec 2008 10:11:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330067#M341911</guid>
      <dc:creator>Saurabh Rawat</dc:creator>
      <dc:date>2008-12-30T10:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: To extend root FS in preceding lvols</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330068#M341912</link>
      <description>it is amazing can u please immediately post the vgdisplay -v vg00 , lvlnboot -v and bdf O/ps of the server. That will really be Helpful.&lt;BR /&gt;also what is the OS Version is this 11.31 of HP-UX?&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Dec 2008 10:35:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330068#M341912</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2008-12-30T10:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: To extend root FS in preceding lvols</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330069#M341913</link>
      <description>Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol4    2097152  335048 1748424   16% /&lt;BR /&gt;/dev/vg00/lvol1    1835008  229048 1593504   13% /stand&lt;BR /&gt;/dev/vg00/lvol16   1048576   26025  958692    3% /volumes/v1&lt;BR /&gt;/dev/vg00/lvol15   1048576  231712  765881   23% /volumes/tsu&lt;BR /&gt;/dev/vg00/lvol14    524288   20590  472343    4% /volumes/nsr&lt;BR /&gt;/dev/vg00/lvol13   1048576  389758  617684   39% /volumes/gems&lt;BR /&gt;/dev/vg00/lvol12    524288  183123  319943   36% /volumes/esm&lt;BR /&gt;/dev/vg00/lvol10   8388608 3310456 5039032   40% /var&lt;BR /&gt;/dev/vg00/lvol11   10485760   19106 9812560    0% /var/adm/crash&lt;BR /&gt;/dev/vg00/lvol9    10485760 2730416 7694832   26% /usr&lt;BR /&gt;/dev/vg00/lvol8    1048576   20288 1021024    2% /tmp&lt;BR /&gt;/dev/vg00/lvol7    10485760 4967904 5474768   48% /opt&lt;BR /&gt;/dev/vg00/lvol6     131072    8680  121544    7% /home&lt;BR /&gt;/dev/vg00/lvol5     131072    1144  121810    1% /appl&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HP-UX  B.11.23 U ia64 3734274597 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Dec 2008 10:38:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330069#M341913</guid>
      <dc:creator>Saurabh Rawat</dc:creator>
      <dc:date>2008-12-30T10:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: To extend root FS in preceding lvols</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330070#M341914</link>
      <description>suggested to take an Ignite backup of the system and then do a Ignite restore to Reinstall on the system with the desired root disk configuration.</description>
      <pubDate>Tue, 30 Dec 2008 10:47:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330070#M341914</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2008-12-30T10:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: To extend root FS in preceding lvols</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330071#M341915</link>
      <description>I dont think so!!!</description>
      <pubDate>Tue, 30 Dec 2008 10:48:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330071#M341915</guid>
      <dc:creator>Saurabh Rawat</dc:creator>
      <dc:date>2008-12-30T10:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: To extend root FS in preceding lvols</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330072#M341916</link>
      <description>sorry wriring all these to an expert.</description>
      <pubDate>Tue, 30 Dec 2008 10:49:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330072#M341916</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2008-12-30T10:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: To extend root FS in preceding lvols</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330073#M341917</link>
      <description>no id didnt mean that ... I wanted to say I cant ignite for this system now...</description>
      <pubDate>Tue, 30 Dec 2008 10:51:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330073#M341917</guid>
      <dc:creator>Saurabh Rawat</dc:creator>
      <dc:date>2008-12-30T10:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: To extend root FS in preceding lvols</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330074#M341918</link>
      <description>Hi Saurabh,&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;Hope this helps..</description>
      <pubDate>Tue, 30 Dec 2008 10:52:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330074#M341918</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2008-12-30T10:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: To extend root FS in preceding lvols</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330075#M341919</link>
      <description>r u using lvol2 and lvol3 both as swap?&lt;BR /&gt;if yes what are the sizes of them?</description>
      <pubDate>Tue, 30 Dec 2008 10:55:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330075#M341919</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2008-12-30T10:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: To extend root FS in preceding lvols</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330076#M341920</link>
      <description>Could you post the output of "lvdisplay /dev/vg00/lvol3",please.  I don't see how you could have extended it if it was defined as strict/contiguous as it should have been.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 30 Dec 2008 11:05:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330076#M341920</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2008-12-30T11:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: To extend root FS in preceding lvols</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330077#M341921</link>
      <description>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.</description>
      <pubDate>Tue, 30 Dec 2008 11:53:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330077#M341921</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2008-12-30T11:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: To extend root FS in preceding lvols</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330078#M341922</link>
      <description>You can dynamically extend root (/) with the next logical volume (lvol4,5) - &lt;A href="http://www.symmetricwebsites.com/articles/HP-UX/hpuxDynamicallyExtendSlashAndOrStand.php" target="_blank"&gt;http://www.symmetricwebsites.com/articles/HP-UX/hpuxDynamicallyExtendSlashAndOrStand.php&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;See the requirements - MirrorDisk, OnlineJFS ...&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Tue, 30 Dec 2008 13:37:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330078#M341922</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-12-30T13:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: To extend root FS in preceding lvols</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330079#M341923</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</description>
      <pubDate>Tue, 30 Dec 2008 14:52:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-extend-root-fs-in-preceding-lvols/m-p/4330079#M341923</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2008-12-30T14:52:19Z</dc:date>
    </item>
  </channel>
</rss>

