<?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: increasing / (root) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-root/m-p/3320848#M513844</link>
    <description>Actually, I would rethink your plan to increase /. Unless your / lvol is only 50-75 megs, you have plenty of space. A typical 11.0 root filesystem needs about 40-50 megs. If you need a lot more space, then you (or bad applications) have stored things in the wrong place. There are only 3 directories in / that are needed by HP-UX:&lt;BR /&gt; &lt;BR /&gt;/sbin&lt;BR /&gt;/etc&lt;BR /&gt;/dev&lt;BR /&gt; &lt;BR /&gt;That's it. Here are some typical sizes:&lt;BR /&gt; &lt;BR /&gt;du -ks /sbin /etc /dev&lt;BR /&gt;23210   /sbin&lt;BR /&gt;8605    /etc&lt;BR /&gt;18      /dev&lt;BR /&gt; &lt;BR /&gt;Is /dev enormous? Someone stored a file there--never store anything in /dev. The only things in /dev are devicefiles and directories. Find the culprits like this:&lt;BR /&gt; &lt;BR /&gt;find /dev -type f&lt;BR /&gt; &lt;BR /&gt;/etc might be very large so analyze where the space is used:&lt;BR /&gt; &lt;BR /&gt;du -kx /etc | sort -rn | head -20&lt;BR /&gt; &lt;BR /&gt;Look inside the biggest directories to see if something does not belong there. Same with /sbin. Nothing goes in /sbin except commands and start/stop scripts.&lt;BR /&gt; &lt;BR /&gt;Is your / directory full of files? Worse: is / the $HOME for root? Find all the files and move them. A good location is /root. Now that assumes that someone with root privileges has not stored some important file in /. In a production machine, moving unknown files can result in annoying problems so be aware of the files you are moving. /root will still be part of / but at least the root 'droppings' will be in a single location and the root users will be less likely blow everything away accidently because root's HOME is /. Once all the files are moved (don't forget the . (dot) files), use vipw to edit /etc/passwd and change root's HOME to /root.&lt;BR /&gt; &lt;BR /&gt;What you have left should be some 'lost' directories that occupy /. Applications always go into /opt or /usr/local and /usr/contrib, and data files should never be stored in /. You can move these files to a more appropriate place and create a symbolic link (ln -s) in case the applications are too dumb to be configurable.&lt;BR /&gt; &lt;BR /&gt;Massively large databse systems with terabytes of storage need just 40-50 megs in /. There is no simple way to extend /. You must either take the system offline and perform some complex single user mode commands or create an Ignite/UX tape, save your current VG00 and then restore it (essentially a re-install). If you have mirroring, you will still need to do some additional configs. If you've never dome this before (and the system is critical), I would cleanup / rather than trying to extend it.</description>
    <pubDate>Thu, 01 Jul 2004 15:22:16 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2004-07-01T15:22:16Z</dc:date>
    <item>
      <title>increasing / (root)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-root/m-p/3320842#M513838</link>
      <description>I want to try and increase the size of /(root) without totally reinstalling my system. The system is a K580 test system running 11.0 and can be blown up if I mess things up. Can someone point me to some manuals or give me some basics pointers. I read something about using ignite-ux to make_recovery and doing a complete reinstall using recovery tape. does this work? &lt;BR /&gt;thanks!</description>
      <pubDate>Thu, 01 Jul 2004 12:51:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-root/m-p/3320842#M513838</guid>
      <dc:creator>daniel smith_3</dc:creator>
      <dc:date>2004-07-01T12:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: increasing / (root)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-root/m-p/3320843#M513839</link>
      <description>Daniel,&lt;BR /&gt;&lt;BR /&gt;The issue is that /, /stand and swap have to be contiguous.  The only way to expand is to free up some space immediately behind those three areas or to decrease one of them.&lt;BR /&gt;&lt;BR /&gt;The much easier approach is to make an Ignite backup using make_tape_recovery and use that to re-build your system, expanding the logical volumes you desire in the process.  Ignite is available here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.software.hp.com/products/IUX/index.html" target="_blank"&gt;http://www.software.hp.com/products/IUX/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 01 Jul 2004 12:58:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-root/m-p/3320843#M513839</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-07-01T12:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: increasing / (root)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-root/m-p/3320844#M513840</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Yes. It works. The command is make_tape_recoery. You can download ignite/ux from this location&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.software.hp.com/products/IUX/download.html" target="_blank"&gt;http://www.software.hp.com/products/IUX/download.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;All you have to do is to create a make_tape_recovery tape and restore the system. After booting from the tape, it will bring up install screen and you can interact with it and change the filesystems you want. &lt;BR /&gt;&lt;BR /&gt;I suggest you this procedure.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1. If your boot disks are mirrored, reduce the mirrors on the alternate disk and take it out of vg00.&lt;BR /&gt;&lt;BR /&gt;2. Create the tape using the following command&lt;BR /&gt;&lt;BR /&gt;make_tape_recovery -v -x inc_entire=vg00 -i -a /dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3. Put the make_tape_recovery tape in and boot the system through it. It should bring up install window. Change the filesystems sizes. Select the the path of the alternate disk in the window as the boot disk. This way if something happens, you can alwasy boot from the other disk as it is untouched.&lt;BR /&gt;&lt;BR /&gt;The otherway, you could try booting the system in LVM maintenance mode, move the LV next to root lv to the mirror disk after reducing it's mirror, extend the root filesystem and move the LV back. But using make_tape_recovery process is easy to use and is safe.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 01 Jul 2004 13:01:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-root/m-p/3320844#M513840</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-07-01T13:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: increasing / (root)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-root/m-p/3320845#M513841</link>
      <description>As usual, Shridar's instructions are excellent.&lt;BR /&gt;&lt;BR /&gt;I would only add that if you wish to use an existing vg00 tape or a tape not made with the -i option, you will see, at the console a prompt just after the kernel loads to hit a key to go into interactive mode.&lt;BR /&gt;&lt;BR /&gt;That works quite well.&lt;BR /&gt;&lt;BR /&gt;If this happens to be a production server, I recommend a trial run or two on a sandbox. There are some tricks if you are mirrored or spreading a volume across the two root disks.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 01 Jul 2004 13:07:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-root/m-p/3320845#M513841</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-07-01T13:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: increasing / (root)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-root/m-p/3320846#M513842</link>
      <description>thanks all for you replies! I will let you know how it turns out!</description>
      <pubDate>Thu, 01 Jul 2004 14:12:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-root/m-p/3320846#M513842</guid>
      <dc:creator>daniel smith_3</dc:creator>
      <dc:date>2004-07-01T14:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: increasing / (root)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-root/m-p/3320847#M513843</link>
      <description>Hi Daneil,&lt;BR /&gt;What i would do:&lt;BR /&gt;&lt;BR /&gt;1. Install Ignite UX &lt;BR /&gt;2. Use make_tape recovery &lt;BR /&gt;# make_recovery -ACv -d &lt;TAPE device="" file=""&gt;&lt;BR /&gt;Creates backup of VG00 on tape.&lt;BR /&gt;3. Reboot the system with this recovery tape.&lt;BR /&gt;4. Alter File System size as required and continue with restore.&lt;BR /&gt;Simple as that.&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;/TAPE&gt;</description>
      <pubDate>Thu, 01 Jul 2004 14:46:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-root/m-p/3320847#M513843</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-07-01T14:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: increasing / (root)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-root/m-p/3320848#M513844</link>
      <description>Actually, I would rethink your plan to increase /. Unless your / lvol is only 50-75 megs, you have plenty of space. A typical 11.0 root filesystem needs about 40-50 megs. If you need a lot more space, then you (or bad applications) have stored things in the wrong place. There are only 3 directories in / that are needed by HP-UX:&lt;BR /&gt; &lt;BR /&gt;/sbin&lt;BR /&gt;/etc&lt;BR /&gt;/dev&lt;BR /&gt; &lt;BR /&gt;That's it. Here are some typical sizes:&lt;BR /&gt; &lt;BR /&gt;du -ks /sbin /etc /dev&lt;BR /&gt;23210   /sbin&lt;BR /&gt;8605    /etc&lt;BR /&gt;18      /dev&lt;BR /&gt; &lt;BR /&gt;Is /dev enormous? Someone stored a file there--never store anything in /dev. The only things in /dev are devicefiles and directories. Find the culprits like this:&lt;BR /&gt; &lt;BR /&gt;find /dev -type f&lt;BR /&gt; &lt;BR /&gt;/etc might be very large so analyze where the space is used:&lt;BR /&gt; &lt;BR /&gt;du -kx /etc | sort -rn | head -20&lt;BR /&gt; &lt;BR /&gt;Look inside the biggest directories to see if something does not belong there. Same with /sbin. Nothing goes in /sbin except commands and start/stop scripts.&lt;BR /&gt; &lt;BR /&gt;Is your / directory full of files? Worse: is / the $HOME for root? Find all the files and move them. A good location is /root. Now that assumes that someone with root privileges has not stored some important file in /. In a production machine, moving unknown files can result in annoying problems so be aware of the files you are moving. /root will still be part of / but at least the root 'droppings' will be in a single location and the root users will be less likely blow everything away accidently because root's HOME is /. Once all the files are moved (don't forget the . (dot) files), use vipw to edit /etc/passwd and change root's HOME to /root.&lt;BR /&gt; &lt;BR /&gt;What you have left should be some 'lost' directories that occupy /. Applications always go into /opt or /usr/local and /usr/contrib, and data files should never be stored in /. You can move these files to a more appropriate place and create a symbolic link (ln -s) in case the applications are too dumb to be configurable.&lt;BR /&gt; &lt;BR /&gt;Massively large databse systems with terabytes of storage need just 40-50 megs in /. There is no simple way to extend /. You must either take the system offline and perform some complex single user mode commands or create an Ignite/UX tape, save your current VG00 and then restore it (essentially a re-install). If you have mirroring, you will still need to do some additional configs. If you've never dome this before (and the system is critical), I would cleanup / rather than trying to extend it.</description>
      <pubDate>Thu, 01 Jul 2004 15:22:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-root/m-p/3320848#M513844</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-07-01T15:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: increasing / (root)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-root/m-p/3320849#M513845</link>
      <description>Hi,&lt;BR /&gt;Dear Daniel smith,&lt;BR /&gt;&lt;BR /&gt;If you go the answer please assign points.&lt;BR /&gt;&lt;BR /&gt;You have assigned approx 50 % points to &lt;BR /&gt;all your questions.&lt;BR /&gt;This is from your profile.&lt;BR /&gt;[ I have assigned points to   34  of   66  responses to my questions. ]&lt;BR /&gt;&lt;BR /&gt;P.S.&lt;BR /&gt;No points here please.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Jul 2004 06:23:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-root/m-p/3320849#M513845</guid>
      <dc:creator>Shaikh Imran</dc:creator>
      <dc:date>2004-07-02T06:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: increasing / (root)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-root/m-p/3320850#M513846</link>
      <description>Best to use ignite to do this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B2355-90837/B2355-90837.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B2355-90837/B2355-90837.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Basically, create a make_tape_recovery, then boot that tape - then interactivly, change the size of the / partition.&lt;BR /&gt;&lt;BR /&gt;See the section "System Recovery " in above doc.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Fri, 02 Jul 2004 07:49:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-root/m-p/3320850#M513846</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-07-02T07:49:08Z</dc:date>
    </item>
  </channel>
</rss>

