<?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: lvm in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3469255#M211396</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;it is better first you findout why /usr is full.&lt;BR /&gt;give the following command to findout files in /usr which is more than 1MB&lt;BR /&gt;&lt;BR /&gt;find /usr -size +1000000c -exec ll {} \;&lt;BR /&gt;&lt;BR /&gt;for files more than 10MB use 7 zeros after 1.&lt;BR /&gt;&lt;BR /&gt;regds,</description>
    <pubDate>Mon, 24 Jan 2005 02:11:40 GMT</pubDate>
    <dc:creator>bhavin asokan</dc:creator>
    <dc:date>2005-01-24T02:11:40Z</dc:date>
    <item>
      <title>lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3469253#M211394</link>
      <description>hello all,&lt;BR /&gt;&lt;BR /&gt;1.My /usr is full. how to expand the file system?&lt;BR /&gt;&lt;BR /&gt;steps pls.&lt;BR /&gt;&lt;BR /&gt;2.if any docs available for secuirty checklist for an production env.?&lt;BR /&gt;&lt;BR /&gt;thanks in advance&lt;BR /&gt;&lt;BR /&gt;tar&lt;BR /&gt;siva</description>
      <pubDate>Mon, 24 Jan 2005 01:51:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3469253#M211394</guid>
      <dc:creator>sjana</dc:creator>
      <dc:date>2005-01-24T01:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3469254#M211395</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;first check you are having enough free extents.&lt;BR /&gt;#vgdisplay vg00&lt;BR /&gt;&lt;BR /&gt;reboot in single user mode&lt;BR /&gt;interrupt the boot process.go to ISL.then give the command hpux -is&lt;BR /&gt;&lt;BR /&gt;/sbin/lvextend -L &lt;NEW size="" in="" mb=""&gt; /dev/vg00/lvolxx&lt;BR /&gt;&lt;BR /&gt;/sbin/extendfs -F vxfs /dev/vg00/rlvolxx&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;reboot the system&lt;BR /&gt;&lt;BR /&gt;regds,&lt;BR /&gt;&lt;/NEW&gt;</description>
      <pubDate>Mon, 24 Jan 2005 02:07:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3469254#M211395</guid>
      <dc:creator>bhavin asokan</dc:creator>
      <dc:date>2005-01-24T02:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3469255#M211396</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;it is better first you findout why /usr is full.&lt;BR /&gt;give the following command to findout files in /usr which is more than 1MB&lt;BR /&gt;&lt;BR /&gt;find /usr -size +1000000c -exec ll {} \;&lt;BR /&gt;&lt;BR /&gt;for files more than 10MB use 7 zeros after 1.&lt;BR /&gt;&lt;BR /&gt;regds,</description>
      <pubDate>Mon, 24 Jan 2005 02:11:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3469255#M211396</guid>
      <dc:creator>bhavin asokan</dc:creator>
      <dc:date>2005-01-24T02:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3469256#M211397</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;check whether you have space in the VG in which /usr is (usually under vg00), if the space exist.&lt;BR /&gt;&lt;BR /&gt;check if you Online JFS installed&lt;BR /&gt;#swlist |grep -i jfs&lt;BR /&gt;&lt;BR /&gt;If online JFS exist, use fsadmin to increase the space,&lt;BR /&gt;&lt;BR /&gt;if you don't have OnLine JFS&lt;BR /&gt;&lt;BR /&gt;boot the machine to single user mode (pressing any key within 10sec while rebooting)&lt;BR /&gt;get into ISL mode&lt;BR /&gt;ISL&amp;gt; hpux -iS&lt;BR /&gt;will take you to single user mode&lt;BR /&gt;#mountall&lt;BR /&gt;#umount /usr&lt;BR /&gt;#lvextend -L &lt;NEW sixe="" in="" mb=""&gt; /dev/vg00/lvol7&lt;BR /&gt;#extendfs -F vxfs /dev/vg00/rlvol7&lt;BR /&gt;#mount /dev/vg00/lvol7 /usr&lt;BR /&gt;#init 3&lt;BR /&gt;&lt;BR /&gt;now /usr will be increased to new size that you specified&lt;/NEW&gt;</description>
      <pubDate>Mon, 24 Jan 2005 02:32:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3469256#M211397</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2005-01-24T02:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3469257#M211398</link>
      <description>Below is the script to find out the recent large files. I use this script to easily find recent large files. This is an interactive script. So that you can easily customize your search. If you are able to find some large files which is no longer required delete it. Then you may not have to extend the file system. I am not repeating the steps since already posted.&lt;BR /&gt;&lt;BR /&gt;Attached the tested and working script also.&lt;BR /&gt;&lt;BR /&gt;###############################################################&lt;BR /&gt;&lt;BR /&gt;# find recenty created large files &lt;BR /&gt;&lt;BR /&gt;rm -f find.out&lt;BR /&gt;&lt;BR /&gt;echo&lt;BR /&gt;echo "Enter directory to search"&lt;BR /&gt;read DIRNAME&lt;BR /&gt;&lt;BR /&gt;if [ ! -d $DIRNAME ]&lt;BR /&gt;then&lt;BR /&gt; echo "Error: directory $DIRNAME does not exist"&lt;BR /&gt; exit 1&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;echo&lt;BR /&gt;echo "How large a file do you want to look for ? (in Kbytes)"&lt;BR /&gt;read SIZE&lt;BR /&gt;&lt;BR /&gt;echo&lt;BR /&gt;echo "How many days since the file was created ?"&lt;BR /&gt;read DAYS&lt;BR /&gt;&lt;BR /&gt;echo&lt;BR /&gt;echo "Searching..."&lt;BR /&gt;&lt;BR /&gt;find $DIRNAME -type f -size +$SIZE -mtime -$DAYS -exec ls -ls {} \; | sort -n -r | tee find.out&lt;BR /&gt;&lt;BR /&gt;echo&lt;BR /&gt;echo "Done"&lt;BR /&gt;echo&lt;BR /&gt;echo "Note: output in find.out"&lt;BR /&gt;echo&lt;BR /&gt;##############################################################&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Syam</description>
      <pubDate>Mon, 24 Jan 2005 02:35:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3469257#M211398</guid>
      <dc:creator>Ranjith_5</dc:creator>
      <dc:date>2005-01-24T02:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3469258#M211399</link>
      <description>Hi guru&lt;BR /&gt;&lt;BR /&gt;I think the most safe way is boot to single mode.There will be lot of processes which has started from /usr. You need to boot into single user mode or lvm maintenance mode.&lt;BR /&gt;&lt;BR /&gt;and then&lt;BR /&gt;&lt;BR /&gt;umount /usr (it will not be mounted though)&lt;BR /&gt;lvextend -L newsize /dev/vg00/lvol5&lt;BR /&gt;extendfs -F vxfs /dev/vg00/rlvol5&lt;BR /&gt;mount /usr&lt;BR /&gt;&lt;BR /&gt;Goodluck to you&lt;BR /&gt;HoangChiCong</description>
      <pubDate>Mon, 24 Jan 2005 03:16:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3469258#M211399</guid>
      <dc:creator>Hoang Chi Cong_1</dc:creator>
      <dc:date>2005-01-24T03:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3469259#M211400</link>
      <description>Of course, you can do it withow rebooting your server if you have Online JFS,&lt;BR /&gt;But depend on the application is running on your system and how many proccess is running on /usr filesystem, you have to kill all of them (that means there is no proccess access to /usr filesystem). Not sure that will you successful because some time, it success but sometime if failure.&lt;BR /&gt;&lt;BR /&gt;As all of the member and exper in our forum, recommend : DO IT IN SINGLE USER MODE....&lt;BR /&gt;&lt;BR /&gt;Best and regard,&lt;BR /&gt;HoangChiCong</description>
      <pubDate>Mon, 24 Jan 2005 03:28:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3469259#M211400</guid>
      <dc:creator>Hoang Chi Cong_1</dc:creator>
      <dc:date>2005-01-24T03:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3469260#M211401</link>
      <description>2. &lt;BR /&gt;There's a few things: &lt;BR /&gt;- Read the HP-UX Bastion Host howto, of course You can't apply all of it on a real production system, but everything that can be used will be helpful.&lt;BR /&gt;- Download and (carefully) run HP-UX Bastille to check permissions and such.&lt;BR /&gt;It generates a report You should work through with another person to cross-check it. afterwards apply the changes You think to be reasonable.&lt;BR /&gt;- there's also a script for crontab that does a security patch assessment, run that every week or so.</description>
      <pubDate>Mon, 24 Jan 2005 09:49:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3469260#M211401</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2005-01-24T09:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3469261#M211402</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Booting to Single User Mode &amp;amp; lvextend will work only if you have some free space in your root volume group or spare disk to be added to Root volume Group.&lt;BR /&gt;&lt;BR /&gt;What if it is not there ?&lt;BR /&gt;&lt;BR /&gt;Space assigned in some other File System of Root Volume Group is more &amp;amp; it can be reduced to compensate the increase in /usr file system.&lt;BR /&gt;&lt;BR /&gt;For achiving this you need to take ignite backup of server and restore it. &lt;BR /&gt;&lt;BR /&gt;This can be accomlished by : -&lt;BR /&gt;#make_tape_recovery -Ava /dev/rmt/xmn&lt;BR /&gt;&lt;BR /&gt;Where /dev/rmt/xmn is your tape/DLT drive device file.&lt;BR /&gt;&lt;BR /&gt;It will take backup of all files of vg00 Volume group &amp;amp; configuration. &lt;BR /&gt;&lt;BR /&gt;While restoring you can resize all of your file systems including root. The best way is to restore on some spare disk if available &amp;amp; keep original disk intact before system comes back normal.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Tue, 25 Jan 2005 00:16:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3469261#M211402</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-01-25T00:16:41Z</dc:date>
    </item>
  </channel>
</rss>

