<?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: fsadm -b in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930547#M620045</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What is the PE_Size? The multiplication of PE_Size and no. of PE's will give you the new file system size in MB.&lt;BR /&gt;&lt;BR /&gt;No. of sectors will be got by dividing this size by sector size.&lt;BR /&gt;&lt;BR /&gt;Also you can define the size in MB as well in the command line itself.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
    <pubDate>Fri, 30 Sep 2005 13:32:46 GMT</pubDate>
    <dc:creator>Devender Khatana</dc:creator>
    <dc:date>2005-09-30T13:32:46Z</dc:date>
    <item>
      <title>fsadm -b</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930544#M620042</link>
      <description>I'm adding a SAN disk to a server to extend /dev/vg09 (/u03/oradata).&lt;BR /&gt;&lt;BR /&gt;I've done the following so far:&lt;BR /&gt;pvcreate /dev/rdsk/c9t1d0&lt;BR /&gt;vgextend /dev/vg09 /dev/dsk/c9t1d0&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v /dev/vg09 to verify disk added&lt;BR /&gt;&lt;BR /&gt;The total PE (Physical extents) is 12156 and the Allocated PE is 10557.&lt;BR /&gt;&lt;BR /&gt;Note: We have online JFS.&lt;BR /&gt;&lt;BR /&gt;Now I want to extend the logical volume:&lt;BR /&gt;lvextend -l 12156 /dev/vg09/lvol1&lt;BR /&gt;&lt;BR /&gt;Then I need to extend the File System.&lt;BR /&gt;Is this the correct command?&lt;BR /&gt;fsadm -F vxfs -b &lt;SECTORS&gt; /u03/oradata&lt;BR /&gt;&lt;BR /&gt;AND HOW do I calculate the sectors?&lt;BR /&gt;&lt;/SECTORS&gt;</description>
      <pubDate>Fri, 30 Sep 2005 13:01:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930544#M620042</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2005-09-30T13:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm -b</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930545#M620043</link>
      <description>Hi Kevin:&lt;BR /&gt;&lt;BR /&gt;If you do:&lt;BR /&gt;&lt;BR /&gt;# fstyp -v /dev/vgNN/lvolX&lt;BR /&gt;&lt;BR /&gt;...and look at the value of 'f_frsize' you will have the VxFS block (sector) size.  This will be a power of two starting at 1024 (the usual value).&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 30 Sep 2005 13:14:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930545#M620043</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-09-30T13:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm -b</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930546#M620044</link>
      <description>Its actually easier to just specify the size value in MB.&lt;BR /&gt;&lt;BR /&gt;fsadm -F vxfs -b &lt;SIZEINMB&gt;m /filesystem&lt;BR /&gt;&lt;BR /&gt;Say you want to extend a filesystem to 512MB.&lt;BR /&gt;&lt;BR /&gt;fsadm -F vxfs -b 512m /filesystem&lt;/SIZEINMB&gt;</description>
      <pubDate>Fri, 30 Sep 2005 13:31:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930546#M620044</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-09-30T13:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm -b</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930547#M620045</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What is the PE_Size? The multiplication of PE_Size and no. of PE's will give you the new file system size in MB.&lt;BR /&gt;&lt;BR /&gt;No. of sectors will be got by dividing this size by sector size.&lt;BR /&gt;&lt;BR /&gt;Also you can define the size in MB as well in the command line itself.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Fri, 30 Sep 2005 13:32:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930547#M620045</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-09-30T13:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm -b</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930548#M620046</link>
      <description>James,&lt;BR /&gt;&lt;BR /&gt;I did the fstyp and found that the block size is 8192.  To calculate the number of sectors for the entire disk do I just mulitply that by the total  number of PE's?</description>
      <pubDate>Fri, 30 Sep 2005 13:35:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930548#M620046</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2005-09-30T13:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm -b</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930549#M620047</link>
      <description>I also to the size in mb&lt;BR /&gt;&lt;BR /&gt;example &lt;BR /&gt;&lt;BR /&gt;if I wanted to add 4gb to a 4gb lv I would do &lt;BR /&gt;&lt;BR /&gt;lvextend -L $(( 4096+4096)) /dev/vg/lv&lt;BR /&gt;fsadm -F vxfs -b $(( (4096 + 4096) * 1024)) /fs&lt;BR /&gt;&lt;BR /&gt;what you can do is lvdisplay your logical volume. &lt;BR /&gt;&lt;BR /&gt;and take the MB size and put it in fsadm &lt;BR /&gt;LV Size (Mbytes)            300&lt;BR /&gt;&lt;BR /&gt;fsadm -F vxfs -b 300m /fs &lt;BR /&gt;or &lt;BR /&gt;fsadm -F vxfs -b $((300 * 1024)) /fs&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Sep 2005 13:36:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930549#M620047</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2005-09-30T13:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm -b</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930550#M620048</link>
      <description>Is this correct?&lt;BR /&gt;&lt;BR /&gt;  PE  size    32&lt;BR /&gt;* # of PE's 1599&lt;BR /&gt;           -----&lt;BR /&gt;=          51168&lt;BR /&gt;*           1024&lt;BR /&gt;           -----&lt;BR /&gt;=     52,396,032&lt;BR /&gt;      ==========&lt;BR /&gt;&lt;BR /&gt;So my command would be&lt;BR /&gt;fsadm -F vxfs -b 52396032 /u03/oradata&lt;BR /&gt;or&lt;BR /&gt;fsadm -F vxfs -b 51158M /u03/oradata&lt;BR /&gt;&lt;BR /&gt;The disk I'm adding is 50 GB.</description>
      <pubDate>Fri, 30 Sep 2005 13:43:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930550#M620048</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2005-09-30T13:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm -b</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930551#M620049</link>
      <description>It's not the amount you are adding, but the NEW size of the filesystem.  It appears that you extended vg09/lvol1 to 12156 LE's.&lt;BR /&gt;&lt;BR /&gt;So "12156 (number of LE) * 32 (PE size)" = 388992 MB.  Is that correct?&lt;BR /&gt;&lt;BR /&gt;So to extend the filesystem:&lt;BR /&gt;&lt;BR /&gt;fsadm -b 388992m /u03/oradata&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Sep 2005 13:48:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930551#M620049</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-09-30T13:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm -b</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930552#M620050</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;No this is not correct.&lt;BR /&gt;&lt;BR /&gt;You need to give the final size not the size by which you are extending.&lt;BR /&gt;&lt;BR /&gt;So here the command should be&lt;BR /&gt;&lt;BR /&gt;#fsadm -F vxfs -b 388992m /u03/oradata&lt;BR /&gt;&lt;BR /&gt;(Where your LVOL size is currently 388992 MB).&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Fri, 30 Sep 2005 13:50:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930552#M620050</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-09-30T13:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm -b</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930553#M620051</link>
      <description>Thanks for catching that.&lt;BR /&gt;&lt;BR /&gt;So yes it is:&lt;BR /&gt;PE size      32&lt;BR /&gt;# PE's    12156&lt;BR /&gt;       --------&lt;BR /&gt;         388992&lt;BR /&gt;*          1024&lt;BR /&gt;       --------&lt;BR /&gt;    398,327,808&lt;BR /&gt;&lt;BR /&gt;So now the command would be either:&lt;BR /&gt;fsadm -F vxfs -b 398327808 /u03/oradata&lt;BR /&gt;or&lt;BR /&gt;fsadm -F vxfs -b 38892M /u03/oradata&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 30 Sep 2005 13:56:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930553#M620051</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2005-09-30T13:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm -b</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930554#M620052</link>
      <description>You are mostly correct.  You use a lower case 'm' not a capital M.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Sep 2005 13:58:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930554#M620052</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-09-30T13:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm -b</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930555#M620053</link>
      <description>Use&lt;BR /&gt;&lt;BR /&gt;#fsadm -F vxfs -b 388992m /u03/oradata&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Fri, 30 Sep 2005 14:00:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930555#M620053</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-09-30T14:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm -b</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930556#M620054</link>
      <description>After doing lvextend , run &lt;BR /&gt;&lt;BR /&gt;lvdisplay /dev/vgxx/lvolx and see the lvsize &lt;BR /&gt;&lt;BR /&gt;LV Size (Mbytes)            XX&lt;BR /&gt;&lt;BR /&gt;Now use fsadm &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;fsadm -b XXM /mount_point &lt;BR /&gt;&lt;BR /&gt;Thats all ,&lt;BR /&gt;thx,&lt;BR /&gt;bl</description>
      <pubDate>Fri, 30 Sep 2005 14:05:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930556#M620054</guid>
      <dc:creator>baiju_3</dc:creator>
      <dc:date>2005-09-30T14:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm -b</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930557#M620055</link>
      <description>lalb you rule!&lt;BR /&gt;No math woohoo!&lt;BR /&gt;&lt;BR /&gt;Worked like a charm.&lt;BR /&gt;&lt;BR /&gt;Thanks everyone for the input.</description>
      <pubDate>Fri, 30 Sep 2005 14:16:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930557#M620055</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2005-09-30T14:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: fsadm -b</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930558#M620056</link>
      <description>Resolved&lt;BR /&gt;&lt;BR /&gt;By the way I used an "M" and not an "m" in the fsadm command.&lt;BR /&gt;&lt;BR /&gt;It worked.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Sep 2005 14:19:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsadm-b/m-p/4930558#M620056</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2005-09-30T14:19:56Z</dc:date>
    </item>
  </channel>
</rss>

