<?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: lvextend in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5149088#M565703</link>
    <description>Below is a quick guide to extend an LVM with a  VXFS Filesystem.&lt;BR /&gt;&lt;BR /&gt;1. Verify OnLineJFS is installed&lt;BR /&gt;# swlist -l product | grep -i vxfs&lt;BR /&gt;# swlist -l product | grep -i online&lt;BR /&gt;Look for OnlineJFS or AdvJournalFS&lt;BR /&gt;2. It is a good practice to defrag the filesystem first before extending&lt;BR /&gt;# fsadm -d - D -e - E /mountpoint&lt;BR /&gt;&lt;BR /&gt;3. Determine the Logical Volume where the filesystem is mounted.&lt;BR /&gt;# bdf /mountpoint&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;# bdf /var/adm/crash&lt;BR /&gt;Filesystem kbytes used avail %used Mounted on&lt;BR /&gt;/dev/vg00/lv_crash 5357568 2266637 2897770 44% /var/adm/crash&lt;BR /&gt;&lt;BR /&gt;4. Obtain the current size of the Logical Volume (Mbytes)&lt;BR /&gt;# lvdisplay /dev/volumegroup/logicalvolume&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;# lvdisplay /dev/vg00/lv_crash&lt;BR /&gt;â   Logical volumes â  &lt;BR /&gt;LV Name /dev/vg00/lv_crash&lt;BR /&gt;VG Name /dev/vg00&lt;BR /&gt;LV Permission read/write&lt;BR /&gt;LV Status available/syncd&lt;BR /&gt;Mirror copies 1&lt;BR /&gt;Consistency Recovery MWC&lt;BR /&gt;Schedule parallel&lt;BR /&gt;LV Size (Mbytes) 5232&lt;BR /&gt;Current LE 327&lt;BR /&gt;Allocated PE 654&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;5. Our current size is 5232 Mbytes. Let us say that we will extend the filesystem by 100 Mbytes. Get the sum of the current size and the size to be added. This will add to 5332 Mbytes. Take note of this.&lt;BR /&gt;&lt;BR /&gt;6. Adjust the size of the Logical Volume.&lt;BR /&gt;# lvextend -L new_size_in_mbytes&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;# lvextend -L 5332 /dev/vg00/lv_crash&lt;BR /&gt;Logical volume â  /dev/vg00/lv_crashâ   has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf&lt;BR /&gt;&lt;BR /&gt;7. Adjust the size of the Filesystem&lt;BR /&gt;# fsadm -b new_sizem /mountpoint&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;# fsadm -b 5332m /dev/vg00/rlv_crash&lt;BR /&gt;fsadm: /etc/default/fs is used for determining the file system type&lt;BR /&gt;UX:vxfs fsadm: INFO: V-3-23585: /dev/vg00/rlv_crash is currently 524288 sectors - size will be increased&lt;BR /&gt;&lt;BR /&gt;8. Verify new size of the filesystem&lt;BR /&gt;# bdf /mountpoint</description>
    <pubDate>Thu, 08 Jan 2009 14:19:46 GMT</pubDate>
    <dc:creator>Cifs 9000</dc:creator>
    <dc:date>2009-01-08T14:19:46Z</dc:date>
    <item>
      <title>lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5149084#M565699</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If we want to lvextend on mirrored /home filesystem...&lt;BR /&gt;do we need to unmirror the filesystem 1st and mirror back later..?&lt;BR /&gt;or just lvextend and follow by fsadm...?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Wed, 07 Jan 2009 04:55:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5149084#M565699</guid>
      <dc:creator>Idham</dc:creator>
      <dc:date>2009-01-07T04:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5149085#M565700</link>
      <description>no need actually. just follow the steps bellow&lt;BR /&gt;&lt;BR /&gt;#lvextend -L &lt;SIZE_WANTED_TO_EXTEND&gt; /dev/vg00/&lt;HOME_LVOL&gt;&lt;BR /&gt;&lt;BR /&gt;#fsadm -F vxfs -b &lt;TOTAL_SIZE&gt;M /home&lt;BR /&gt;&lt;/TOTAL_SIZE&gt;&lt;/HOME_LVOL&gt;&lt;/SIZE_WANTED_TO_EXTEND&gt;</description>
      <pubDate>Wed, 07 Jan 2009 05:03:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5149085#M565700</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2009-01-07T05:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5149086#M565701</link>
      <description>No. you dont need to unmirror the /home FS&lt;BR /&gt;&lt;BR /&gt;lvextend -L (newsize in MB )M lvolname&lt;BR /&gt;fsadm -F vxfs -b (newsize in MB)M /home&lt;BR /&gt;&lt;BR /&gt;Dont forget to give capital M character alongwith newsize.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 07 Jan 2009 06:03:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5149086#M565701</guid>
      <dc:creator>SKR_1</dc:creator>
      <dc:date>2009-01-07T06:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5149087#M565702</link>
      <description>Thanks</description>
      <pubDate>Wed, 07 Jan 2009 06:04:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5149087#M565702</guid>
      <dc:creator>Idham</dc:creator>
      <dc:date>2009-01-07T06:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5149088#M565703</link>
      <description>Below is a quick guide to extend an LVM with a  VXFS Filesystem.&lt;BR /&gt;&lt;BR /&gt;1. Verify OnLineJFS is installed&lt;BR /&gt;# swlist -l product | grep -i vxfs&lt;BR /&gt;# swlist -l product | grep -i online&lt;BR /&gt;Look for OnlineJFS or AdvJournalFS&lt;BR /&gt;2. It is a good practice to defrag the filesystem first before extending&lt;BR /&gt;# fsadm -d - D -e - E /mountpoint&lt;BR /&gt;&lt;BR /&gt;3. Determine the Logical Volume where the filesystem is mounted.&lt;BR /&gt;# bdf /mountpoint&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;# bdf /var/adm/crash&lt;BR /&gt;Filesystem kbytes used avail %used Mounted on&lt;BR /&gt;/dev/vg00/lv_crash 5357568 2266637 2897770 44% /var/adm/crash&lt;BR /&gt;&lt;BR /&gt;4. Obtain the current size of the Logical Volume (Mbytes)&lt;BR /&gt;# lvdisplay /dev/volumegroup/logicalvolume&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;# lvdisplay /dev/vg00/lv_crash&lt;BR /&gt;â   Logical volumes â  &lt;BR /&gt;LV Name /dev/vg00/lv_crash&lt;BR /&gt;VG Name /dev/vg00&lt;BR /&gt;LV Permission read/write&lt;BR /&gt;LV Status available/syncd&lt;BR /&gt;Mirror copies 1&lt;BR /&gt;Consistency Recovery MWC&lt;BR /&gt;Schedule parallel&lt;BR /&gt;LV Size (Mbytes) 5232&lt;BR /&gt;Current LE 327&lt;BR /&gt;Allocated PE 654&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;5. Our current size is 5232 Mbytes. Let us say that we will extend the filesystem by 100 Mbytes. Get the sum of the current size and the size to be added. This will add to 5332 Mbytes. Take note of this.&lt;BR /&gt;&lt;BR /&gt;6. Adjust the size of the Logical Volume.&lt;BR /&gt;# lvextend -L new_size_in_mbytes&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;# lvextend -L 5332 /dev/vg00/lv_crash&lt;BR /&gt;Logical volume â  /dev/vg00/lv_crashâ   has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf&lt;BR /&gt;&lt;BR /&gt;7. Adjust the size of the Filesystem&lt;BR /&gt;# fsadm -b new_sizem /mountpoint&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;# fsadm -b 5332m /dev/vg00/rlv_crash&lt;BR /&gt;fsadm: /etc/default/fs is used for determining the file system type&lt;BR /&gt;UX:vxfs fsadm: INFO: V-3-23585: /dev/vg00/rlv_crash is currently 524288 sectors - size will be increased&lt;BR /&gt;&lt;BR /&gt;8. Verify new size of the filesystem&lt;BR /&gt;# bdf /mountpoint</description>
      <pubDate>Thu, 08 Jan 2009 14:19:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5149088#M565703</guid>
      <dc:creator>Cifs 9000</dc:creator>
      <dc:date>2009-01-08T14:19:46Z</dc:date>
    </item>
  </channel>
</rss>

