<?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: how to extend /root in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-extend-root/m-p/4390838#M350198</link>
    <description>Hello Jayola,&lt;BR /&gt;&lt;BR /&gt;There are three ways to achieve what you want:&lt;BR /&gt;&lt;BR /&gt;1. Clear the root file system by deleting unwanted files.&lt;BR /&gt;a) du -kx | sort -rn | head -20&lt;BR /&gt;   Now look for file you don't require and delete or move them.&lt;BR /&gt;&lt;BR /&gt;Also, keep a track of yout root files sys growth size....it should not growing heavily.&lt;BR /&gt;   &lt;BR /&gt;   &lt;BR /&gt;2. Add another disk to Vg00 and do a pvmove of lvol4 and the extend lvol3 because lvol1,2,3 needs to be contiguous (a hectic and time taking method).&lt;BR /&gt;#/usr/sbin/pvmove -n lvol4_path source_pv_path dest_pv_path  (you do this only for lvol4 or even for lvol5 depends on space requirement)&lt;BR /&gt;Extend the root LV.&lt;BR /&gt;#lvextend -L 4000 /dev/vg00/lvol3&lt;BR /&gt;#fsadm -b 4000M /&lt;BR /&gt;&lt;BR /&gt;For illustrative examples on this have a look on this link.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.symmetricwebsites.com/articles/HP-UX/hpuxDynamicallyExtendSlashAndOrStand.php" target="_blank"&gt;http://www.symmetricwebsites.com/articles/HP-UX/hpuxDynamicallyExtendSlashAndOrStand.php&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;3. Take ignite backup of VG00 and restore it, while restoring you can change the root fs size. This would be easy I suppose. But if you are going with this, take at least two good ignite backups. While booting from tape you can select "interactive" snd "advance" optons to set file sizes.&lt;BR /&gt;&lt;BR /&gt;Hope this help !!&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;R.K.</description>
    <pubDate>Tue, 31 Mar 2009 03:53:53 GMT</pubDate>
    <dc:creator>R.K. #</dc:creator>
    <dc:date>2009-03-31T03:53:53Z</dc:date>
    <item>
      <title>how to extend /root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-extend-root/m-p/4390833#M350193</link>
      <description>somebody tell me how i can extend root for hpux11&lt;BR /&gt;i am new for this</description>
      <pubDate>Tue, 31 Mar 2009 02:38:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-extend-root/m-p/4390833#M350193</guid>
      <dc:creator>jayola</dc:creator>
      <dc:date>2009-03-31T02:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to extend /root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-extend-root/m-p/4390834#M350194</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;you can not just simpley extend root / by lvextend &lt;BR /&gt;&lt;BR /&gt;you need to create ignite backup tape and boot from the tape,&lt;BR /&gt;&lt;BR /&gt;there are many same thread here you can search it will get more and more informaiton. &lt;BR /&gt;</description>
      <pubDate>Tue, 31 Mar 2009 02:44:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-extend-root/m-p/4390834#M350194</guid>
      <dc:creator>avizen9</dc:creator>
      <dc:date>2009-03-31T02:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to extend /root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-extend-root/m-p/4390835#M350195</link>
      <description>First, do a "vgdisplay -v vg00" and a "bdf" to determine what file &lt;BR /&gt;systems you have that are not part of the / file system. Then do a "du -sk &lt;BR /&gt;/* |sort -n" to see the size of what exists under /, ignoring the other &lt;BR /&gt;mounted file systems. This will tell you where most of the space is &lt;BR /&gt;being consumed.&lt;BR /&gt;&lt;BR /&gt;/root File system can only be increased by "Ignite",&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson</description>
      <pubDate>Tue, 31 Mar 2009 03:24:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-extend-root/m-p/4390835#M350195</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-03-31T03:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to extend /root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-extend-root/m-p/4390836#M350196</link>
      <description>Interestingly Mr Google found 7 similar posting on first page from ITRC itself &lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1238473200974+28353475&amp;amp;threadId=1180526" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1238473200974+28353475&amp;amp;threadId=1180526&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=29769" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=29769&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1238473393234+28353475&amp;amp;threadId=1314030" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1238473393234+28353475&amp;amp;threadId=1314030&lt;/A&gt;&lt;BR /&gt;â ¦â ¦â ¦..Please search the forum first before posting. &lt;BR /&gt;&lt;BR /&gt;Regards ..&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Mar 2009 03:25:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-extend-root/m-p/4390836#M350196</guid>
      <dc:creator>DeafFrog</dc:creator>
      <dc:date>2009-03-31T03:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to extend /root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-extend-root/m-p/4390837#M350197</link>
      <description>Check for core files:&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;HOST=`uname -n`&lt;BR /&gt;cat /dev/null &amp;gt;/tmp/core.find.txt&lt;BR /&gt;for i in `find / -name core -type f`&lt;BR /&gt;do&lt;BR /&gt;file ${i} &amp;gt;&amp;gt;/tmp/core.find.txt&lt;BR /&gt;done&lt;BR /&gt;if [ `ls -s /tmp/core.find.txt |awk '{print $1}'` -ne 0 ]; then&lt;BR /&gt;mailx -s "core files on $HOST" you@yourdomain.com fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson</description>
      <pubDate>Tue, 31 Mar 2009 03:25:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-extend-root/m-p/4390837#M350197</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-03-31T03:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to extend /root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-extend-root/m-p/4390838#M350198</link>
      <description>Hello Jayola,&lt;BR /&gt;&lt;BR /&gt;There are three ways to achieve what you want:&lt;BR /&gt;&lt;BR /&gt;1. Clear the root file system by deleting unwanted files.&lt;BR /&gt;a) du -kx | sort -rn | head -20&lt;BR /&gt;   Now look for file you don't require and delete or move them.&lt;BR /&gt;&lt;BR /&gt;Also, keep a track of yout root files sys growth size....it should not growing heavily.&lt;BR /&gt;   &lt;BR /&gt;   &lt;BR /&gt;2. Add another disk to Vg00 and do a pvmove of lvol4 and the extend lvol3 because lvol1,2,3 needs to be contiguous (a hectic and time taking method).&lt;BR /&gt;#/usr/sbin/pvmove -n lvol4_path source_pv_path dest_pv_path  (you do this only for lvol4 or even for lvol5 depends on space requirement)&lt;BR /&gt;Extend the root LV.&lt;BR /&gt;#lvextend -L 4000 /dev/vg00/lvol3&lt;BR /&gt;#fsadm -b 4000M /&lt;BR /&gt;&lt;BR /&gt;For illustrative examples on this have a look on this link.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.symmetricwebsites.com/articles/HP-UX/hpuxDynamicallyExtendSlashAndOrStand.php" target="_blank"&gt;http://www.symmetricwebsites.com/articles/HP-UX/hpuxDynamicallyExtendSlashAndOrStand.php&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;3. Take ignite backup of VG00 and restore it, while restoring you can change the root fs size. This would be easy I suppose. But if you are going with this, take at least two good ignite backups. While booting from tape you can select "interactive" snd "advance" optons to set file sizes.&lt;BR /&gt;&lt;BR /&gt;Hope this help !!&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;R.K.</description>
      <pubDate>Tue, 31 Mar 2009 03:53:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-extend-root/m-p/4390838#M350198</guid>
      <dc:creator>R.K. #</dc:creator>
      <dc:date>2009-03-31T03:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to extend /root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-extend-root/m-p/4390839#M350199</link>
      <description>Thank you very much for quick response its really good, i will try with these options.</description>
      <pubDate>Tue, 31 Mar 2009 03:55:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-extend-root/m-p/4390839#M350199</guid>
      <dc:creator>jayola</dc:creator>
      <dc:date>2009-03-31T03:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to extend /root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-extend-root/m-p/4390840#M350200</link>
      <description>Hi,&lt;BR /&gt;One more suggestion to extend the root step-by-step.&lt;BR /&gt;&lt;BR /&gt;1. The new disk or physical volume must be added to the root volume group vg00.&lt;BR /&gt;# pvcreate /dev/rdsk/c1t1d0&lt;BR /&gt;# vgextend vg00 /dev/dsk/c1t1d0&lt;BR /&gt;&lt;BR /&gt;Check with&lt;BR /&gt;# vgdisplay -v vg00&lt;BR /&gt;&lt;BR /&gt;2. The lv lvol4 has to be moved to the new disk.&lt;BR /&gt;# pvdisplay -v pv_path_original_boot_disk&lt;BR /&gt;&lt;BR /&gt;3. Create a mirror copy of /dev/vg00/lvol4 on the new disk. &lt;BR /&gt;# lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c1t1d0&lt;BR /&gt;&lt;BR /&gt;Check with&lt;BR /&gt;# lvdisplay -v /dev/vg00/lvol4&lt;BR /&gt;&lt;BR /&gt;Reduce the mirrored logical volume on the original boot disk.&lt;BR /&gt;# lvreduce -m 0 /dev/vg00/lvol4 pv_path_original_boot_disk&lt;BR /&gt;&lt;BR /&gt;Check with&lt;BR /&gt;# lvdisplay -v /dev/vg00/lvol4&lt;BR /&gt;&lt;BR /&gt;If you do not have a MirrorDisk-UX license alternative is pvmove: for safety takke Ignite-UX' make_tape_recovery.&lt;BR /&gt;&lt;BR /&gt;# pvmove -n /dev/vg00/lvol4 pv_path_original_boot_disk /dev/dsk/c1t1d0&lt;BR /&gt;NOTE: Due to a system error, during an active pvmove command, data corruption may occur. &lt;BR /&gt;&lt;BR /&gt;4. Increase lvol3 now. For extending the size of the file system multiple of 32MB has to be chosen, e.g.&lt;BR /&gt;# lvextend -L 512 /dev/vg00/lvol3&lt;BR /&gt;&lt;BR /&gt;5. Now, the file system can be extended.&lt;BR /&gt;# fsadm -F vxfs -b 512M /&lt;BR /&gt;NOTE: You need to add M directly to the lv_size_MB value.&lt;BR /&gt;&lt;BR /&gt;6. Please test with bdf &lt;BR /&gt;# bdf&lt;BR /&gt;&lt;BR /&gt;7. and then move lvol4 back.&lt;BR /&gt;# lvextend -m 1 /dev/vg00/lvol4 pv_path_original_boot_disk&lt;BR /&gt;Check with&lt;BR /&gt;# lvdisplay -v /dev/vg00/lvol4&lt;BR /&gt;Reduce the mirrored logical volume on the spare disk.&lt;BR /&gt;# lvreduce -m 0 /dev/vg00/lvol4 /dev/dsk/c1t1d0&lt;BR /&gt;Check with&lt;BR /&gt;# lvdisplay -v /dev/vg00/lvol4&lt;BR /&gt;&lt;BR /&gt;If you do not have a MirrorDisk-UX license you may choose the following alternative:&lt;BR /&gt;# pvmove -n /dev/vg00/lvol4 /dev/dsk/c1t1d0 pv_path_original_boot_disk&lt;BR /&gt;&lt;BR /&gt;8. You can reduce the spare disk from the root volume group now.&lt;BR /&gt;vgreduce vg00 /dev/dsk/c1t1d0&lt;BR /&gt;&lt;BR /&gt;9. Recover any missing links to all of the logical volumes specified in the Boot Data Reserved Area&lt;BR /&gt;   and update the Boot Data Reserved Area of each bootable physical volume in the volume group&lt;BR /&gt;# lvlnboot -R&lt;BR /&gt;# lvlnboot â  v&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Tue, 31 Mar 2009 04:00:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-extend-root/m-p/4390840#M350200</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2009-03-31T04:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to extend /root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-extend-root/m-p/4390841#M350201</link>
      <description>Please have a look on these links&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1238482330859+28353475&amp;amp;threadId=1314030" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1238482330859+28353475&amp;amp;threadId=1314030&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=67237" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=67237&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regards!</description>
      <pubDate>Tue, 31 Mar 2009 05:54:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-extend-root/m-p/4390841#M350201</guid>
      <dc:creator>點燃</dc:creator>
      <dc:date>2009-03-31T05:54:47Z</dc:date>
    </item>
  </channel>
</rss>

