<?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: Filesystem reduce in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-reduce/m-p/2750550#M70085</link>
    <description>Hi Stefen,&lt;BR /&gt;&lt;BR /&gt;I have booted in Maintenance Mode and done the following.&lt;BR /&gt;&lt;BR /&gt;# lvremove /dev/vg00/lvol4&lt;BR /&gt;# lvcreate -L 500 /dev/vg00/lvol4&lt;BR /&gt;&lt;BR /&gt;Now what needs to be done.&lt;BR /&gt;&lt;BR /&gt;After booting in the multiuser mode, I can see /tmp to be 500 MB in sam and 5 GB in bdf.&lt;BR /&gt;&lt;BR /&gt;Where I have gone wrong and how to resolve this? Pls. give the command stepwise.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 24 Jun 2002 08:11:19 GMT</pubDate>
    <dc:creator>Sanjiv Sharma_1</dc:creator>
    <dc:date>2002-06-24T08:11:19Z</dc:date>
    <item>
      <title>Filesystem reduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-reduce/m-p/2750548#M70083</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a N-Class with HP-UX 11.00.&lt;BR /&gt;&lt;BR /&gt;I have extended the /tmp filesystem to 5 GB by mistake. I want it to be 500 MB.&lt;BR /&gt;&lt;BR /&gt;Steps followed:&lt;BR /&gt;Booted in Single User Mode.&lt;BR /&gt;# lvextend -L 5000 /dev/vg00/lvol4&lt;BR /&gt;# extendfs -F vxfs /dev/vg00/rlvol4&lt;BR /&gt;&lt;BR /&gt;My intension was to make /tmp 500 MB.&lt;BR /&gt;&lt;BR /&gt;What needs to be done? Give me the steps/commands.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Raje.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Jun 2002 07:49:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-reduce/m-p/2750548#M70083</guid>
      <dc:creator>Sanjiv Sharma_1</dc:creator>
      <dc:date>2002-06-24T07:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Filesystem reduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-reduce/m-p/2750549#M70084</link>
      <description>&lt;BR /&gt;If you have OnlineJFS you can reduce it on the fly (no reboot) but from youre above commands it appears you do NOT have OnlineJFS, which means the only way to reduce /tmp is;&lt;BR /&gt;&lt;BR /&gt;1. boot in LVM maintenance mode. Remove the /tmp lvol (/dev/vg00/lvol4). Create a new one to the size you want, reboot.&lt;BR /&gt;&lt;BR /&gt;2. Its probably easier at this point to create a new lvol to the size you want /tmp to be (eg. lvcreate -L 500 vg00) - lets say its lvol 10, then vi /etc/fstab, change the entry for /tmp (/dev/vg00/lvol4) to the new lvol (eg. /dev/vg00/lvol10). Then reboot, /tmp will now be /dev/vg00/lvol10, then you can remove the old /dev/vg00/lvol4 to free up the 5GB.&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Jun 2002 08:01:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-reduce/m-p/2750549#M70084</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2002-06-24T08:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Filesystem reduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-reduce/m-p/2750550#M70085</link>
      <description>Hi Stefen,&lt;BR /&gt;&lt;BR /&gt;I have booted in Maintenance Mode and done the following.&lt;BR /&gt;&lt;BR /&gt;# lvremove /dev/vg00/lvol4&lt;BR /&gt;# lvcreate -L 500 /dev/vg00/lvol4&lt;BR /&gt;&lt;BR /&gt;Now what needs to be done.&lt;BR /&gt;&lt;BR /&gt;After booting in the multiuser mode, I can see /tmp to be 500 MB in sam and 5 GB in bdf.&lt;BR /&gt;&lt;BR /&gt;Where I have gone wrong and how to resolve this? Pls. give the command stepwise.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Jun 2002 08:11:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-reduce/m-p/2750550#M70085</guid>
      <dc:creator>Sanjiv Sharma_1</dc:creator>
      <dc:date>2002-06-24T08:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Filesystem reduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-reduce/m-p/2750551#M70086</link>
      <description>It doesn't look like you created a file system on the new lvol - I'm afraid its back to single user mode, and then:&lt;BR /&gt;&lt;BR /&gt;newfs -F vxfs /dev/vg00/rlvol4&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Mon, 24 Jun 2002 08:17:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-reduce/m-p/2750551#M70086</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2002-06-24T08:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Filesystem reduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-reduce/m-p/2750552#M70087</link>
      <description>Hi Raje,&lt;BR /&gt;&lt;BR /&gt;  If you don't have online JFS installed on your system,&lt;BR /&gt;then you need to recreate the volume.&lt;BR /&gt;&lt;BR /&gt;Find out the logical volume used by /tmp file system from /etc/fstab file. If /tmp is mounted unmount that file system&lt;BR /&gt;#umount /tmp&lt;BR /&gt;&lt;BR /&gt;Create the new file system in that volume&lt;BR /&gt; &lt;BR /&gt;#newfs -F vxfs -s 512000 /dev/vg00/lvol4&lt;BR /&gt;&lt;BR /&gt;mount that volume &lt;BR /&gt;#mount /tmp&lt;BR /&gt;&lt;BR /&gt;If you have online JFS installed on your system,&lt;BR /&gt;use the following command to reduce the file system size&lt;BR /&gt;&lt;BR /&gt;#fsadm -F vxfs -b 500M /tmp&lt;BR /&gt;&lt;BR /&gt;You should reduce the logical volume size now. Because reducing a file system doesn't automatically reduce the size of the logical volume that the file system is in.&lt;BR /&gt;&lt;BR /&gt; To reduce the logical volume&lt;BR /&gt;&lt;BR /&gt;#lvreduce -L 500 /dev/vg00/lvol4&lt;BR /&gt;&lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Jun 2002 21:58:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-reduce/m-p/2750552#M70087</guid>
      <dc:creator>Arockia Jegan</dc:creator>
      <dc:date>2002-06-24T21:58:34Z</dc:date>
    </item>
  </channel>
</rss>

