<?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 Online JFS in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/online-jfs/m-p/5116255#M587589</link>
    <description>I have online JFS on HPUX 11i V1.&lt;BR /&gt;&lt;BR /&gt;I have two file systems on the same VG.&lt;BR /&gt;One I want to decrease a GB and one I want to Increase a GB.  I see a lot of ONline JFS entries in forums, but also a lot with. "don't mix up the order of these operations."&lt;BR /&gt;&lt;BR /&gt;# bdf /prod/di&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg01ken14/fs-di 1048576  369774  642782   37% /prod/di&lt;BR /&gt;&lt;BR /&gt;# bdf /prod/oraapps&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg01ken14/fs-oraapps 5242880   87609 4834637    2% /prod/oraapps&lt;BR /&gt;</description>
    <pubDate>Thu, 26 Jun 2008 20:06:54 GMT</pubDate>
    <dc:creator>Douglass A Anderson</dc:creator>
    <dc:date>2008-06-26T20:06:54Z</dc:date>
    <item>
      <title>Online JFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/online-jfs/m-p/5116255#M587589</link>
      <description>I have online JFS on HPUX 11i V1.&lt;BR /&gt;&lt;BR /&gt;I have two file systems on the same VG.&lt;BR /&gt;One I want to decrease a GB and one I want to Increase a GB.  I see a lot of ONline JFS entries in forums, but also a lot with. "don't mix up the order of these operations."&lt;BR /&gt;&lt;BR /&gt;# bdf /prod/di&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg01ken14/fs-di 1048576  369774  642782   37% /prod/di&lt;BR /&gt;&lt;BR /&gt;# bdf /prod/oraapps&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg01ken14/fs-oraapps 5242880   87609 4834637    2% /prod/oraapps&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jun 2008 20:06:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/online-jfs/m-p/5116255#M587589</guid>
      <dc:creator>Douglass A Anderson</dc:creator>
      <dc:date>2008-06-26T20:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Online JFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/online-jfs/m-p/5116256#M587590</link>
      <description>Hi Douglass:&lt;BR /&gt;&lt;BR /&gt;...and your question is?  I think that you want to know:&lt;BR /&gt;&lt;BR /&gt;If you are shrinking a JFS (VxFS) filesystem you should perform a defragmentation first with 'fsadm'.&lt;BR /&gt;&lt;BR /&gt;When shriking a filesystem, first decrease the size of the filesystem with 'fsadm'; then 'lvreduce' the size of the logical volume containing the filesystem.&lt;BR /&gt;&lt;BR /&gt;When enlarging a filesystem. first increase the size of the logical volume container with 'lvextend'; then increase the size of the filesystem contained therein with 'fsadm'.&lt;BR /&gt;&lt;BR /&gt;Does that answer your question?&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 26 Jun 2008 20:14:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/online-jfs/m-p/5116256#M587590</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-06-26T20:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Online JFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/online-jfs/m-p/5116257#M587591</link>
      <description>For taking space (1GB for example) from one logical volume (lvol1 for example) and assign it to other (lvol2) do the following: &lt;BR /&gt;&lt;BR /&gt;1. reduce file system on the first volume  with 1GB&lt;BR /&gt;2. reduce logical volume(lvol1), when first file system resides with 1GB&lt;BR /&gt;3. increase second volume - lvol2&lt;BR /&gt;4. extend second file system&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Thu, 26 Jun 2008 20:17:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/online-jfs/m-p/5116257#M587591</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-06-26T20:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Online JFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/online-jfs/m-p/5116258#M587592</link>
      <description>What command lines would I use?  &lt;BR /&gt;I understand there is -D to test and -d to do the defragmenting.  and there is also a -E and -e (?) for a different test.</description>
      <pubDate>Thu, 26 Jun 2008 20:18:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/online-jfs/m-p/5116258#M587592</guid>
      <dc:creator>Douglass A Anderson</dc:creator>
      <dc:date>2008-06-26T20:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Online JFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/online-jfs/m-p/5116259#M587593</link>
      <description>Hey Doug,&lt;BR /&gt;&lt;BR /&gt;Heard you moved on to somewhere else.  Shoot me an email sometime.&lt;BR /&gt;&lt;BR /&gt;Anyway.&lt;BR /&gt;&lt;BR /&gt;To reduce ( scary ).  Need to defrag the filesystem first then reduce but it does not reduce the lvol.  You would then have to figure out how to correctly calculate the new size of the lvol if possible.  &lt;BR /&gt;Your best and safest bet here is to create a new lvol with new size, move the data from old to new, delete the old. (or use backup method to backup and restore the data).&lt;BR /&gt;&lt;BR /&gt;To extend, lvextend the lvol first, then fsadm -b newsize(m) /mount/point&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5991-1227/5991-1227.pdf" target="_blank"&gt;http://docs.hp.com/en/5991-1227/5991-1227.pdf&lt;/A&gt;&lt;BR /&gt;Appendix A&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jun 2008 20:18:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/online-jfs/m-p/5116259#M587593</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-06-26T20:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Online JFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/online-jfs/m-p/5116260#M587594</link>
      <description>can't you do &lt;BR /&gt;lvextend -L and fsadm -L&lt;BR /&gt; and &lt;BR /&gt;lvreduce -L and fsadm -L, &lt;BR /&gt;I just need the order.</description>
      <pubDate>Thu, 26 Jun 2008 20:25:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/online-jfs/m-p/5116260#M587594</guid>
      <dc:creator>Douglass A Anderson</dc:creator>
      <dc:date>2008-06-26T20:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Online JFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/online-jfs/m-p/5116261#M587595</link>
      <description>Commands:&lt;BR /&gt;&lt;BR /&gt;This example takes 500MB away from /prod/di and gives 500MB to /prod/oraapps only because the math was easier, if the reverse you will to do the math to figure out the exact numbers.&lt;BR /&gt;&lt;BR /&gt;Reduce:(take 500MB away)&lt;BR /&gt;fsadm -D /prod/di&lt;BR /&gt;fsadm -d /prod/di&lt;BR /&gt;fsadm -E /prod/di&lt;BR /&gt;fsadm -e /prod/di&lt;BR /&gt;fsadm -b 500m /prod/di&lt;BR /&gt;lvreduce -L 500 /dev/vg01ken14/fs-di&lt;BR /&gt;&lt;BR /&gt;Extend:(do the math on the extents, maybe use -l instead of -L after reviewing with vgdisplay /dev/vg01ken14)&lt;BR /&gt;lvextend -L 5500 /dev/vg01ken14/fs-oraapps&lt;BR /&gt;fsadm -b 5500m /prod/oraapps&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Make sure you have a backup !!!  Just in case.&lt;BR /&gt;&lt;BR /&gt;If you have a test server, test things out so you are comfortable.&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jun 2008 20:31:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/online-jfs/m-p/5116261#M587595</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-06-26T20:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Online JFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/online-jfs/m-p/5116262#M587596</link>
      <description>Hi,&lt;BR /&gt;Here is the procedure,&lt;BR /&gt;&lt;BR /&gt;Example,&lt;BR /&gt;decrease /prod/di to 500MB, prev size 1GB, new size 500MB&lt;BR /&gt;&lt;BR /&gt;fsadm -F vxfs -b 512000 /prod/di&lt;BR /&gt;lvreduce -L  500 /dev/vg01ken15/fs-di&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Increase /prod/oraapps to 500MB,prev size 5GB, new size 5.5GB&lt;BR /&gt;&lt;BR /&gt;lvextend -L  5632 /dev/vg01ken14/fs-oraapps&lt;BR /&gt;&lt;BR /&gt;fsadm -b 5767168 /prod/oraapps&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards</description>
      <pubDate>Mon, 14 Jul 2008 04:47:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/online-jfs/m-p/5116262#M587596</guid>
      <dc:creator>Aashique</dc:creator>
      <dc:date>2008-07-14T04:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Online JFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/online-jfs/m-p/5116263#M587597</link>
      <description>yes, that worked.</description>
      <pubDate>Mon, 14 Jul 2008 13:38:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/online-jfs/m-p/5116263#M587597</guid>
      <dc:creator>Douglass A Anderson</dc:creator>
      <dc:date>2008-07-14T13:38:31Z</dc:date>
    </item>
  </channel>
</rss>

