<?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: How to increase root filesystem size. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757207#M258744</link>
    <description>&lt;P&gt;I got in a bind once with a default 200 meg root filesystem after patching. You can get about 60 megs back from /etc/vx if you aren't using veritas volume manager:&lt;BR /&gt;&lt;BR /&gt;&lt;STRIKE&gt;&lt;A&gt;http://docs.hp.com/en/B7961-90023/ch01s13.html?btnPrev=%AB%A0prev&lt;/A&gt;&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;[&lt;STRONG&gt;&lt;U&gt;Moderator edit&lt;/U&gt;&lt;/STRONG&gt;: Removed the broken link. Please refer to&amp;nbsp;&lt;A href="https://support.hpe.com/" target="_blank"&gt;https://support.hpe.com/&lt;/A&gt;]&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Feb 2024 07:05:10 GMT</pubDate>
    <dc:creator>Brian A. Scurlock_1</dc:creator>
    <dc:date>2024-02-12T07:05:10Z</dc:date>
    <item>
      <title>How to increase root filesystem size.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757197#M258734</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I have installed HP-UX on a machine. But, by mistake i made root (/) very small about 500 MB.&lt;BR /&gt;&lt;BR /&gt;I have about 9GB unallocated. &lt;BR /&gt;&lt;BR /&gt;Is there any way to increase the size of the root filesystem.&lt;BR /&gt;&lt;BR /&gt;I need to unmount the filesystem which we want to increase, but I can not unmount root.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So pl. can any one help me ?&lt;BR /&gt;I do not want to reinstall OS again, Is there any way around?&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; regards.&lt;BR /&gt;Prasad</description>
      <pubDate>Thu, 23 Mar 2006 02:15:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757197#M258734</guid>
      <dc:creator>Prasad Joshi</dc:creator>
      <dc:date>2006-03-23T02:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase root filesystem size.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757198#M258735</link>
      <description>500 MB should be enough. root is static file system and should not grow much. If you want to increase it, you can take ignite backup and start recovering the system. There is also a unsupported method. In this method, the next lvol (after root) is moved and then root is extended.</description>
      <pubDate>Thu, 23 Mar 2006 02:24:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757198#M258735</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2006-03-23T02:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase root filesystem size.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757199#M258736</link>
      <description>Hi Prasad, &lt;BR /&gt;&lt;BR /&gt;To increase root (/), only way around is to Re-ignite the system. You can't extend it by anyother way. &lt;BR /&gt;&lt;BR /&gt;But, 500MB will be sufficient unless or untill you dont start cluttering /. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 23 Mar 2006 02:55:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757199#M258736</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-03-23T02:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase root filesystem size.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757200#M258737</link>
      <description>For extending / root file system you have to make backup and recover with make_net_backup and recover operation. &lt;BR /&gt;&lt;BR /&gt;Or else allocated that space to new lovl. Create file system and use that for operation. &lt;BR /&gt;&lt;BR /&gt;Or extend some other file system like /root or other to occupy that space.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Mar 2006 02:57:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757200#M258737</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-03-23T02:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase root filesystem size.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757201#M258738</link>
      <description>&lt;P&gt;Hi Prasad, &lt;BR /&gt;&lt;BR /&gt;This topic has been discussed in the past. You can take a look at these threads for more information, &lt;BR /&gt;&lt;BR /&gt;&lt;STRIKE&gt;&lt;A&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=865252&lt;/A&gt;&lt;/STRIKE&gt;&lt;BR /&gt;&lt;STRIKE&gt;&lt;A&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=97821&lt;/A&gt;&lt;/STRIKE&gt;&lt;BR /&gt;&lt;BR /&gt;More generic, &lt;BR /&gt;&lt;BR /&gt;&lt;STRIKE&gt;&lt;A&gt;http://www1.itrc.hp.com/service/james/search.do?todo=search&amp;amp;searchtext=extend+root+file+system&amp;amp;from=forums&amp;amp;origin=0&amp;amp;submit.x=0&amp;amp;wpa=forums1.itrc.hp.com%3A80&amp;amp;submit.y=0&amp;amp;searchcategory=ALL&amp;amp;hpl=1&amp;amp;searchcriteria=allwords&amp;amp;rn=25&amp;amp;source=7000&amp;amp;chkServStor=on&amp;amp;presort=rank&amp;amp;esc=us.support.itrc.hp.com&amp;amp;admit=-682735245+1143100669037+28353475&lt;/A&gt;&lt;/STRIKE&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun&lt;/P&gt;
&lt;P&gt;[&lt;STRONG&gt;&lt;U&gt;Moderator edit&lt;/U&gt;&lt;/STRONG&gt;: The above links are no longer valid.]&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 07:01:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757201#M258738</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2024-02-12T07:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase root filesystem size.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757202#M258739</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I tried this.&lt;BR /&gt;&lt;BR /&gt;bash-2.02# vgdisplay -v vg00&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c2t0d0&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    4340&lt;BR /&gt;   Free PE                     1135&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;bash-2.02# ioscan -fnC disk&lt;BR /&gt;disk      0  0/0/2/0.0.0.0   sdisk      CLAIMED     DEVICE       TEAC    DV-28E-C&lt;BR /&gt;                            /dev/dsk/c0t0d0   /dev/rdsk/c0t0d0&lt;BR /&gt;disk     36  0/1/1/0.0.0     sdisk      CLAIMED     DEVICE       HP 36.4GMAU3036NC&lt;BR /&gt;                            /dev/dsk/c2t0d0   /dev/rdsk/c2t0d0&lt;BR /&gt;disk     40  0/1/1/0.1.0     sdisk      CLAIMED     DEVICE       HP 36.4GMAU3036NC&lt;BR /&gt;&lt;BR /&gt;I have created VG on &lt;BR /&gt;/dev/dsk/c2t0d0&lt;BR /&gt;&lt;BR /&gt;I do have on more disk /dev/dsk/c2t0d0  &lt;BR /&gt;&lt;BR /&gt;Now, can I do this&lt;BR /&gt;&lt;BR /&gt;1. Mirror c2t0d0 to c2t0d0&lt;BR /&gt;&lt;BR /&gt;2. while mirroring increase root volume&lt;BR /&gt;&lt;BR /&gt;3. make c2t0d0 as my new primary&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pl send replay, i need help. &lt;BR /&gt;Thanks a lot.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; regards.&lt;BR /&gt;Prasad.</description>
      <pubDate>Thu, 23 Mar 2006 04:47:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757202#M258739</guid>
      <dc:creator>Prasad Joshi</dc:creator>
      <dc:date>2006-03-23T04:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase root filesystem size.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757203#M258740</link>
      <description>&lt;P&gt;Prasad, &lt;BR /&gt;&lt;BR /&gt;Read Bhavin's reply in this thread, &lt;BR /&gt;&lt;BR /&gt;&lt;STRIKE&gt;&lt;A&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=785327&lt;/A&gt;&lt;/STRIKE&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;[&lt;STRONG&gt;&lt;U&gt;Moderator edit&lt;/U&gt;&lt;/STRONG&gt;: The above link is no longer valid.]&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 07:02:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757203#M258740</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2024-02-12T07:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase root filesystem size.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757204#M258741</link>
      <description>Dear prasad,&lt;BR /&gt;hp is recommending only one option for this purpose ,take the ignite backup using make_tape_recovery command and make the boot tape ,reboot the machine and boot it from this recovery tape while restoring please go through advanced option you can modify any file system under volume group vg00 and restore the entire os ,every thing will fine &lt;BR /&gt;regards&lt;BR /&gt;BAIJU</description>
      <pubDate>Thu, 23 Mar 2006 08:59:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757204#M258741</guid>
      <dc:creator>Baiju Kumar.B_1</dc:creator>
      <dc:date>2006-03-23T08:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase root filesystem size.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757205#M258742</link>
      <description>The standard and, I think, the only HP supported method, to extend root (/) is to create a recovery tape using Ignite, and rebuild vg00 using that.  And that is the method I would recommend you use...&lt;BR /&gt;&lt;BR /&gt;However.....when you look at the way a standard vg00 volume group is laid out by HP, extending the root filesystem is not particularly difficult from a technical standpoint.&lt;BR /&gt;&lt;BR /&gt;HP-UX requires that /stand, your swap volume and root (/), all be contiguous, with /stand needing to be on the first logical volume on the disk.&lt;BR /&gt;&lt;BR /&gt;/dev/vg00/lvol1  --&amp;gt; /stand&lt;BR /&gt;/dev/vg00/lvol2  --&amp;gt; swap&lt;BR /&gt;/dev/vg00/lvol3  --&amp;gt; /&lt;BR /&gt;/dev/vg00/lvol4  --&amp;gt; /tmp&lt;BR /&gt;&lt;BR /&gt;A typical server configuration then has /tmp mounted on the 4th logical volume.  &lt;BR /&gt;&lt;BR /&gt;$pvdisplay -v /dev/dsk/c1t2d0&lt;BR /&gt;   01146 current  /dev/vg00/lvol3    00047&lt;BR /&gt;   01147 current  /dev/vg00/lvol3    00048&lt;BR /&gt;   01148 current  /dev/vg00/lvol3    00049&lt;BR /&gt;   01149 current  /dev/vg00/lvol4    00000&lt;BR /&gt;   01150 current  /dev/vg00/lvol4    00001&lt;BR /&gt;   01151 current  /dev/vg00/lvol4    00002&lt;BR /&gt;   01152 current  /dev/vg00/lvol4    00003&lt;BR /&gt;&lt;BR /&gt;There are no requirements for /tmp to be on a contiguous volume (or even needing it to exist!).  So, to extend the root logical volume, just create a new volume for /tmp (e.g. /dev/vg00/lvoltmp), and move any data from the old volume to the new one.  You are then free to remove /dev/vg00/lvol4.  Then when issuing the lvextend command for lvol3, since the free extents are allocated based on their order on disk, the newly freed extents get used up...&lt;BR /&gt;&lt;BR /&gt;$ pvdisplay -v /dev/dsk/c1t2d0&lt;BR /&gt;   01146 current  /dev/vg00/lvol3    00047&lt;BR /&gt;   01147 current  /dev/vg00/lvol3    00048&lt;BR /&gt;   01148 current  /dev/vg00/lvol3    00049&lt;BR /&gt;   01149 current  /dev/vg00/lvol3    00050&lt;BR /&gt;   01150 current  /dev/vg00/lvol3    00051&lt;BR /&gt;   01151 current  /dev/vg00/lvol3    00052&lt;BR /&gt;   01152 current  /dev/vg00/lvol3    00053&lt;BR /&gt;&lt;BR /&gt;So, the typical process would be as follows (your logical volume sizes may vary...)&lt;BR /&gt;&lt;BR /&gt;1) Backup /tmp&lt;BR /&gt;2) Un-mirror all vg00 logical volumes&lt;BR /&gt;3) Reboot server to single-user mode&lt;BR /&gt;4) lvremove /dev/vg00/lvol4&lt;BR /&gt;5) lvextend -L 300m /dev/vg00/lvol3&lt;BR /&gt;6) lvcreate -n lvol4 vg00&lt;BR /&gt;7) lvextend -L 2048m /dev/vg00/lvol4&lt;BR /&gt;8) newfs -F vxfs -o largefiles /dev/vg00/rlvol4&lt;BR /&gt;9) init 1&lt;BR /&gt;10) fsadm -F vxfs -b $((300*1024)) /&lt;BR /&gt;11) init 3&lt;BR /&gt;12) re-mirror vg00 logical volumes&lt;BR /&gt;&lt;BR /&gt;On step 10, you may need to use the extendfs command instead, if you do not have OnlineJFS.&lt;BR /&gt;&lt;BR /&gt;I would recommend working through this on a box you can "destroy" and rebuild at will, in order to familiarize yourself with all the commands involved.&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Mar 2006 10:19:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757205#M258742</guid>
      <dc:creator>James A. Donovan</dc:creator>
      <dc:date>2006-03-23T10:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase root filesystem size.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757206#M258743</link>
      <description>500Mb is far more than needed in the / volume. The reason it is so full is that somone has not stored files in the right directories. As mentioned, / is static (doesn't change size signikficantly) so 250 megs is more than adequate for the smallest to largest systems. Since trying to resize / is a big job (even using Ignite/UX) with mistakes causing total loss of the system, it is far better to fix the original problem (files in the wrong directory).&lt;BR /&gt; &lt;BR /&gt;Before starting any fixes, analyze the directories:&lt;BR /&gt; &lt;BR /&gt;du -kx / | sort -rn | head&lt;BR /&gt; &lt;BR /&gt;The 3 largest directories will be / (of course), /sbin and /etc. The units of measure are Kbytes (the -k option). Here are a series of possible problems and fixes:&lt;BR /&gt; &lt;BR /&gt;1. /dev is large. /dev should be 15k to 30k but if it is larger, there are misplaced files in the directory. Since /dev ONLY contains directories and device files, any ordinary files must be moved or removed. The most common problem is mispelling a device file for a backup program like tar:&lt;BR /&gt; &lt;BR /&gt;tar -cvf /dev/rmt/om /&lt;BR /&gt;tar -cvf /dev/rmt/0m /&lt;BR /&gt; &lt;BR /&gt;See the subtle spelling error (om vs. 0m)? The spelling error will create massively large file called /dev/rmt/om. To find all the bad files:&lt;BR /&gt; &lt;BR /&gt;find /dev -type f&lt;BR /&gt; &lt;BR /&gt;If anything is shown, it must be removed.&lt;BR /&gt;&lt;BR /&gt;2. Any directory that is more than 10-20megs&lt;BR /&gt;(10000+) that is not in /sbin or /etc is suspect. This can be caused by bad install programs or logfiles that should never be in /. Move these directories to more appropriate directories (applications = /opt, logfiles = /var/adm)&lt;BR /&gt; &lt;BR /&gt;3. If the first line in the du listing (/) is much larger than the next largest directory, then the / directory is full of junk. Find the biggest files like this:&lt;BR /&gt; &lt;BR /&gt;ll | sort -rnk5 | head&lt;BR /&gt; &lt;BR /&gt;The default location for root's home is /, a very bad default. All sysadmins will agree that always defaulting to / when root logs in is very risky. So root-droppings (tempfiles, test data, etc) will fill up the / directory. A well-managed / directory will have NO files! It will only contain directories, some of which are mountpoints. &lt;BR /&gt; &lt;BR /&gt;One of the other problems in making / bigger is that it will never be large enough unless you manage the volume. Mistakes should be corrected rather than just making more disk space.</description>
      <pubDate>Thu, 23 Mar 2006 10:37:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757206#M258743</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-03-23T10:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase root filesystem size.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757207#M258744</link>
      <description>&lt;P&gt;I got in a bind once with a default 200 meg root filesystem after patching. You can get about 60 megs back from /etc/vx if you aren't using veritas volume manager:&lt;BR /&gt;&lt;BR /&gt;&lt;STRIKE&gt;&lt;A&gt;http://docs.hp.com/en/B7961-90023/ch01s13.html?btnPrev=%AB%A0prev&lt;/A&gt;&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;[&lt;STRONG&gt;&lt;U&gt;Moderator edit&lt;/U&gt;&lt;/STRONG&gt;: Removed the broken link. Please refer to&amp;nbsp;&lt;A href="https://support.hpe.com/" target="_blank"&gt;https://support.hpe.com/&lt;/A&gt;]&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 07:05:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-root-filesystem-size/m-p/3757207#M258744</guid>
      <dc:creator>Brian A. Scurlock_1</dc:creator>
      <dc:date>2024-02-12T07:05:10Z</dc:date>
    </item>
  </channel>
</rss>

