<?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: filesystem full /opt in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full-opt/m-p/5145689#M453540</link>
    <description>&amp;gt; size: 142577664 Kbytes&lt;BR /&gt;&amp;gt; But Disk Info shows only 136GB.. I do not know y?&lt;BR /&gt;&lt;BR /&gt;142 577 664 / 1024 / 1024 = 136 when rounded to integers.&lt;BR /&gt;&lt;BR /&gt;Regarding your disk space problem:&lt;BR /&gt;&lt;BR /&gt;You have created a /data filesystem in vg00. &lt;BR /&gt;This is not recommended (although growing standard partitions like /opt to huge size would be even worse).&lt;BR /&gt;&lt;BR /&gt;The recommended practice is to use the system disks for the OS only, and to create new VGs for application binaries and data. &lt;BR /&gt;&lt;BR /&gt;I guess your /opt is so big because you have something like /opt/oracle in there?&lt;BR /&gt;&lt;BR /&gt;Shrinking existing filesystems is not recommended and is not guaranteed to be successful.&lt;BR /&gt;&lt;BR /&gt;The bottom line is: you need more physical disks!&lt;BR /&gt;&lt;BR /&gt;The recommended practice would be to add two or more disks, configure a desired RAID level, then use the new disks in a new VG, for example /dev/vgoracle. Choose your vgcreate options wisely so that the VG will allow expansion to a large number of large disks, if necessary.&lt;BR /&gt;&lt;BR /&gt;Create /dev/vgoracle/lvol1 for Oracle binaries and /dev/vgoracle/lvol2 for Oracle data. Mount them temporarily to some suitable location:&lt;BR /&gt;mkdir /mnt /mnt2&lt;BR /&gt;mount /dev/vgoracle/lvol1 /mnt&lt;BR /&gt;mount /dev/vgoracle/lvol2 /mnt2&lt;BR /&gt;&lt;BR /&gt;Stop Oracle.&lt;BR /&gt;Copy the Oracle binaries to a new location:&lt;BR /&gt;&lt;BR /&gt;cd /opt/oracle&lt;BR /&gt;tar cf - . | (cd /mnt; tar xvf -)&lt;BR /&gt;&lt;BR /&gt;Set the permissions of the /mnt directory to the same as /opt/oracle.&lt;BR /&gt;&lt;BR /&gt;cd /opt&lt;BR /&gt;mv oracle oracle.old&lt;BR /&gt;mkdir /opt/oracle&lt;BR /&gt;umount /mnt&lt;BR /&gt;&lt;BR /&gt;Edit /etc/fstab to indicate that /dev/vgoracle/lvol1 should be mounted to /opt/oracle at system boot.&lt;BR /&gt;&lt;BR /&gt;mount /opt/oracle&lt;BR /&gt;&lt;BR /&gt;Now you have the Oracle binaries on a new disk, but all the file paths are the same as before.&lt;BR /&gt;&lt;BR /&gt;Restart Oracle and test. &lt;BR /&gt;If everything works, you can remove /opt/oracle.old and your /opt will no longer be full.&lt;BR /&gt;If there is a problem, rollback is simple:&lt;BR /&gt;- umount /opt/oracle&lt;BR /&gt;- comment out /opt/oracle line in /etc/fstab&lt;BR /&gt;- mv /opt/oracle /opt/oracle.failed&lt;BR /&gt;- mv /opt/oracle.old /opt/oracle&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The next step would be to do the same to the /data filesystem. This is simpler because /data is already a mountpoint:&lt;BR /&gt;&lt;BR /&gt;Stop Oracle.&lt;BR /&gt;cd /data&lt;BR /&gt;tar cf - . | (cd /mnt2; tar xvf -)&lt;BR /&gt;&lt;BR /&gt;Set the permissions and ownership of the /mnt2 directory to match /data.&lt;BR /&gt;&lt;BR /&gt;umount /mnt2&lt;BR /&gt;umount /data&lt;BR /&gt;&lt;BR /&gt;Edit /etc/fstab to indicate that /dev/vgoracle/lvol2 should be mounted to /data instead of /dev/vg00/oracle.&lt;BR /&gt;&lt;BR /&gt;mount /data&lt;BR /&gt;&lt;BR /&gt;Restart Oracle and test. If everything works, you can run "lvremove /dev/vg00/oracle". After this, you will have a lot of free PEs which you can use to extend other LVs of vg00, if/when necessary.&lt;BR /&gt;&lt;BR /&gt;If there is a problem, rollback will be:&lt;BR /&gt;- umount /data&lt;BR /&gt;- edit /etc/fstab to indicate that /dev/vg00/oracle should be mounted to /data&lt;BR /&gt;- mount /data&lt;BR /&gt;&lt;BR /&gt;After this complete procedure, your Oracle binaries and data will be on a dedicated vgoracle volume group, which can continue to expand in the future.&lt;BR /&gt;&lt;BR /&gt;MK</description>
    <pubDate>Wed, 10 Dec 2008 15:25:25 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2008-12-10T15:25:25Z</dc:date>
    <item>
      <title>filesystem full /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full-opt/m-p/5145686#M453537</link>
      <description>OS: 11iV2&lt;BR /&gt;H/w: Integrity&lt;BR /&gt;Total Disk Capacity: 146GB&lt;BR /&gt;# diskinfo /dev/rdsk/c0t0d0&lt;BR /&gt;SCSI describe of /dev/rdsk/c0t0d0:&lt;BR /&gt;             vendor: HP&lt;BR /&gt;         product id: IR Volume&lt;BR /&gt;               type: direct access&lt;BR /&gt;               size: 142577664 Kbytes&lt;BR /&gt;   bytes per sector: 512&lt;BR /&gt;&lt;BR /&gt;****But Disk Info shows only 136GB.. I do not know y?&lt;BR /&gt;&lt;BR /&gt;# ./bdfmegs -g&lt;BR /&gt;File-System       Gbytes    Used   Avail %Used Mounted on&lt;BR /&gt;/dev/vg00/lvol3        1       0       0   27% /&lt;BR /&gt;/dev/vg00/lvol1        1       0       1    8% /stand&lt;BR /&gt;/dev/vg00/lvol8        8       6       2   75% /var&lt;BR /&gt;/dev/vg00/lvol7       50       2      47    5% /usr&lt;BR /&gt;/dev/vg00/lvol4        5       0       4    4% /tmp&lt;BR /&gt;/dev/vg00/lvol6       10       9       0  100% /opt&lt;BR /&gt;/dev/vg00/lvol5        0       0       0    2% /home&lt;BR /&gt;/dev/vg00/oracle      50      18      29   39% /data&lt;BR /&gt;&lt;BR /&gt;here my /opt is full...&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg00&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                      9&lt;BR /&gt;Open LV                     9&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               4332&lt;BR /&gt;VGDA                        2&lt;BR /&gt;PE Size (Mbytes)            32&lt;BR /&gt;Total PE                    4322&lt;BR /&gt;Alloc PE                    4322&lt;BR /&gt;Free PE                     0&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;PV Name                     /dev/dsk/c0t0d0s2&lt;BR /&gt;PV Status                   available&lt;BR /&gt;Total PE                    4322&lt;BR /&gt;Free PE                     0&lt;BR /&gt;Autoswitch                  On&lt;BR /&gt;Proactive Polling           On&lt;BR /&gt;&lt;BR /&gt;I cannot delete anything in /opt... &lt;BR /&gt;Please advise if i will have to reduce on of the other file systems or is there any other way to Increase /opt..&lt;BR /&gt;&lt;BR /&gt;# strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c0t0d0s2&lt;BR /&gt;&lt;BR /&gt;# ioscan -kfnC disk&lt;BR /&gt;Class        I  H/W Path       Driver    S/W State   H/W Type     Description&lt;BR /&gt;==============================================================================&lt;BR /&gt;disk         0  0/2/1/0.0.0.0.0  sdisk     CLAIMED     DEVICE       HP      IR V&lt;BR /&gt;olume&lt;BR /&gt;                              /dev/dsk/c0t0d0     /dev/rdsk/c0t0d0&lt;BR /&gt;                              /dev/dsk/c0t0d0s1   /dev/rdsk/c0t0d0s1&lt;BR /&gt;                              /dev/dsk/c0t0d0s2   /dev/rdsk/c0t0d0s2&lt;BR /&gt;                              /dev/dsk/c0t0d0s3   /dev/rdsk/c0t0d0s3&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;PLz Advise&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Dec 2008 14:43:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full-opt/m-p/5145686#M453537</guid>
      <dc:creator>Grayh</dc:creator>
      <dc:date>2008-12-10T14:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: filesystem full /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full-opt/m-p/5145687#M453538</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Your current vg00 has no free physical extents to increase the size of anything.  Beyond that, based on utilization percentages, you seem to have a grossly mis-configurated vg00. &lt;BR /&gt;&lt;BR /&gt;What's worse, is that you have a non-operating system filesystem on vg00 --- apparently some Oracle stuff.&lt;BR /&gt;&lt;BR /&gt;Best practices say that you want to keep vg00 solely devoted to the standard HP-UX vg00 filesystems so that vg00 recovery, cloning and operating system updates are easily encapsulated.&lt;BR /&gt;&lt;BR /&gt;I suggest that you create an Ignite make_tape_recovery backup and re-Ignite your server.  Choose the advanced installation mode of Ignite and *resize* your filesystems to more appropriate sizes.&lt;BR /&gt;&lt;BR /&gt;Based on your 'ioscan' it appears that you have only one disk!?  You really need to purchase more and move the non-OS "stuff" there.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 10 Dec 2008 14:53:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full-opt/m-p/5145687#M453538</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-12-10T14:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: filesystem full /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full-opt/m-p/5145688#M453539</link>
      <description>I would suggest taking an Ignite tape backup and using it to re-configure your file system layout.  Your /usr FS has 50GB which is only 5% utilized.  I would reduce the size of that to somewhere around 10GB and use the remaining 40GB to enlarge /opt and /var.&lt;BR /&gt;&lt;BR /&gt;Ignite software and docs can be found here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/IUX/" target="_blank"&gt;http://www.docs.hp.com/en/IUX/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 10 Dec 2008 14:54:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full-opt/m-p/5145688#M453539</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2008-12-10T14:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: filesystem full /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full-opt/m-p/5145689#M453540</link>
      <description>&amp;gt; size: 142577664 Kbytes&lt;BR /&gt;&amp;gt; But Disk Info shows only 136GB.. I do not know y?&lt;BR /&gt;&lt;BR /&gt;142 577 664 / 1024 / 1024 = 136 when rounded to integers.&lt;BR /&gt;&lt;BR /&gt;Regarding your disk space problem:&lt;BR /&gt;&lt;BR /&gt;You have created a /data filesystem in vg00. &lt;BR /&gt;This is not recommended (although growing standard partitions like /opt to huge size would be even worse).&lt;BR /&gt;&lt;BR /&gt;The recommended practice is to use the system disks for the OS only, and to create new VGs for application binaries and data. &lt;BR /&gt;&lt;BR /&gt;I guess your /opt is so big because you have something like /opt/oracle in there?&lt;BR /&gt;&lt;BR /&gt;Shrinking existing filesystems is not recommended and is not guaranteed to be successful.&lt;BR /&gt;&lt;BR /&gt;The bottom line is: you need more physical disks!&lt;BR /&gt;&lt;BR /&gt;The recommended practice would be to add two or more disks, configure a desired RAID level, then use the new disks in a new VG, for example /dev/vgoracle. Choose your vgcreate options wisely so that the VG will allow expansion to a large number of large disks, if necessary.&lt;BR /&gt;&lt;BR /&gt;Create /dev/vgoracle/lvol1 for Oracle binaries and /dev/vgoracle/lvol2 for Oracle data. Mount them temporarily to some suitable location:&lt;BR /&gt;mkdir /mnt /mnt2&lt;BR /&gt;mount /dev/vgoracle/lvol1 /mnt&lt;BR /&gt;mount /dev/vgoracle/lvol2 /mnt2&lt;BR /&gt;&lt;BR /&gt;Stop Oracle.&lt;BR /&gt;Copy the Oracle binaries to a new location:&lt;BR /&gt;&lt;BR /&gt;cd /opt/oracle&lt;BR /&gt;tar cf - . | (cd /mnt; tar xvf -)&lt;BR /&gt;&lt;BR /&gt;Set the permissions of the /mnt directory to the same as /opt/oracle.&lt;BR /&gt;&lt;BR /&gt;cd /opt&lt;BR /&gt;mv oracle oracle.old&lt;BR /&gt;mkdir /opt/oracle&lt;BR /&gt;umount /mnt&lt;BR /&gt;&lt;BR /&gt;Edit /etc/fstab to indicate that /dev/vgoracle/lvol1 should be mounted to /opt/oracle at system boot.&lt;BR /&gt;&lt;BR /&gt;mount /opt/oracle&lt;BR /&gt;&lt;BR /&gt;Now you have the Oracle binaries on a new disk, but all the file paths are the same as before.&lt;BR /&gt;&lt;BR /&gt;Restart Oracle and test. &lt;BR /&gt;If everything works, you can remove /opt/oracle.old and your /opt will no longer be full.&lt;BR /&gt;If there is a problem, rollback is simple:&lt;BR /&gt;- umount /opt/oracle&lt;BR /&gt;- comment out /opt/oracle line in /etc/fstab&lt;BR /&gt;- mv /opt/oracle /opt/oracle.failed&lt;BR /&gt;- mv /opt/oracle.old /opt/oracle&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The next step would be to do the same to the /data filesystem. This is simpler because /data is already a mountpoint:&lt;BR /&gt;&lt;BR /&gt;Stop Oracle.&lt;BR /&gt;cd /data&lt;BR /&gt;tar cf - . | (cd /mnt2; tar xvf -)&lt;BR /&gt;&lt;BR /&gt;Set the permissions and ownership of the /mnt2 directory to match /data.&lt;BR /&gt;&lt;BR /&gt;umount /mnt2&lt;BR /&gt;umount /data&lt;BR /&gt;&lt;BR /&gt;Edit /etc/fstab to indicate that /dev/vgoracle/lvol2 should be mounted to /data instead of /dev/vg00/oracle.&lt;BR /&gt;&lt;BR /&gt;mount /data&lt;BR /&gt;&lt;BR /&gt;Restart Oracle and test. If everything works, you can run "lvremove /dev/vg00/oracle". After this, you will have a lot of free PEs which you can use to extend other LVs of vg00, if/when necessary.&lt;BR /&gt;&lt;BR /&gt;If there is a problem, rollback will be:&lt;BR /&gt;- umount /data&lt;BR /&gt;- edit /etc/fstab to indicate that /dev/vg00/oracle should be mounted to /data&lt;BR /&gt;- mount /data&lt;BR /&gt;&lt;BR /&gt;After this complete procedure, your Oracle binaries and data will be on a dedicated vgoracle volume group, which can continue to expand in the future.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 10 Dec 2008 15:25:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full-opt/m-p/5145689#M453540</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2008-12-10T15:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: filesystem full /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full-opt/m-p/5145690#M453541</link>
      <description>I have initially thought of the same ... but here I had only two disks in the server and there is no other source to back them up.. In case of a fail over.. And so I have setup a h/w Raid and could be the reason y it is showing only 1 disk in ioscan ....</description>
      <pubDate>Wed, 10 Dec 2008 15:28:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full-opt/m-p/5145690#M453541</guid>
      <dc:creator>Grayh</dc:creator>
      <dc:date>2008-12-10T15:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: filesystem full /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full-opt/m-p/5145691#M453542</link>
      <description>But then I will keep your advises in mind... And if ordered more disks... May be I will go ahead to re Ignite the server &amp;amp; create a different vg for the oracle... &lt;BR /&gt;&lt;BR /&gt;But I had no other choice left other then implement a h/w raid on the two available disks so reduce the probability of fail over in worst situation.. wherein if one of the disks fail down also.... The other disk will take over... keeping the data safe..</description>
      <pubDate>Wed, 10 Dec 2008 15:38:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full-opt/m-p/5145691#M453542</guid>
      <dc:creator>Grayh</dc:creator>
      <dc:date>2008-12-10T15:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: filesystem full /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full-opt/m-p/5145692#M453543</link>
      <description>so...in summary, they've already told you:&lt;BR /&gt;a) you have no available space on the disks you have,&lt;BR /&gt;b) ideally, vg00 should be OS-only&lt;BR /&gt;c) you need more disks&lt;BR /&gt;&lt;BR /&gt;if you really have to use just what you've got, I would question why "/usr" is 50GB (same size as "/data").  as you can see, it is 95% free...and it shouldn't grow much or very fast.&lt;BR /&gt;&lt;BR /&gt;I'd consider igniting the box again and redistributing that space elsewhere.&lt;BR /&gt;&lt;BR /&gt;Not an ideal solution, but works with the limitations you've expressed.</description>
      <pubDate>Wed, 10 Dec 2008 16:00:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full-opt/m-p/5145692#M453543</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-12-10T16:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: filesystem full /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full-opt/m-p/5145693#M453544</link>
      <description>Thanks every one...</description>
      <pubDate>Wed, 10 Dec 2008 16:31:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full-opt/m-p/5145693#M453544</guid>
      <dc:creator>Grayh</dc:creator>
      <dc:date>2008-12-10T16:31:12Z</dc:date>
    </item>
  </channel>
</rss>

