<?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 a Volume in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903236#M633894</link>
    <description>OK, I have a PE Size of 4 and PE Free at 136 so my total MB can be 544 to extend.&lt;BR /&gt;&lt;BR /&gt;My Vol8 has 23 PE so the Vol is currently 92MB&lt;BR /&gt;&lt;BR /&gt;So to double the size I would type...&lt;BR /&gt;&lt;BR /&gt;lvextend -L 401 /dev/vg00/lvol8&lt;BR /&gt;&lt;BR /&gt;How do I check to see if I have FSADM on our server?&lt;BR /&gt;&lt;BR /&gt;I typed fsadm and received...&lt;BR /&gt;&lt;BR /&gt;fsadm: &lt;SPECIAL&gt; not specified&lt;BR /&gt;usage: fsadm [-F FStype] [-V] [-o specific_options] special&lt;BR /&gt;&lt;BR /&gt;If I do have it then I type &lt;BR /&gt;fsadm -b 1032M /opt &lt;BR /&gt;&lt;BR /&gt;How do you retrieve the last command?  What key(s) to press?  I tried the up arrow but that didn't work.  Currently I am accessing the server via Reflection, VT320&lt;/SPECIAL&gt;</description>
    <pubDate>Thu, 13 Feb 2003 18:08:22 GMT</pubDate>
    <dc:creator>Jeff Tolly</dc:creator>
    <dc:date>2003-02-13T18:08:22Z</dc:date>
    <item>
      <title>Increasing a Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903225#M633883</link>
      <description>Inherited a server running 10.20 and am a complete newbie to this so if you have a solution please have details so I can properly solve this.&lt;BR /&gt;&lt;BR /&gt;Have a Volume #8 out of 10 that is at 96% capacity and need a way to create more avaible disk space.  My LVDisplay info is below....&lt;BR /&gt;&lt;BR /&gt;LV Name                     /dev/vg00/lvol8&lt;BR /&gt;VG Name                     /dev/vg00&lt;BR /&gt;LV Permission               read/write   &lt;BR /&gt;LV Status                   available/syncd           &lt;BR /&gt;Mirror copies               0            &lt;BR /&gt;Consistency Recovery        MWC                 &lt;BR /&gt;Schedule                    parallel     &lt;BR /&gt;LV Size (Mbytes)            92              &lt;BR /&gt;Current LE                  23        &lt;BR /&gt;Allocated PE                23          &lt;BR /&gt;Stripes                     0       &lt;BR /&gt;Stripe Size (Kbytes)        0                   &lt;BR /&gt;Bad block                   on           &lt;BR /&gt;Allocation                  strict                    &lt;BR /&gt;IO Timeout (Seconds)        default &lt;BR /&gt;&lt;BR /&gt;I have plent of space on other Volumes but this one was set small and seems to grow much quicker than the others.  &lt;BR /&gt;&lt;BR /&gt;What are the steps needed to accomplish this? &lt;BR /&gt;&lt;BR /&gt;Thank you!</description>
      <pubDate>Wed, 12 Feb 2003 21:13:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903225#M633883</guid>
      <dc:creator>Jeff Tolly</dc:creator>
      <dc:date>2003-02-12T21:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing a Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903226#M633884</link>
      <description>if you have enough space in vg00 you can increase this lvol. or add disk in vg00 and then increase this lvol.&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;delete unwanted file in lvol8 and then check.</description>
      <pubDate>Wed, 12 Feb 2003 21:19:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903226#M633884</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2003-02-12T21:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing a Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903227#M633885</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;A similar question just arose.  Essentially, you will need to 'lvextend' your logical volume (if you have space on the physical volume), and then resize your filesystem.&lt;BR /&gt;&lt;BR /&gt;I suggest you use SAM if you are new to this.&lt;BR /&gt;&lt;BR /&gt;I also suggest that you first have a look at the chapter on managing disks and files in "Managing Systems and Workgroups: A Guide for HP-UX System Administrators":&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;A quick read will help you understand your options much better.  SAM can guide you through the mechanics or you can use the actual LVM commands.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 12 Feb 2003 21:26:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903227#M633885</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-02-12T21:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing a Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903228#M633886</link>
      <description>On my systems lvol8 is /var. If this is an HFS file system, you will need to reboot to extend it, because HFS require the file system to be umounted while extending and /var cannot be umounted while the system is running.&lt;BR /&gt;&lt;BR /&gt;Another way to handle the problem is to offload some of the files in /var. A good candidate is /var/adm/sw. Simply tar the files in this directory to a backup, do:&lt;BR /&gt;&lt;BR /&gt;cd /var/adm/sw&lt;BR /&gt;rm -R *&lt;BR /&gt;cd /&lt;BR /&gt;use sam to create a new logical volume and use /var/adm/sw as the mount point. Make sure the lvol is large enough to contain all the files that were in /var/adm/sw plus room to spare (needed when you install patches). finally, untar the files into /var/adm/sw.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Marty</description>
      <pubDate>Wed, 12 Feb 2003 21:27:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903228#M633886</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2003-02-12T21:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing a Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903229#M633887</link>
      <description>Which mount-point does /dev/vg00/lvol8 reside on?&lt;BR /&gt;Either use the output of 'bdf' or view the /etc/fstab file.&lt;BR /&gt;Depending on the mount-point will determin if the change can be completely done on line or a reboot maybe required.</description>
      <pubDate>Wed, 12 Feb 2003 21:31:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903229#M633887</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-02-12T21:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing a Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903230#M633888</link>
      <description>Normally vg00/lvol8 will be /var file system(see command bdf) and 92MB for /var is very less. You can have a look at the file system (even if it's not /var) and then remove unwanted files from it. Find out if you have available space on vg00 (vgdisplay -v /dev/vg00) and then determine how much you want to increase.&lt;BR /&gt;&lt;BR /&gt;If you don't have enough space available on vg00, then you can add another disk to this vg first (if you have a free disk). You can then increase lv size through SAM. If you don't have Online JFS installed, you might want to bring the server to single user mode and then unmount the file system first. Once the FS is extended, you can mount it back and bring the system to normal run level.</description>
      <pubDate>Wed, 12 Feb 2003 21:32:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903230#M633888</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-02-12T21:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing a Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903231#M633889</link>
      <description>First, you need some more information.  The first of this is the amount of free space in the vg00 volume group.  Find this out with the command "vgdisplay /dev/vg00".  You need 2 bits of information.  The results of this command on one of my systems is:&lt;BR /&gt;VG Name                     /dev/vg00&lt;BR /&gt;VG Write Access             read/write     &lt;BR /&gt;VG Status                   available                 &lt;BR /&gt;Max LV                      255    &lt;BR /&gt;Cur LV                      12     &lt;BR /&gt;Open LV                     12     &lt;BR /&gt;Max PV                      16     &lt;BR /&gt;Cur PV                      2      &lt;BR /&gt;Act PV                      2      &lt;BR /&gt;Max PE per PV               4350         &lt;BR /&gt;VGDA                        4   &lt;BR /&gt;PE Size (Mbytes)            8               &lt;BR /&gt;Total PE                    8680    &lt;BR /&gt;Alloc PE                    3751    &lt;BR /&gt;Free PE                     4929    &lt;BR /&gt;Total PVG                   0        &lt;BR /&gt;Total Spare PVs             0              &lt;BR /&gt;Total Spare PVs in use      0   &lt;BR /&gt;&lt;BR /&gt;The two bits of information are PE size, and free PE.  Multiply these two together to find out how many megabytes of space is available for assignment in the vg00 volume group.  If the number isn't enough to meet your anticipated needs, there are a few things you can do; the easiest of these is to add hard disk(s) to the volume group. &lt;BR /&gt;&lt;BR /&gt;If there is enough unallocated space, the next step is to extend the logical volume.  The best way to do this is to calculate the number of PE's you need.  In the above case, a PE is 8 megabytes.  So if I want to add 32 megabytes to the filesystem, I need 4 PE's.  &lt;BR /&gt;&lt;BR /&gt;The next information to collect is the number of PE's in the logical volume that you wish to extend.  The command "lvdisplay /dev/vg00/lvol8" will show you what you need.  Here's what mine looks like:&lt;BR /&gt;LV Name                     /dev/vg00/lvol8&lt;BR /&gt;VG Name                     /dev/vg00&lt;BR /&gt;LV Permission               read/write   &lt;BR /&gt;LV Status                   available/syncd           &lt;BR /&gt;Mirror copies               0            &lt;BR /&gt;Consistency Recovery        MWC                 &lt;BR /&gt;Schedule                    parallel     &lt;BR /&gt;LV Size (Mbytes)            1000            &lt;BR /&gt;Current LE                  125       &lt;BR /&gt;Allocated PE                125         &lt;BR /&gt;Stripes                     0       &lt;BR /&gt;Stripe Size (Kbytes)        0                   &lt;BR /&gt;Bad block                   on           &lt;BR /&gt;Allocation                  strict                    &lt;BR /&gt;IO Timeout (Seconds)        default    &lt;BR /&gt;&lt;BR /&gt;So my logical volume #8 (/dev/vg00/lvol8) is 125 PE's times 8 megabytes, or 1000 bytes large.  &lt;BR /&gt;&lt;BR /&gt;Simple math: add the number of PE's currently in the logical volume to the number you need.  In my example, I would need 129 (125 PE's +4 PE's).  &lt;BR /&gt;&lt;BR /&gt;Next, extend the filesystem.  Do this with "lvextend  -L 129 /dev/vg00/lvol8".  This adds the 32 megabytes to the 1000 that are already there.  &lt;BR /&gt;&lt;BR /&gt;The last step depends on whether or not your system has fsadm installed.  If you do, your job is about done.  The command "fsadm -b 1032M /opt" extends the mounted filesystem, and you don't have to unmount it beforehand.  You can check that the free space has increased by the specified amount with "bdf".&lt;BR /&gt;&lt;BR /&gt;If you don't have fsadm, you need to schedule a reboot.  You first have to unmount the filesystem with "umount /dev/vg00/lvol8".  Next "extendfs /dev/vg00/lvol8" will extend the filesystem to the maximum amount defined by the logical volume.  After a reboot, you should see the space that you allocated. &lt;BR /&gt;&lt;BR /&gt;Good luck, and let us know how this works out for you.&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Wed, 12 Feb 2003 21:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903231#M633889</guid>
      <dc:creator>Chris Vail</dc:creator>
      <dc:date>2003-02-12T21:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing a Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903232#M633890</link>
      <description>Hi,&lt;BR /&gt;since other replies guided you already to&lt;BR /&gt;lvextend / extendfs, I just want to remark, that it might be not a simple task to unmount /var or similar filesystems.&lt;BR /&gt;I use to call only the lvextend-command. Additionally I have this commands added in&lt;BR /&gt;/sbin/bcheckrc just before the final for-loop:&lt;BR /&gt;/sbin/umount /dev/vg00/lvol8 2&amp;gt;/dev/null&lt;BR /&gt;/sbin/extendfs /dev/vg00/rlvol8&lt;BR /&gt;&lt;BR /&gt;During the reboot, the volume gets extended without problems.&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Thu, 13 Feb 2003 10:20:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903232#M633890</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2003-02-13T10:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing a Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903233#M633891</link>
      <description>I've tried the vgdisplay /dev/vg00/lvol8 command but am getting, vgdisplay: Volume group "/dev/vg00/lvol8" does not exist in the "/etc/lvmtab" f.&lt;BR /&gt;vgdisplay: Cannot display volume group "/dev/vg00/lvol8".&lt;BR /&gt;&lt;BR /&gt;/dev/vg00&lt;BR /&gt;My PE size = 4&lt;BR /&gt;My PE free = 136&lt;BR /&gt;&lt;BR /&gt;Also, is there a way to have keyboard history like "doskey up arrow" functionality?</description>
      <pubDate>Thu, 13 Feb 2003 16:46:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903233#M633891</guid>
      <dc:creator>Jeff Tolly</dc:creator>
      <dc:date>2003-02-13T16:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing a Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903234#M633892</link>
      <description>You had the wrong command. You need to use lvdisplay and not vgdisplay. vgdisplay will list info about volume groups where as lvdisplay for logical volumes:&lt;BR /&gt;&lt;BR /&gt;# lvdisplay -v /dev/vg00/lvol8&lt;BR /&gt;&lt;BR /&gt;Also for getting command hostory, you can set the HISTFILE argument in your local profile file:&lt;BR /&gt;HISTSIZE=4096&lt;BR /&gt;HISTFILE=/.sh_history&lt;BR /&gt;&lt;BR /&gt;Or you can execute this for temp. usage:&lt;BR /&gt;# ksh -o vi</description>
      <pubDate>Thu, 13 Feb 2003 16:50:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903234#M633892</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-02-13T16:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing a Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903235#M633893</link>
      <description>Jeff,&lt;BR /&gt;&lt;BR /&gt;It's "vgdisplay /dev/vg00" (or just vg00 without the dev) not "vgdisplay /dev/vg00/lvol08".&lt;BR /&gt;&lt;BR /&gt;Secondly, to enable keyboard history:  &lt;BR /&gt;export EDITOR=vi&lt;BR /&gt;set -o vi&lt;BR /&gt;&lt;ESC&gt; k&lt;BR /&gt;will then recall your last command.  It's based on vi so I hope you have some familiarity with vi.&lt;BR /&gt;&lt;BR /&gt;Pete&lt;/ESC&gt;</description>
      <pubDate>Thu, 13 Feb 2003 16:52:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903235#M633893</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-02-13T16:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing a Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903236#M633894</link>
      <description>OK, I have a PE Size of 4 and PE Free at 136 so my total MB can be 544 to extend.&lt;BR /&gt;&lt;BR /&gt;My Vol8 has 23 PE so the Vol is currently 92MB&lt;BR /&gt;&lt;BR /&gt;So to double the size I would type...&lt;BR /&gt;&lt;BR /&gt;lvextend -L 401 /dev/vg00/lvol8&lt;BR /&gt;&lt;BR /&gt;How do I check to see if I have FSADM on our server?&lt;BR /&gt;&lt;BR /&gt;I typed fsadm and received...&lt;BR /&gt;&lt;BR /&gt;fsadm: &lt;SPECIAL&gt; not specified&lt;BR /&gt;usage: fsadm [-F FStype] [-V] [-o specific_options] special&lt;BR /&gt;&lt;BR /&gt;If I do have it then I type &lt;BR /&gt;fsadm -b 1032M /opt &lt;BR /&gt;&lt;BR /&gt;How do you retrieve the last command?  What key(s) to press?  I tried the up arrow but that didn't work.  Currently I am accessing the server via Reflection, VT320&lt;/SPECIAL&gt;</description>
      <pubDate>Thu, 13 Feb 2003 18:08:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903236#M633894</guid>
      <dc:creator>Jeff Tolly</dc:creator>
      <dc:date>2003-02-13T18:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing a Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903237#M633895</link>
      <description>Actually if you want to double the size you have to type the total amount that your logical volume will have after the addition so :&lt;BR /&gt;&lt;BR /&gt;lvextend -L 1000 /dev/vg00/lvol8 &lt;BR /&gt;&lt;BR /&gt;and to see if you have Online JFS, you just have to do&lt;BR /&gt;&lt;BR /&gt;#swlist -l product|grep Adv&lt;BR /&gt;&lt;BR /&gt;if Advanced JFS shows up, you're in business and can do the fsadm -F vxfs -b 1024000 /opt</description>
      <pubDate>Thu, 13 Feb 2003 18:19:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903237#M633895</guid>
      <dc:creator>Marco Santerre</dc:creator>
      <dc:date>2003-02-13T18:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing a Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903238#M633896</link>
      <description>For the last question:&lt;BR /&gt;&lt;BR /&gt;The parameter after -L should be in Mbytes. If you want to specify -l, then use the LE numbers.&lt;BR /&gt;&lt;BR /&gt;# lvextend -L 500 lv_name will increase the space to 500MB.&lt;BR /&gt;&lt;BR /&gt;# swlist -l product - will tell you if you have Online JFS installed on the system. If yes, you can use fsadm command for extending it.&lt;BR /&gt;&lt;BR /&gt;"Esc+k" will repeat the last command you typed. Also use 'vi' commands for operations - h, j, k and l for moving.</description>
      <pubDate>Thu, 13 Feb 2003 18:29:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-a-volume/m-p/2903238#M633896</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-02-13T18:29:09Z</dc:date>
    </item>
  </channel>
</rss>

