<?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: Extending logical Volume in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934863#M410639</link>
    <description>Thanks everyone, i have extended the volume group in single user mode successfully.</description>
    <pubDate>Wed, 19 Oct 2005 16:21:49 GMT</pubDate>
    <dc:creator>Hanwant Verma_1</dc:creator>
    <dc:date>2005-10-19T16:21:49Z</dc:date>
    <item>
      <title>Extending logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934848#M410624</link>
      <description>I have a one volume group named /usr2 in HP UX 11.11 whihc is 74% full. How can i extend this volumet group?</description>
      <pubDate>Wed, 19 Oct 2005 11:00:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934848#M410624</guid>
      <dc:creator>Hanwant Verma_1</dc:creator>
      <dc:date>2005-10-19T11:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Extending logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934849#M410625</link>
      <description>lvextend -L &lt;NEW size="" in="" mb=""&gt; /dev/vgXX/lvolXX&lt;BR /&gt;&lt;BR /&gt;fsadm -b &lt;NEW size="" in="" k=""&gt; /usr2&lt;BR /&gt;&lt;BR /&gt;to modify FS online, you have OnlineJFS to be installed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Alex.&lt;/NEW&gt;&lt;/NEW&gt;</description>
      <pubDate>Wed, 19 Oct 2005 11:03:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934849#M410625</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-10-19T11:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Extending logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934850#M410626</link>
      <description>without OnlineJFS, you'll need to unmount the filesystem to extend it.</description>
      <pubDate>Wed, 19 Oct 2005 11:06:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934850#M410626</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-10-19T11:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Extending logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934851#M410627</link>
      <description>Can you tell me the exact process, step by step please.</description>
      <pubDate>Wed, 19 Oct 2005 11:07:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934851#M410627</guid>
      <dc:creator>Hanwant Verma_1</dc:creator>
      <dc:date>2005-10-19T11:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Extending logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934852#M410628</link>
      <description># fuser /usr2&lt;BR /&gt;&lt;BR /&gt;This will give you the processes which are accessing /usr2 and they will need to be shutdown.&lt;BR /&gt;&lt;BR /&gt;Then&lt;BR /&gt;# bdf /usr2 &lt;BR /&gt;&lt;BR /&gt;Notice the first column which tells you the logical volume information&lt;BR /&gt;&lt;BR /&gt;# umount /usr2&lt;BR /&gt;&lt;BR /&gt;# lvextend -L &lt;NEW size="" in="" mb=""&gt; /dev/vgXX/lvolXX&lt;BR /&gt;&lt;BR /&gt;where /dev/vgXX/lvolXX matches the logical volume information retreived from the bdf.&lt;BR /&gt;&lt;BR /&gt;# fsadm -b &lt;NEW size="" in="" k=""&gt; /usr2&lt;BR /&gt;&lt;BR /&gt;# mount /dev/vgXX/lvolXX /usr2&lt;BR /&gt;&lt;BR /&gt;Or if /usr2 is in the /etc/fstab file, you can issue a "mountall" command which will then do fsck on the new filesystem and also mount the filesystem with proper switches too.&lt;/NEW&gt;&lt;/NEW&gt;</description>
      <pubDate>Wed, 19 Oct 2005 11:16:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934852#M410628</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-10-19T11:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Extending logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934853#M410629</link>
      <description>Actually I did ....&lt;BR /&gt;&lt;BR /&gt;If you want to do it without OnlineJFS:&lt;BR /&gt;&lt;BR /&gt;lvextend -L &lt;NEW size="" in="" mb=""&gt; /dev/vgXX/lvolXX&lt;BR /&gt;umount /usr2&lt;BR /&gt;extendfs /dev/vgXX/rlvolXX&lt;BR /&gt;mount /usr2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Done.&lt;/NEW&gt;</description>
      <pubDate>Wed, 19 Oct 2005 11:16:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934853#M410629</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-10-19T11:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Extending logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934854#M410630</link>
      <description>identify the lvol associated with /usr2:&lt;BR /&gt;# bdf | grep usr2&lt;BR /&gt;&lt;BR /&gt;Check to see how much free space there is in usr2's volume group:&lt;BR /&gt;# vgdisplay /dev/&lt;VOLUME group=""&gt;&lt;BR /&gt;&lt;BR /&gt;extend logical volume:&lt;BR /&gt;# lvextend -L &lt;NEW_SIZE in="" mb=""&gt; /dev/&lt;VOLUME group=""&gt;/&lt;LVOL&gt;&lt;BR /&gt;&lt;BR /&gt;Find out if you have OnlineJFS:&lt;BR /&gt;# swlist -l fileset | grep -i onlinejfs&lt;BR /&gt;&lt;BR /&gt;With OnlineJFS:&lt;BR /&gt;# fsadm -b $((&lt;NEW_SIZE_MB&gt;*1024)) /usr2&lt;BR /&gt;&lt;BR /&gt;Without OnlineJFS:&lt;BR /&gt;- Stop all process accessing /usr2&lt;BR /&gt;# umount /usr2&lt;BR /&gt;# extendfs /dev/&lt;VOLUME_GROUP&gt;/&lt;RAW lvol="" -rlvol=""&gt;&lt;BR /&gt;# mount /usr2&lt;BR /&gt;&lt;BR /&gt;&lt;/RAW&gt;&lt;/VOLUME_GROUP&gt;&lt;/NEW_SIZE_MB&gt;&lt;/LVOL&gt;&lt;/VOLUME&gt;&lt;/NEW_SIZE&gt;&lt;/VOLUME&gt;</description>
      <pubDate>Wed, 19 Oct 2005 11:17:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934854#M410630</guid>
      <dc:creator>john kingsley</dc:creator>
      <dc:date>2005-10-19T11:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Extending logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934855#M410631</link>
      <description>oops my fsadm line should be;&lt;BR /&gt;&lt;BR /&gt;extendfs /dev/vgXX/rlvolXX</description>
      <pubDate>Wed, 19 Oct 2005 11:26:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934855#M410631</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-10-19T11:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Extending logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934856#M410632</link>
      <description>umount gives me the following error&lt;BR /&gt;&lt;BR /&gt;umount: cannot unmount /usr2 : Device busy</description>
      <pubDate>Wed, 19 Oct 2005 11:32:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934856#M410632</guid>
      <dc:creator>Hanwant Verma_1</dc:creator>
      <dc:date>2005-10-19T11:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Extending logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934857#M410633</link>
      <description>You have to kill all of the process accessing /usr2.&lt;BR /&gt;&lt;BR /&gt;Run:&lt;BR /&gt;fuser -cu /usr2&lt;BR /&gt;&lt;BR /&gt;This will give you the list of processes using /usr2.</description>
      <pubDate>Wed, 19 Oct 2005 11:38:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934857#M410633</guid>
      <dc:creator>john kingsley</dc:creator>
      <dc:date>2005-10-19T11:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Extending logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934858#M410634</link>
      <description>If you have an active Database or files source/user data exists on this file systems, I wouldn't recommend unmounting the FS now. If there is no user interaction on this FS, you can safely unmount it. Also make sure that you are not in that directory (cd /).&lt;BR /&gt;&lt;BR /&gt;I would also suggest having a fresh backup of the file system you are trying to change and make sure you have enough free PEs (vgdisplay -v vg_name) on the volume group. Btw, extending a volume group and logical volume is totally different. I guess you are talking about exteding your LV here.</description>
      <pubDate>Wed, 19 Oct 2005 11:51:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934858#M410634</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2005-10-19T11:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Extending logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934859#M410635</link>
      <description>Can i restart the server in sigle user mode and then follow the process, to be at safer side?</description>
      <pubDate>Wed, 19 Oct 2005 11:53:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934859#M410635</guid>
      <dc:creator>Hanwant Verma_1</dc:creator>
      <dc:date>2005-10-19T11:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Extending logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934860#M410636</link>
      <description>If you have a lot of process running that use this filesystem, it would be a good idea to restart you system into single user mode to do this.  That way, you're guarantee that everything comes down cleanly.  In single user, your paths may not be set correctly, so you may have to run /sbin/extendfs</description>
      <pubDate>Wed, 19 Oct 2005 12:02:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934860#M410636</guid>
      <dc:creator>john kingsley</dc:creator>
      <dc:date>2005-10-19T12:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Extending logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934861#M410637</link>
      <description>single user is always safer for these things...</description>
      <pubDate>Wed, 19 Oct 2005 12:02:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934861#M410637</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-10-19T12:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Extending logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934862#M410638</link>
      <description>If you can reboot the server without any user interruptions, I would say that's the safe case. Once rebooted, you can mount the root volumes (mount -a) from vg00 and then try running the LV extend commands.</description>
      <pubDate>Wed, 19 Oct 2005 12:03:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934862#M410638</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2005-10-19T12:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Extending logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934863#M410639</link>
      <description>Thanks everyone, i have extended the volume group in single user mode successfully.</description>
      <pubDate>Wed, 19 Oct 2005 16:21:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-logical-volume/m-p/4934863#M410639</guid>
      <dc:creator>Hanwant Verma_1</dc:creator>
      <dc:date>2005-10-19T16:21:49Z</dc:date>
    </item>
  </channel>
</rss>

