<?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 do extend /var in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553523#M917852</link>
    <description>Hi,&lt;BR /&gt;bring the system to single user mode repeat your 3 and 4 steps and instead of rebooting you can do #init 3 .</description>
    <pubDate>Tue, 17 Jul 2001 05:05:45 GMT</pubDate>
    <dc:creator>Ravi_8</dc:creator>
    <dc:date>2001-07-17T05:05:45Z</dc:date>
    <item>
      <title>how do extend /var</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553519#M917848</link>
      <description>Okay, I need to prepare some space on var if my lovely workstation decides to have another crash. I've had a look around to see what I should do and I would like to confirm what I think is correct.&lt;BR /&gt;&lt;BR /&gt;1 Using sam doesn't work since that is on var and can't unmount var so...&lt;BR /&gt;&lt;BR /&gt;2 shutdown 0 - go into single user mode&lt;BR /&gt;&lt;BR /&gt;3 lvextend -L 1024 /dev/vg00/lvol6&lt;BR /&gt;&lt;BR /&gt;I've checked and var is already unmounted, and I would like a 1Gb partition.&lt;BR /&gt;&lt;BR /&gt;4 extendfs -F hfs /dev/vg00/rlvol6&lt;BR /&gt;&lt;BR /&gt;5 reboot&lt;BR /&gt;&lt;BR /&gt;This will hopefully restart the workstation and automatically remount all volumes.&lt;BR /&gt;&lt;BR /&gt;So, how does it look? Thanks for helping me in the idiots guide to extending partitions without using sam. Hopefully other people will find this useful too :-)&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;PS. No, I don't have any other utility that can help me with this and don't want to try with one - not on the day before my summer holiday...</description>
      <pubDate>Tue, 17 Jul 2001 04:34:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553519#M917848</guid>
      <dc:creator>Pete Mattison</dc:creator>
      <dc:date>2001-07-17T04:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: how do extend /var</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553520#M917849</link>
      <description>if you got problem cannot found lvextend command cause /usr was umount with shutdown 0 &lt;BR /&gt; please fsck and mount /usr&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Jul 2001 04:42:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553520#M917849</guid>
      <dc:creator>Printaporn_1</dc:creator>
      <dc:date>2001-07-17T04:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: how do extend /var</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553521#M917850</link>
      <description>Whoops, sorry I forgot to say that after going in to single user mode I did bdf to check which volumes were mounted and the volumes / and /usr are still mounted so I can do the commands.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 17 Jul 2001 04:47:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553521#M917850</guid>
      <dc:creator>Pete Mattison</dc:creator>
      <dc:date>2001-07-17T04:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: how do extend /var</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553522#M917851</link>
      <description>&lt;BR /&gt;  Hi&lt;BR /&gt;&lt;BR /&gt;   It is very simple. Follow these steps&lt;BR /&gt;&lt;BR /&gt;Anyway U will have to reboot the system  for extending the var file system.&lt;BR /&gt;&lt;BR /&gt;  While booting press and hold the Esc key, Then it will come to main menu, Ther U type like this&lt;BR /&gt;&lt;BR /&gt;Main Menu&amp;gt;boot pri&lt;BR /&gt;  select interact with ISL&lt;BR /&gt;&lt;BR /&gt;ISL&amp;gt;hpux -lm  &lt;BR /&gt;&lt;BR /&gt;  Now U will come to lvm maintanence mode.&lt;BR /&gt;Now Issue these following commands&lt;BR /&gt;&lt;BR /&gt;#vgchange -a y vg00&lt;BR /&gt;#lvextend -L "New size" /dev/vg00/lvol6&lt;BR /&gt;#extendfs /dev/vg00/rlvol6&lt;BR /&gt;#mount -a&lt;BR /&gt;#bdf&lt;BR /&gt;&lt;BR /&gt;   Verify ur /var size...Now reboot the system and come to normal mode.&lt;BR /&gt;&lt;BR /&gt;  Now ur job is over..right?&lt;BR /&gt;&lt;BR /&gt;Shahul</description>
      <pubDate>Tue, 17 Jul 2001 04:52:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553522#M917851</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2001-07-17T04:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: how do extend /var</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553523#M917852</link>
      <description>Hi,&lt;BR /&gt;bring the system to single user mode repeat your 3 and 4 steps and instead of rebooting you can do #init 3 .</description>
      <pubDate>Tue, 17 Jul 2001 05:05:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553523#M917852</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2001-07-17T05:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: how do extend /var</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553524#M917853</link>
      <description>Hi Pete,&lt;BR /&gt;&lt;BR /&gt;Basically Shahul is on the right track,&lt;BR /&gt;however you don't need to reboot the &lt;BR /&gt;system after completing the task. From&lt;BR /&gt;the ISL&amp;gt; prompt issue this.&lt;BR /&gt;&lt;BR /&gt;ISL&amp;gt;hpux -is&lt;BR /&gt;&lt;BR /&gt;This will boot the system into single&lt;BR /&gt;use mode. Once the portion of the boot &lt;BR /&gt;has completed you can do the additional &lt;BR /&gt;size parts.&lt;BR /&gt;&lt;BR /&gt;check to see /etc/fstab file to make sure&lt;BR /&gt;lvol6 is /var then&lt;BR /&gt;# lvextend -L "size that you want" /dev/vg00/lvol6 &lt;BR /&gt;# extendfs /dev/vg00/rlvol6 &lt;BR /&gt;# mount /dev/vg00/lvol6 /var&lt;BR /&gt;# bdf&lt;BR /&gt;# mount -a&lt;BR /&gt;&lt;BR /&gt;Control D will bring your system up to&lt;BR /&gt;multi-user.&lt;BR /&gt;&lt;BR /&gt;Good luck and Happy Holidays&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Jul 2001 05:12:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553524#M917853</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-07-17T05:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: how do extend /var</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553525#M917854</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;One think I forgot to mention as to why it&lt;BR /&gt;is better to reboot into single-user mode&lt;BR /&gt;than trying to do a shutdown is that &lt;BR /&gt;sometimes there are processes associated&lt;BR /&gt;with /var that will still run.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Michael</description>
      <pubDate>Tue, 17 Jul 2001 05:37:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553525#M917854</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-07-17T05:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: how do extend /var</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553526#M917855</link>
      <description>The workstation is busy running. Why can't or shouldn't I just use shutdown 0 to get into the single user mode - isn't this easier than rebooting and having to hold the escape key etc...?&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 17 Jul 2001 05:47:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553526#M917855</guid>
      <dc:creator>Pete Mattison</dc:creator>
      <dc:date>2001-07-17T05:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: how do extend /var</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553527#M917856</link>
      <description>Pete,&lt;BR /&gt;&lt;BR /&gt;You can try it of course, but as I mentioned&lt;BR /&gt;in my last answer some processes that are &lt;BR /&gt;associated with /var may not terminate and&lt;BR /&gt;therefore you won't be able to unmount the&lt;BR /&gt;filesystem. It sometimes depends on how your&lt;BR /&gt;server or workstation is set up. In general&lt;BR /&gt;terms what has been posted previously is &lt;BR /&gt;usually what has to happen. You won't do any&lt;BR /&gt;damage by trying it.&lt;BR /&gt;&lt;BR /&gt;Michael</description>
      <pubDate>Tue, 17 Jul 2001 05:54:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553527#M917856</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-07-17T05:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: how do extend /var</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553528#M917857</link>
      <description>Thanks guys for the help. A colleague of mine has persuaded me to actually carry out your instructions on the day AFTER the hols and not the day before :-)&lt;BR /&gt;&lt;BR /&gt;The help wasn't in vain, I'm confident everything will work but for safety's sake...&lt;BR /&gt;&lt;BR /&gt;And, my congratulations to Michael on his new hat - funnily enough the first part of my holiday is to go to england and where this hat for real! Yeap graduation time for my M.Phil. in neural networks.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 17 Jul 2001 10:14:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-extend-var/m-p/2553528#M917857</guid>
      <dc:creator>Pete Mattison</dc:creator>
      <dc:date>2001-07-17T10:14:53Z</dc:date>
    </item>
  </channel>
</rss>

