<?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: lvreduce - bdf in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831753#M635232</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I agree with Shiju,you most've a full back-up of this FS,then follow the steps as they are mentioned by Shiju,then restore the data from prev. back-up.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hamdy</description>
    <pubDate>Wed, 23 Oct 2002 13:02:39 GMT</pubDate>
    <dc:creator>Hamdy Al-Sebaey</dc:creator>
    <dc:date>2002-10-23T13:02:39Z</dc:date>
    <item>
      <title>lvreduce - bdf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831743#M635222</link>
      <description>Hi there&lt;BR /&gt;&lt;BR /&gt;I was constrained to reduce a logical volume with the command lvreduce -L 1500 /dev/vg00/lvol12.&lt;BR /&gt;&lt;BR /&gt;This wasn't a problem, it was possible to gave the new space to another lvol. By the command 'lvextend', you have to use also the command 'extendfs'. After this command the display from the command 'bdf' is for the lvextendet-lvol correct, but by the lvreduce-lvol is the display still the old size. &lt;BR /&gt;How I can change also this display?</description>
      <pubDate>Wed, 23 Oct 2002 12:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831743#M635222</guid>
      <dc:creator>Konrad Hegner</dc:creator>
      <dc:date>2002-10-23T12:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce - bdf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831744#M635223</link>
      <description>The normal practise for a lvreduce can be:&lt;BR /&gt;1) Backup file system&lt;BR /&gt;2) unmount file system&lt;BR /&gt;3) lvreduce -L new_size lvol_name&lt;BR /&gt;4) newfs -F FS_name rlvol_name&lt;BR /&gt;5) mount file system&lt;BR /&gt;6) Restore from backup&lt;BR /&gt;7) bdf</description>
      <pubDate>Wed, 23 Oct 2002 12:47:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831744#M635223</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-10-23T12:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce - bdf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831745#M635224</link>
      <description>Ok, but in this case I lose all datas from this lvol.(?)&lt;BR /&gt;If there no other way without losing the datas.&lt;BR /&gt;&lt;BR /&gt;(I know normaly you have to do a backup, delete the lvol, create it new and restore the datas. But I look for a faster and easier way for my labor-system!)</description>
      <pubDate>Wed, 23 Oct 2002 12:51:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831745#M635224</guid>
      <dc:creator>Konrad Hegner</dc:creator>
      <dc:date>2002-10-23T12:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce - bdf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831746#M635225</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if you want to decrease size of filesystem online, you must install and use onelinejfs&lt;BR /&gt;product (not free product). With this product&lt;BR /&gt;you can extend or reduce a filesystem online,&lt;BR /&gt;with fsadm command (with -b option).&lt;BR /&gt;If it was the cas you'll performed:&lt;BR /&gt;#fsadm -F vxfs -b &lt;NEW size=""&gt; /mount_point&lt;BR /&gt;#lvreduce -L &lt;NEW size=""&gt; /dev/vgxx/lvolyy&lt;BR /&gt;&lt;BR /&gt;Bye, Jerome Swiniarski.&lt;/NEW&gt;&lt;/NEW&gt;</description>
      <pubDate>Wed, 23 Oct 2002 12:54:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831746#M635225</guid>
      <dc:creator>Jerome Swiniarski</dc:creator>
      <dc:date>2002-10-23T12:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce - bdf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831747#M635226</link>
      <description>I'm afraid the filesystem on the lvol you reduced is wasted.  I wouldn't trust it.&lt;BR /&gt;&lt;BR /&gt;Even with Online (Advanced) JFS, reducing the size of a filesystem is problematic.&lt;BR /&gt;&lt;BR /&gt;I'd say is time to get started restoring from a backup.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Wed, 23 Oct 2002 12:56:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831747#M635226</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2002-10-23T12:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce - bdf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831748#M635227</link>
      <description>if you do not have Online Jfs&lt;BR /&gt;&lt;BR /&gt;Then&lt;BR /&gt;&lt;BR /&gt;1. lvextend -L xxxM /dev/vgnn/XXXX&lt;BR /&gt;2. umount /&lt;FILE-SYSTEM&gt;&lt;BR /&gt;3. extendfs -F vxfs /dev/vgnn/rXXXX&lt;BR /&gt;4.mount /dev/vg01/lvhome /home&lt;BR /&gt;&lt;BR /&gt;If you have OnlineJFS then&lt;BR /&gt;&lt;BR /&gt;# lvextend -L xxxx /dev/vgnn/XXXX &lt;BR /&gt;# fsadm -F vxfs -b xxxxxx /&lt;FILE-SYSTEM&gt; &lt;BR /&gt;&lt;BR /&gt;But both ways &lt;BR /&gt;&lt;BR /&gt;###############&lt;BR /&gt;Backup is important&lt;BR /&gt;#################&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/FILE-SYSTEM&gt;&lt;/FILE-SYSTEM&gt;</description>
      <pubDate>Wed, 23 Oct 2002 12:56:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831748#M635227</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-10-23T12:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce - bdf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831749#M635228</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I think that now you have a valid filesystem (the extended one) and a corrupted one (the lvreduced one).&lt;BR /&gt;&lt;BR /&gt;I can see that you know that you have the lv level and the fs level. You should have reduced also the filesystem level BEFORE reducing the lv level. From the system view all structures of the reduced lvol are the ones of the old size, but if you try to access data, you will get an IO error. If you had OnlineJFS installed, perhaps it would have been possible to do it online (especially with JFS 3.3). Without it or with HFS you have to umount the filesystem and use fsam with a smaller size.&lt;BR /&gt;&lt;BR /&gt;Try a fsck on the reduced lvol but I think that you now have to use newfs after unmounting to repair.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Jean-Louis.</description>
      <pubDate>Wed, 23 Oct 2002 12:57:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831749#M635228</guid>
      <dc:creator>Jean-Louis Phelix</dc:creator>
      <dc:date>2002-10-23T12:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce - bdf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831750#M635229</link>
      <description>lvreduce is for the lvol&lt;BR /&gt;&lt;BR /&gt;fsadm, as part of onlineJFS, is the equivalent for the filesystem.. &lt;BR /&gt;&lt;BR /&gt;of course it's a terrible idea to do an lvreduce without doing a filesystem reduction beforehand..&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Oct 2002 12:58:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831750#M635229</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-10-23T12:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce - bdf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831751#M635230</link>
      <description>The answer is: Online JFS which is an optional product. Even then, until you have JFS 3.3 versions, reducing a filesystem is tenuous at best and should be assumed to be a destructive event as far as the data goes. Logical volumes are not filesystems. They can contain a filesystem (or swap or raw data, etc) but there is no connection between the lvol and a contained filesystem. &lt;BR /&gt;&lt;BR /&gt;An lvol is simply a container, and filesystems don't always stay at the bottom of the container. The HFS filesystem immediately places superblocks across the entire lvol when newfs (mkfs) is run, so reduction is always destructive. JFS is a bit better but without Online JFS ver 3.3, you may lose the entire directory once it is reduced.</description>
      <pubDate>Wed, 23 Oct 2002 12:58:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831751#M635230</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-10-23T12:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce - bdf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831752#M635231</link>
      <description>Eventhough the best practise is to backup the file system, you could also try the fsadm option if you have online JFS installed:&lt;BR /&gt;&lt;BR /&gt;# fsadm -F vxfs -b [lv_size_MB]M /mount_point (reduce file system)&lt;BR /&gt;# lvreduce -L [lv_size_MB] lvol_name (reduce lvol)&lt;BR /&gt;# bdf</description>
      <pubDate>Wed, 23 Oct 2002 13:00:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831752#M635231</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-10-23T13:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: lvreduce - bdf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831753#M635232</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I agree with Shiju,you most've a full back-up of this FS,then follow the steps as they are mentioned by Shiju,then restore the data from prev. back-up.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hamdy</description>
      <pubDate>Wed, 23 Oct 2002 13:02:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-bdf/m-p/2831753#M635232</guid>
      <dc:creator>Hamdy Al-Sebaey</dc:creator>
      <dc:date>2002-10-23T13:02:39Z</dc:date>
    </item>
  </channel>
</rss>

