<?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: Descrease filesystem size in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585645#M623403</link>
    <description>If your FS is an even multiple of the extents, it may work. OnlineJFS, although advertised that is can resize, grow and reduce, rarely works correctly on a reduce. As other said, ensure your apps aren't running, and get a solid backup before attempting to reduce.</description>
    <pubDate>Sat, 23 Jul 2005 16:09:29 GMT</pubDate>
    <dc:creator>Kevin Wright</dc:creator>
    <dc:date>2005-07-23T16:09:29Z</dc:date>
    <item>
      <title>Descrease filesystem size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585634#M623392</link>
      <description>What is the correct procedure to online descrease the size of a filesystem ? I thought :&lt;BR /&gt;&lt;BR /&gt;1. Defragment filesystem : fsadm -E /mountpoint&lt;BR /&gt;2. lvreduce ....&lt;BR /&gt;3. fsadm -b &lt;SMALLER size=""&gt;b /mountpoint&lt;BR /&gt;&lt;BR /&gt;Bruno&lt;BR /&gt;&lt;/SMALLER&gt;</description>
      <pubDate>Tue, 19 Jul 2005 05:45:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585634#M623392</guid>
      <dc:creator>Bruno Bossier_1</dc:creator>
      <dc:date>2005-07-19T05:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Descrease filesystem size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585635#M623393</link>
      <description>Bruno,&lt;BR /&gt;&lt;BR /&gt;If you shrink the container that holds the file system with lvreduce, you're going to lose data.   If you do lvreduce (I can't remember) at all, it would have to be after the fsadm.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 19 Jul 2005 05:49:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585635#M623393</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-07-19T05:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Descrease filesystem size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585636#M623394</link>
      <description>OK, so I was wrong in the sequence :&lt;BR /&gt;&lt;BR /&gt;1. fsadm -E /mountpoint&lt;BR /&gt;2. fsadm -b &lt;SMALLER size=""&gt;b /mountpoint&lt;BR /&gt;3. lvreduce ...&lt;BR /&gt;&lt;BR /&gt;Correct ?&lt;BR /&gt;&lt;/SMALLER&gt;</description>
      <pubDate>Tue, 19 Jul 2005 05:51:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585636#M623394</guid>
      <dc:creator>Bruno Bossier_1</dc:creator>
      <dc:date>2005-07-19T05:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Descrease filesystem size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585637#M623395</link>
      <description>Bruno,&lt;BR /&gt;&lt;BR /&gt;Also check this post:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums2.itrc.hp.com/service/forums/questionanswer.do?threadId=582409" target="_blank"&gt;http://forums2.itrc.hp.com/service/forums/questionanswer.do?threadId=582409&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 19 Jul 2005 05:53:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585637#M623395</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-07-19T05:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Descrease filesystem size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585638#M623396</link>
      <description>Bruno,&lt;BR /&gt;&lt;BR /&gt;Yes, that's correct:&lt;BR /&gt;&lt;BR /&gt;defrag&lt;BR /&gt;fsadm&lt;BR /&gt;lvreduce&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 19 Jul 2005 05:55:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585638#M623396</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-07-19T05:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Descrease filesystem size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585639#M623397</link>
      <description>Bruno,&lt;BR /&gt;&lt;BR /&gt;Be on the save side. Create a copy on tape or if you have enough filestore, create a online tar/cpio archive before reducing the volume.&lt;BR /&gt;&lt;BR /&gt;The commands are correct, but the last time I preformed this I got a corrupt filesystem.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Tue, 19 Jul 2005 06:02:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585639#M623397</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2005-07-19T06:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Descrease filesystem size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585640#M623398</link>
      <description>I know it's tricky and to be on the safe side, I should backup, delete, recreate and restore. It's for a sapdata filesystem, so even more tricky.&lt;BR /&gt;&lt;BR /&gt;I just wanted to check. I'm not sure whether I would really do it.&lt;BR /&gt;&lt;BR /&gt;Thanks for the answers !&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Bruno&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Jul 2005 06:08:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585640#M623398</guid>
      <dc:creator>Bruno Bossier_1</dc:creator>
      <dc:date>2005-07-19T06:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Descrease filesystem size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585641#M623399</link>
      <description>I agree with Robert Jan - make sure your backups are working.&lt;BR /&gt;&lt;BR /&gt;To be safe - I would reduce during your maintenance window - not during the day.  &lt;BR /&gt;&lt;BR /&gt;IE - during a backup - and to be safe  - I would have SAP/Oracle down.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 19 Jul 2005 06:14:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585641#M623399</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-07-19T06:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Descrease filesystem size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585642#M623400</link>
      <description>In general I have good experience with fsadm and reducing filesystems, but I haven't tried it more than 10 times, as it's plain forbidden @work.&lt;BR /&gt;&lt;BR /&gt;You should definitely check the filesystem version and fsadm patch levels before the fsadm call.&lt;BR /&gt;root@xxxx:/tmp&amp;gt;fstyp -v /dev/vg00/rlvol15&lt;BR /&gt;vxfs&lt;BR /&gt;version: 4&lt;BR /&gt;&lt;BR /&gt;if this doesn't print out Version 4 or 5, You might want to think twice on a sapdata filesystem.&lt;BR /&gt;&lt;BR /&gt;florian</description>
      <pubDate>Tue, 19 Jul 2005 06:29:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585642#M623400</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2005-07-19T06:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Descrease filesystem size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585643#M623401</link>
      <description>Hello Bruno,&lt;BR /&gt;&lt;BR /&gt;If you decide to apply the procedure, don't do it with SAP running. Your DB will crash when reorganization is running !&lt;BR /&gt;&lt;BR /&gt;Only a remark&lt;BR /&gt;Roland</description>
      <pubDate>Wed, 20 Jul 2005 00:01:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585643#M623401</guid>
      <dc:creator>Roland Piette</dc:creator>
      <dc:date>2005-07-20T00:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Descrease filesystem size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585644#M623402</link>
      <description>make a backup of your data before any changes&lt;BR /&gt;&lt;BR /&gt;If you have OnlineJFS. do following steps.&lt;BR /&gt;1. fsadm -F vxfs -d -D -e -E /mountpoint&lt;BR /&gt;2. fsadm -F vxfs -b 4096000 /mountpoint&lt;BR /&gt;3. lvreduce -L 4096 /dev/vg00/lvol12&lt;BR /&gt;&lt;BR /&gt;Note: &lt;BR /&gt;-b with new fs size in KB&lt;BR /&gt;-L with new fs size in MB</description>
      <pubDate>Wed, 20 Jul 2005 00:07:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585644#M623402</guid>
      <dc:creator>Matthew_50</dc:creator>
      <dc:date>2005-07-20T00:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Descrease filesystem size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585645#M623403</link>
      <description>If your FS is an even multiple of the extents, it may work. OnlineJFS, although advertised that is can resize, grow and reduce, rarely works correctly on a reduce. As other said, ensure your apps aren't running, and get a solid backup before attempting to reduce.</description>
      <pubDate>Sat, 23 Jul 2005 16:09:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585645#M623403</guid>
      <dc:creator>Kevin Wright</dc:creator>
      <dc:date>2005-07-23T16:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Descrease filesystem size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585646#M623404</link>
      <description>You can safely assume that reducing a filesystem size will DESTROY data on your logical volume. Only if you are running 11.11 *AND* have purchased Online JFS version 3.3 *AND* the filesystem has been created or converted to version 4, will a reduction work. So in the majority of cases, your procedure will always be:&lt;BR /&gt; &lt;BR /&gt;1. save all the files and directories (tape or another disk)&lt;BR /&gt; &lt;BR /&gt;2. Un-mount the lvol&lt;BR /&gt; &lt;BR /&gt;3. lvremove the lvol&lt;BR /&gt; &lt;BR /&gt;4. Re-create the lvol in the size you want&lt;BR /&gt; &lt;BR /&gt;5. newfs the lvol&lt;BR /&gt; &lt;BR /&gt;6. mount the new filesystem&lt;BR /&gt; &lt;BR /&gt;7. Restore your data</description>
      <pubDate>Sat, 23 Jul 2005 21:16:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585646#M623404</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-07-23T21:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Descrease filesystem size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585647#M623405</link>
      <description>Hi Bruno,&lt;BR /&gt;&lt;BR /&gt;with the Online JFS product you can shrink the filesystem even if the filesystem is mounted.&lt;BR /&gt;&lt;BR /&gt;Anyway it is the best thing to backup all data before because it always is dangerous to shrink. I remeber something about the filesystem version, you should have the 3.3 or 4 version as Bill and Florian pointed out.&lt;BR /&gt;&lt;BR /&gt;The good order is&lt;BR /&gt;&lt;BR /&gt;fsadm -E /&lt;MOUNT point=""&gt;&lt;BR /&gt;fsadm -b /&lt;NEW size=""&gt;M /&lt;MOUNT point=""&gt;&lt;BR /&gt;lvreduce -L &lt;NEW size="" in="" mbytes=""&gt; /dev/vgXX/lvolX&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Fabio&lt;BR /&gt;&lt;BR /&gt;P.S.: a great feature of this forum is to assign points and it is a good to know if the ITRC people helped you or not (it is an etiquette of this forum). I think people helped you and you consider this forum very useful since you opened many threads. So please remember to assign points because 1/165 is not a great result. Thanks for your contribution and good enjoy!&lt;/NEW&gt;&lt;/MOUNT&gt;&lt;/NEW&gt;&lt;/MOUNT&gt;</description>
      <pubDate>Sun, 24 Jul 2005 12:35:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/descrease-filesystem-size/m-p/3585647#M623405</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2005-07-24T12:35:54Z</dc:date>
    </item>
  </channel>
</rss>

