<?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 lvextend problem... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633567#M238085</link>
    <description>Hi all...&lt;BR /&gt;while extending one lv i am getting following error..&lt;BR /&gt;&lt;BR /&gt;# lvextend -L 500 /dev/vgapp01/app1&lt;BR /&gt;lvextend: "LogicalExtentsNumber" is not bigger than current setting.&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;vg info as below...&lt;BR /&gt;# vgdisplay -v /dev/vgapp01 | more&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vgapp01&lt;BR /&gt;VG Write Access             read/write&lt;BR /&gt;VG Status                   available&lt;BR /&gt;Max LV                      255&lt;BR /&gt;Cur LV                      5&lt;BR /&gt;Open LV                     5&lt;BR /&gt;Max PV                      16&lt;BR /&gt;Cur PV                      1&lt;BR /&gt;Act PV                      1&lt;BR /&gt;Max PE per PV               12031&lt;BR /&gt;VGDA                        2&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    12030&lt;BR /&gt;Alloc PE                    10888&lt;BR /&gt;Free PE                     1142&lt;BR /&gt;Total PVG                   0&lt;BR /&gt;Total Spare PVs             0&lt;BR /&gt;Total Spare PVs in use      0&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------&lt;BR /&gt;I think the problem is, in vgdisplay o/p== Max PE per PV = 12031 and Total PE = 12030.&lt;BR /&gt;Can we modify extent size of this partcular vg without unmounting and loss of data.&lt;BR /&gt;&lt;BR /&gt;Urgetly waiting for reply..&lt;BR /&gt;yogesh</description>
    <pubDate>Fri, 23 Sep 2005 10:55:19 GMT</pubDate>
    <dc:creator>YOGI_3</dc:creator>
    <dc:date>2005-09-23T10:55:19Z</dc:date>
    <item>
      <title>lvextend problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633567#M238085</link>
      <description>Hi all...&lt;BR /&gt;while extending one lv i am getting following error..&lt;BR /&gt;&lt;BR /&gt;# lvextend -L 500 /dev/vgapp01/app1&lt;BR /&gt;lvextend: "LogicalExtentsNumber" is not bigger than current setting.&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;vg info as below...&lt;BR /&gt;# vgdisplay -v /dev/vgapp01 | more&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vgapp01&lt;BR /&gt;VG Write Access             read/write&lt;BR /&gt;VG Status                   available&lt;BR /&gt;Max LV                      255&lt;BR /&gt;Cur LV                      5&lt;BR /&gt;Open LV                     5&lt;BR /&gt;Max PV                      16&lt;BR /&gt;Cur PV                      1&lt;BR /&gt;Act PV                      1&lt;BR /&gt;Max PE per PV               12031&lt;BR /&gt;VGDA                        2&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    12030&lt;BR /&gt;Alloc PE                    10888&lt;BR /&gt;Free PE                     1142&lt;BR /&gt;Total PVG                   0&lt;BR /&gt;Total Spare PVs             0&lt;BR /&gt;Total Spare PVs in use      0&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------&lt;BR /&gt;I think the problem is, in vgdisplay o/p== Max PE per PV = 12031 and Total PE = 12030.&lt;BR /&gt;Can we modify extent size of this partcular vg without unmounting and loss of data.&lt;BR /&gt;&lt;BR /&gt;Urgetly waiting for reply..&lt;BR /&gt;yogesh</description>
      <pubDate>Fri, 23 Sep 2005 10:55:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633567#M238085</guid>
      <dc:creator>YOGI_3</dc:creator>
      <dc:date>2005-09-23T10:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633568#M238086</link>
      <description>Could you post the output of "lvdisplay /dev/vgapp01/app1", please?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 23 Sep 2005 10:57:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633568#M238086</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-09-23T10:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633569#M238087</link>
      <description># lvdisplay /dev/vgapp01/app1&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vgapp01/app1&lt;BR /&gt;VG Name                     /dev/vgapp01&lt;BR /&gt;LV Permission               read/write&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;Mirror copies               0&lt;BR /&gt;Consistency Recovery        MWC&lt;BR /&gt;Schedule                    parallel&lt;BR /&gt;LV Size (Mbytes)            4504&lt;BR /&gt;Current LE                  1126&lt;BR /&gt;Allocated PE                1126&lt;BR /&gt;Stripes                     0&lt;BR /&gt;Stripe Size (Kbytes)        0&lt;BR /&gt;Bad block                   on&lt;BR /&gt;Allocation                  strict&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Sep 2005 11:00:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633569#M238087</guid>
      <dc:creator>YOGI_3</dc:creator>
      <dc:date>2005-09-23T11:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633570#M238088</link>
      <description>Hi YOGI,&lt;BR /&gt;&lt;BR /&gt;he problem looks more that you try to extend the lv with a smaller size then he now is.&lt;BR /&gt;I regon you want to make the filesystem 5000 MB big. Probebly you forget a 0 in the 500.&lt;BR /&gt;&lt;BR /&gt;grtz. Mark</description>
      <pubDate>Fri, 23 Sep 2005 11:02:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633570#M238088</guid>
      <dc:creator>Mark Nieuwboer</dc:creator>
      <dc:date>2005-09-23T11:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633571#M238089</link>
      <description>When using the '-L' option in lvextend, you must enter the NEW size of the LV.  In your command you say you want to extned to LV to 500 MB.  But according to your lvdisplay, that LV is already at 4504 MB.  So your command didn't work.&lt;BR /&gt;&lt;BR /&gt;If you want to extend the LV to 5000 MB, do:&lt;BR /&gt;&lt;BR /&gt;# lvextend -L 5000 /dev/vgapp01/app1</description>
      <pubDate>Fri, 23 Sep 2005 11:02:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633571#M238089</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-09-23T11:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633572#M238090</link>
      <description>Do you want the total size of the new LV to be 500MB? or do you want to extend another 500MB to the existing size? With lvextend you need to give the total 'new' size of the LV:&lt;BR /&gt;&lt;BR /&gt;# lvextend -L 'new_size' lv_name</description>
      <pubDate>Fri, 23 Sep 2005 11:03:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633572#M238090</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2005-09-23T11:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633573#M238091</link>
      <description>Your lvol is 4.5Gig in size and you tried to "extend" it to only 500MB!&lt;BR /&gt;&lt;BR /&gt;Add a "0" to increase the size up to 5Gig.</description>
      <pubDate>Fri, 23 Sep 2005 11:04:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633573#M238091</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2005-09-23T11:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633574#M238092</link>
      <description>Hi Yogesh:&lt;BR /&gt;&lt;BR /&gt;Your problem is not that you don't have the space, but rather that you are attempting to *shrink* your logical volume.&lt;BR /&gt;&lt;BR /&gt;The '-L' means the number is in *megabytes* not logical extents as with '-l'.  Your current size is 4,504 MB.&lt;BR /&gt;&lt;BR /&gt;Remember the message said, '"LogicalExtentsNumber" is not bigger than current setting'. :-))&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 23 Sep 2005 11:04:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633574#M238092</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-09-23T11:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633575#M238093</link>
      <description>Exactly as I suspected:  you're trying to extend the logical volume from 1126 extents to 500.  That's not an extension, it's a reduction and that is what the message is telling you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 23 Sep 2005 11:06:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633575#M238093</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-09-23T11:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633576#M238094</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As stated earlier the problem is in the command issued. The size mentioned in lvextend is more than the current size, and same is clearly mentioed in the error reported by command.&lt;BR /&gt;&lt;BR /&gt;Also, the value MAX_PE_PER_PV=12031 and  Total_PE=12030 is not a problem.&lt;BR /&gt;&lt;BR /&gt;MAX_PE_PER_PV defines the max. no. of PEs one physical volume can occupy in that VG. With one disk in a VG , the Value of Total PE can be anything equal to or less than MAX_PE_PER_PV depending upon the size of that  disk.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Fri, 23 Sep 2005 11:11:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633576#M238094</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-09-23T11:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633577#M238095</link>
      <description># lvextend -L 5000 /dev/vgapp01/app1&lt;BR /&gt;Logical volume "/dev/vgapp01/app1" has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/vgapp01 has been saved in /etc/lvmconf/vgapp01.conf&lt;BR /&gt;-----------------------------------&lt;BR /&gt;# lvdisplay /dev/vgapp01/app1&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vgapp01/app1&lt;BR /&gt;VG Name                     /dev/vgapp01&lt;BR /&gt;LV Permission               read/write&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;Mirror copies               0&lt;BR /&gt;Consistency Recovery        MWC&lt;BR /&gt;Schedule                    parallel&lt;BR /&gt;LV Size (Mbytes)            5000&lt;BR /&gt;Current LE                  1250&lt;BR /&gt;Allocated PE                1250&lt;BR /&gt;Stripes                     0&lt;BR /&gt;Stripe Size (Kbytes)        0&lt;BR /&gt;Bad block                   on&lt;BR /&gt;Allocation                  strict&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;----------------------------------&lt;BR /&gt;# bdf | grep /dev/vgapp01/app1&lt;BR /&gt;/dev/vgapp01/app1  4612096 4612096       0  100% /appl&lt;BR /&gt;&lt;BR /&gt;still in bdf its showing 100% AND 4.6GB ONLY&lt;BR /&gt;in lvdisplay its showing 5gb..how isit</description>
      <pubDate>Fri, 23 Sep 2005 11:46:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633577#M238095</guid>
      <dc:creator>YOGI_3</dc:creator>
      <dc:date>2005-09-23T11:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633578#M238096</link>
      <description>Now you have to stop traffic to the lvol, umount the filesystem, extendfs it and mount again, unless you use an online filesystem.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Sep 2005 11:50:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633578#M238096</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2005-09-23T11:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633579#M238097</link>
      <description>You extended the LV, but you have not extended the filesystem.&lt;BR /&gt;&lt;BR /&gt;If you have OnlineJFS / AdvancedJFS installed, you can try:&lt;BR /&gt;&lt;BR /&gt;# fsadm -b 5000m /appl&lt;BR /&gt;&lt;BR /&gt;However, since it is completely full, you will first have to free up a little bit of space.  You can try the fsadm command, but if it fails you will have to temporarily move a file or files elsewhere to free up a little bit of space.&lt;BR /&gt;&lt;BR /&gt;If you don't have Online JFS, then you will have to unmount the fileystem and run:&lt;BR /&gt;&lt;BR /&gt;# extendfs /dev/vgapp01/rapp1&lt;BR /&gt;&lt;BR /&gt;After that, remount the filesystem and your should see 5000 MB available.</description>
      <pubDate>Fri, 23 Sep 2005 11:51:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633579#M238097</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-09-23T11:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633580#M238098</link>
      <description>in detail&lt;BR /&gt;&lt;BR /&gt;# umount /dev/vgapp01/app1 &lt;BR /&gt;# extendfs /dev/vgapp01/rapp1 &lt;BR /&gt;# mount /dev/vgapp01/app1 &lt;MOUNTPOINT&gt;&lt;BR /&gt;&lt;BR /&gt;If OnlineJFS is installed use fsadm, noumount needed.&lt;/MOUNTPOINT&gt;</description>
      <pubDate>Fri, 23 Sep 2005 11:53:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633580#M238098</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2005-09-23T11:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633581#M238099</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You have only extended the LVOL. The file system still need to be extended. If you have online JFS installed, you can do it online uasing fsadm. If you do not have that you will be required to umount the file system and then issue a extendfs.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Fri, 23 Sep 2005 11:54:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633581#M238099</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-09-23T11:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633582#M238100</link>
      <description>thanks a lot goys..&lt;BR /&gt;one more query that..&lt;BR /&gt;if a use fsadm..data will remain as it is right? there wont be any impact on data..m i right?</description>
      <pubDate>Fri, 23 Sep 2005 12:50:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633582#M238100</guid>
      <dc:creator>YOGI_3</dc:creator>
      <dc:date>2005-09-23T12:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633583#M238101</link>
      <description>You are correct.&lt;BR /&gt;&lt;BR /&gt;Extendfs has no impact on data either.</description>
      <pubDate>Fri, 23 Sep 2005 12:52:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633583#M238101</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-09-23T12:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633584#M238102</link>
      <description>I am unable to umount this file system..its giving follwing error..&lt;BR /&gt;how can i kill user using this fs&lt;BR /&gt;&lt;BR /&gt;# cd /&lt;BR /&gt;# umount /dev/vgapp01/app1&lt;BR /&gt;umount: cannot unmount /appl : Device busy&lt;BR /&gt;umount: return error 1.&lt;BR /&gt;#&lt;BR /&gt;------------</description>
      <pubDate>Fri, 23 Sep 2005 13:07:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633584#M238102</guid>
      <dc:creator>YOGI_3</dc:creator>
      <dc:date>2005-09-23T13:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633585#M238103</link>
      <description>Hi :&lt;BR /&gt;&lt;BR /&gt;You can use 'fuser' to kill processes that are preventing the unmount.  Be careful.  This is not very graceful.&lt;BR /&gt;&lt;BR /&gt;I would make sure you know *what* is using the filesystem first:&lt;BR /&gt;&lt;BR /&gt;# fuser -cu /mountpoint&lt;BR /&gt;&lt;BR /&gt;...will show the 'pid' and user of the processes using /mountpoint.&lt;BR /&gt;&lt;BR /&gt;If you do:&lt;BR /&gt;&lt;BR /&gt;# fuser -k /mountpoint&lt;BR /&gt;&lt;BR /&gt;...you will kill the process.&lt;BR /&gt;&lt;BR /&gt;Depending on what is using the filesystem, and *IF* you don't have OnlineJFS to enable dynamically extending it, you may want to arrange for an orderly application shutdown first, before attempting to kill anything.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 23 Sep 2005 13:19:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633585#M238103</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-09-23T13:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633586#M238104</link>
      <description>You don't have onlineJFS?&lt;BR /&gt;&lt;BR /&gt;try &lt;BR /&gt;&lt;BR /&gt;fuser -fu /&lt;MOUNTPOINT&gt;&lt;BR /&gt;&lt;BR /&gt;to list the processes using the filesystem.&lt;BR /&gt;&lt;BR /&gt;Since the lvol is called "app1" I assume there are running applications there. You have to stop the app...&lt;/MOUNTPOINT&gt;</description>
      <pubDate>Fri, 23 Sep 2005 13:20:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-problem/m-p/3633586#M238104</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2005-09-23T13:20:55Z</dc:date>
    </item>
  </channel>
</rss>

