<?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: Extend Logical Volume in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-logical-volume/m-p/2895859#M633570</link>
    <description>John,&lt;BR /&gt;&lt;BR /&gt;the only question now if whether or not you're trying to extend a contiguous mount point.  which mount point is the logical volume mounted?  You stated that you are new to HP-UX, so to determine if the logical volume is contiguous or not use sfu lvdisplay -v /dev/vg00/lvol1 | grep -i allocation&lt;BR /&gt;&lt;BR /&gt;does the output have the word contiguous in it?</description>
    <pubDate>Mon, 03 Feb 2003 22:04:50 GMT</pubDate>
    <dc:creator>Ian Kidd_1</dc:creator>
    <dc:date>2003-02-03T22:04:50Z</dc:date>
    <item>
      <title>Extend Logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-logical-volume/m-p/2895853#M633564</link>
      <description>Hi, I have a file system that is close to being full but in the same VG I have an LV that is barely used.  I am going to delete the LV that is barely used and then extend the LV that is close to being full onto the reclaimed space.  I know very, very little about HP-UX.  Is this something I can do through SAM?  Are there any downsides to doing it through SAM.  Can someone point me in the right direction as far as the commands I should use?  Any help would be appreciated.  Many thanks in advance.&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Mon, 03 Feb 2003 21:41:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extend-logical-volume/m-p/2895853#M633564</guid>
      <dc:creator>John_44</dc:creator>
      <dc:date>2003-02-03T21:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-logical-volume/m-p/2895854#M633565</link>
      <description>&lt;BR /&gt;(1) Can you tell us what "filesystem" you are talking about?&lt;BR /&gt;&lt;BR /&gt;(2) do you have online jfs installed?&lt;BR /&gt;&lt;BR /&gt;(3) What OS level are you running?&lt;BR /&gt;&lt;BR /&gt;(4) is your system up-to-date in patches?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 03 Feb 2003 21:47:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extend-logical-volume/m-p/2895854#M633565</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2003-02-03T21:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-logical-volume/m-p/2895855#M633566</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;Since you are new to HP-UX, i suggest you make sure you have good backup.&lt;BR /&gt;&lt;BR /&gt;vg01 - your volume group&lt;BR /&gt;lvol1  - logical volume that is completely full&lt;BR /&gt;lvol2 - logical volume that is empty.&lt;BR /&gt;&lt;BR /&gt;1. Stop the app so that it won't access the filesystems.&lt;BR /&gt;2. Unmount lvol2.&lt;BR /&gt;&lt;BR /&gt;umount /dev/vg01/lvol2&lt;BR /&gt;&lt;BR /&gt;3. lvremove /dev/vg01/lvol2&lt;BR /&gt;&lt;BR /&gt;This will free up lvol2.&lt;BR /&gt;&lt;BR /&gt;4. Unmount lvol1&lt;BR /&gt;&lt;BR /&gt;umount /dev/vg01/lvol1&lt;BR /&gt;&lt;BR /&gt;5. Now increase lvol1 to + the size of lvol2. new_size = (size of lvol1 + size of lvol2 ) in MB&lt;BR /&gt;&lt;BR /&gt;lvextend -L new_size /dev/vg01/lvol1&lt;BR /&gt;extendfs /dev/vg01/lvol1&lt;BR /&gt;&lt;BR /&gt;6. Edit /etc/fstab. Comment out the entry that has lvol2&lt;BR /&gt;&lt;BR /&gt;7. Mount lvol1 back&lt;BR /&gt;&lt;BR /&gt;mount -a&lt;BR /&gt;&lt;BR /&gt;If you have online-jfs, you can do it online. In that case you dn't need to unmount lvol1. While it is still mounted do&lt;BR /&gt;&lt;BR /&gt;#lvextend -L new_size /dev/vg01/lvol&lt;BR /&gt;#fsadm -b new_size*1024 /mountpoint_of_lvol1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 03 Feb 2003 21:52:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extend-logical-volume/m-p/2895855#M633566</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-02-03T21:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-logical-volume/m-p/2895856#M633567</link>
      <description>(1) Filesystem is vxfs&lt;BR /&gt;&lt;BR /&gt;(2) No online jfs&lt;BR /&gt;&lt;BR /&gt;(3) 10.20&lt;BR /&gt;&lt;BR /&gt;(4) I do not believe this system has had many patches installed since Y2K</description>
      <pubDate>Mon, 03 Feb 2003 21:53:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extend-logical-volume/m-p/2895856#M633567</guid>
      <dc:creator>John_44</dc:creator>
      <dc:date>2003-02-03T21:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-logical-volume/m-p/2895857#M633568</link>
      <description>You can use 'sam', or you can use the command line.&lt;BR /&gt;&lt;BR /&gt;# vgdisplay /dev/myvg (substitute your volume group name) &lt;BR /&gt;This will tell you how many extents are available.&lt;BR /&gt;&lt;BR /&gt;# lvremove /dev/myvg/mylvol (will remove the logical volume and release the space.&lt;BR /&gt;&lt;BR /&gt;To extend the other filsystem we need to know if you have the on-line JFS product installed.&lt;BR /&gt;generally speaking if not, you can unmount the filsystem and do this. You could attempt to do this through 'sam'. If you have the on-line JFS installed, then 'sam' can do this.&lt;BR /&gt;&lt;BR /&gt;# umount /myfs&lt;BR /&gt;# lvextend /dev/myvg/mylvol&lt;BR /&gt;# extendfs /dev/myvg/rmylvol&lt;BR /&gt;# mount /myfs</description>
      <pubDate>Mon, 03 Feb 2003 21:54:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extend-logical-volume/m-p/2895857#M633568</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-02-03T21:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-logical-volume/m-p/2895858#M633569</link>
      <description>You can do these tasks with SAM. There is no downside to do it with SAM. If you are not familiar with command line, SAM will be the best bet for you.&lt;BR /&gt;1) Do a good backup of both file systems. Find out which logical volumes holds these file systems.&lt;BR /&gt;2) Unmount both file systems:&lt;BR /&gt;# umount /fs1&lt;BR /&gt;# umount /fs2&lt;BR /&gt;3) Execute SAM and select "disk and file systems"&lt;BR /&gt;4) Select logical volumes. Select the one which you want to remove and remove it.&lt;BR /&gt;5) Select the logical volume you want to extend and then choose extend from Actions menu.&lt;BR /&gt;6) Input the NEW FS size while prompted and select to extend it.&lt;BR /&gt;7) Exit from SAM and mount the FS back:&lt;BR /&gt;# mount /dev/vg_name/lv_name /fs2&lt;BR /&gt;# rmdir /fs1&lt;BR /&gt;# bdf&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Feb 2003 22:04:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extend-logical-volume/m-p/2895858#M633569</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-02-03T22:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-logical-volume/m-p/2895859#M633570</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;the only question now if whether or not you're trying to extend a contiguous mount point.  which mount point is the logical volume mounted?  You stated that you are new to HP-UX, so to determine if the logical volume is contiguous or not use sfu lvdisplay -v /dev/vg00/lvol1 | grep -i allocation&lt;BR /&gt;&lt;BR /&gt;does the output have the word contiguous in it?</description>
      <pubDate>Mon, 03 Feb 2003 22:04:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extend-logical-volume/m-p/2895859#M633570</guid>
      <dc:creator>Ian Kidd_1</dc:creator>
      <dc:date>2003-02-03T22:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extend-logical-volume/m-p/2895860#M633571</link>
      <description>John, ignore the sfu in front of &lt;BR /&gt;lvdisplay -v /dev/vg00/lvol1 | grep -i allocation&lt;BR /&gt;&lt;BR /&gt;sfu is a product that allows the issuance of commands as root.  you probably don't have it, so issue the command above ...&lt;BR /&gt;&lt;BR /&gt;... or just let us know what mount point your're dealing with.&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Feb 2003 22:06:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extend-logical-volume/m-p/2895860#M633571</guid>
      <dc:creator>Ian Kidd_1</dc:creator>
      <dc:date>2003-02-03T22:06:56Z</dc:date>
    </item>
  </channel>
</rss>

