<?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: lvextend in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576397#M647252</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Yes, it is indeed possible to 'lvextend' these filesystems.  In the absence of Online JFS, the easiest way is to boot-up into single user mode and use /sbin/lvextend (which is intended for this situation).&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Thu, 06 Sep 2001 14:34:46 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2001-09-06T14:34:46Z</dc:date>
    <item>
      <title>lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576394#M647249</link>
      <description>I want to extend File System /tmp or /usr or / var or / ( created with HP-UX 10.20 in LVM )&lt;BR /&gt;For instance /tmp is under /dev/vg00/lvol1)&lt;BR /&gt;These FS are always mounted &lt;BR /&gt;I try under ISL but the same problem.&lt;BR /&gt;I try with a CD boot but no command vgextend to do .&lt;BR /&gt;&lt;BR /&gt;Is it possible to increase these FS  ! !&lt;BR /&gt;&lt;BR /&gt;Thanks . .</description>
      <pubDate>Thu, 06 Sep 2001 14:25:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576394#M647249</guid>
      <dc:creator>bossuyt_2</dc:creator>
      <dc:date>2001-09-06T14:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576395#M647250</link>
      <description>for /tmp you need to be sure that no one or no applications are accessing this file system before extending it, but can b done in multi-user mode.  The others have to be done from single-user mode.&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Thu, 06 Sep 2001 14:29:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576395#M647250</guid>
      <dc:creator>Christopher McCray_1</dc:creator>
      <dc:date>2001-09-06T14:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576396#M647251</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you have online-JFS you could do it multi-user mode relatively easy.&lt;BR /&gt;&lt;BR /&gt;Even otherwise, since you can shutdown the machine the easiest way would be to take it to single user mode.&lt;BR /&gt;&lt;BR /&gt;At the ISL prompt, boot into single user mode&lt;BR /&gt;ISL&amp;gt;hpux -is&lt;BR /&gt;&lt;BR /&gt;Once you are in single user mode,&lt;BR /&gt;lvextend -L &lt;NEW size="" in="" mb=""&gt; /dev/vg00/lvol_for_var&lt;BR /&gt;extendfs -F vxfs /dev/vg00/rlvol_for_var&lt;BR /&gt;&lt;BR /&gt;Do the same for /tmp and /usr as well.&lt;BR /&gt;You cannot increase the size of /. The easiest way would be to create a make_recovery tape and then reinstall the OS but interrupt the install and redefine your file system sizes.&lt;BR /&gt;&lt;BR /&gt;-HTH&lt;BR /&gt;Ramesh&lt;/NEW&gt;</description>
      <pubDate>Thu, 06 Sep 2001 14:33:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576396#M647251</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-09-06T14:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576397#M647252</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Yes, it is indeed possible to 'lvextend' these filesystems.  In the absence of Online JFS, the easiest way is to boot-up into single user mode and use /sbin/lvextend (which is intended for this situation).&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 06 Sep 2001 14:34:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576397#M647252</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-09-06T14:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576398#M647253</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This is if you don't have online JFS as already pointed out to you earliar.&lt;BR /&gt;&lt;BR /&gt;Like Ramesh have already told, you interrupt the boot preocess, do "bo pri" to boot thru the primary path, Select "Y" to interact with IPL and boot hpux into single user mode at the IPL prompt like Ramesh said.&lt;BR /&gt;&lt;BR /&gt;IPL&amp;gt;hpux -is&lt;BR /&gt;&lt;BR /&gt;This will boot the system in single user mode. use lvextend and extendfs for the filesystems you want to extend but do note that the executable is in /usr/sbin which might not be available to you in single user mode. Only "/" and "/stand" gets mounted, so you may have to mount /usr to extend the filesystems. Mount the /usr filesystem using the lvol for /usr&lt;BR /&gt;mount -F vxfs /dev/vg00/lvol_for_usr /usr&lt;BR /&gt;&lt;BR /&gt;After that you can do lvextend and extendfs for the filesystem like /tmp, /var..etc.&lt;BR /&gt;&lt;BR /&gt;To increase the size of "/" filesystem, take a ignite backup using make_recovery and with the interactive option, reinstall the OS and resize the "/" filesystem. No other choice over here.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Sep 2001 16:45:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576398#M647253</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-09-06T16:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576399#M647254</link>
      <description />
      <pubDate>Thu, 06 Sep 2001 23:36:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576399#M647254</guid>
      <dc:creator>Lee Tae-kyung</dc:creator>
      <dc:date>2001-09-06T23:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576400#M647255</link>
      <description>Hi, Bossuyt&lt;BR /&gt;don't try to increase / filesystem, others can be increased, getinto single user mode as told by ramesh upadyayula when you get the #prompt &lt;BR /&gt;#mount -a&lt;BR /&gt;note down the corresponding /dev/vgxx/lvolx for tmp/usr/var.&lt;BR /&gt;#umount tmp/usr/var&lt;BR /&gt;#lvextend -L aaa /dev/vgxx/lvolx&lt;BR /&gt;#extend -F vxfs/hfs /dev/vgxx/rlvolx&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#mount /dev/vgxx/lvolx /tmp/usr/var&lt;BR /&gt;repeat for the filesystems you wanted to increase.</description>
      <pubDate>Fri, 07 Sep 2001 11:52:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576400#M647255</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2001-09-07T11:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576401#M647256</link>
      <description>Just a followup on Ravi's posting...&lt;BR /&gt;&lt;BR /&gt;Instead of mounting everything and umount it, you can just look through /etc/fstab.  Unfortunately, you'll have resort to cat because vi, more and grep are in /usr which is not mounted in single user mode.  &lt;BR /&gt;Once you've determined the LVs for /tmp, /usr and /var, extend the LV using the lvextend command:&lt;BR /&gt;&lt;BR /&gt;lvextend -L nnn /dev/vgxx/lvxx&lt;BR /&gt;&lt;BR /&gt;where nnn is the new size, vgxx and lvxx are the VG and LV for that is being extended.&lt;BR /&gt;&lt;BR /&gt;Next, extend the filesystem using the extendfs command:&lt;BR /&gt;&lt;BR /&gt;extendfs -F vxfs /dev/vgxx/lvxx&lt;BR /&gt;&lt;BR /&gt;(if the filesystem is hfs, then change the vxfs to hfs in the command above).&lt;BR /&gt;&lt;BR /&gt;Mount the filesystems.   Make sure the filesystems have been increases as you instructed and then boot into multiuser mode using the init command:&lt;BR /&gt;&lt;BR /&gt;init 3&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Fri, 07 Sep 2001 12:04:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576401#M647256</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-09-07T12:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576402#M647257</link>
      <description>Hi,santhosh&lt;BR /&gt;why i do mount -a is, after mounting all if we use bdf we can get an idea by how much MB increase will suffice. where by cat fstab you don't get it.</description>
      <pubDate>Fri, 07 Sep 2001 13:00:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576402#M647257</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2001-09-07T13:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576403#M647258</link>
      <description>Hello Bossuyt,&lt;BR /&gt;&lt;BR /&gt;the "pvmove" actually mirrors the lvol to be moved to the&lt;BR /&gt;other disk and reduces it from the old one.&lt;BR /&gt;Hence, if you can add another disk to your volume group&lt;BR /&gt;vg00 (temporarily, at least) or if you already have an&lt;BR /&gt;empty one in there, you could try to get by without&lt;BR /&gt;re-installation (i.e. make_tape_recovery) by pvmoving&lt;BR /&gt;the lvols "behind" lvol3 (that's your root-fs, isn't it?)&lt;BR /&gt;to the other disk. Then you have free space following&lt;BR /&gt;the root-fs's lvol. Now you boot from the Core OS/Install&lt;BR /&gt;CDROM, get a shell, and try the "extendfs" for that lvol&lt;BR /&gt;on the boot disk.&lt;BR /&gt;Reboot single-user, and "pvmove" the other lvols back&lt;BR /&gt;to your boot disk, hence allocating them "after" your&lt;BR /&gt;now extended root-fs-lvol.&lt;BR /&gt;&lt;BR /&gt;THIS IS DANGEROUS, so build a "make_tape_recovery"&lt;BR /&gt;tape before!!!&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;   Wodisch</description>
      <pubDate>Fri, 07 Sep 2001 15:57:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/2576403#M647258</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2001-09-07T15:57:34Z</dc:date>
    </item>
  </channel>
</rss>

