西方经济学 发表于 2011-12-23 03:49

/tmp所在文件系统空间超过2T引起的灾难?

<DIV><FONT size=2 face=楷体_GB2312>&nbsp;&nbsp;&nbsp; 近期一个同事去客户那边升级系统,包括硬件和软件。客户提供了一台新的高配的机器,所以此次升级工作从操作系统的安装配置,数据库的安装部署,以及程序的配置。</FONT>

<DIV><FONT size=2 face=楷体_GB2312>&nbsp;&nbsp;&nbsp; 客户提供的机器包含5块1.8T的本地硬盘(根据现场反馈回来的信息),所以在操作系统的安装的时候就出了一点点小问题,这个就不在这里讨论了,后面一会儿说说。</FONT></DIV>
<P><FONT size=2>在操作系统安装好之后,就进行了相关配置和数据库安装准备工作,在执行runInstaller之后,遇到以下问题:</FONT></P>
<P><FONT color=#f00000 size=2>Checking installer requirements...Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2 Passed<BR>All installer requirements met.Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-01-23_01-50-10PM. Please wait ...Error in writing to directory /tmp/OraInstall2010-01-23_01-50-10PM. Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue.: No such file or directory<BR></FONT><FONT color=#f00000><FONT color=#000000></FONT></FONT></P>
<P><FONT color=#f00000><FONT color=#000000 size=2>根据报错信息来看:系统提示/tmp文件系统oracle不可读或者空间不足60M。</FONT></FONT></P>
<P><FONT color=#f00000><FONT color=#000000 size=2>第一感觉就是去查看/tmp oracle用户的可读性和可用空间,发现均正常。所以说有时间oracle的报错提示不一定是准确的。</FONT></FONT></P><FONT color=#f00000>
<P style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt" class=MsoNormal align=left><SPAN style="FONT-FAMILY: 'Courier New'; BACKGROUND: #d9d9d9; FONT-SIZE: 9pt; mso-bidi-font-weight: bold; mso-shading: white; mso-pattern: gray-15 auto" lang=EN-US><FONT color=#000000>于是查看MOS,发现以下信息,根据这个信息找到了问题的原因:</FONT></SPAN></P>
<P style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt" class=MsoNormal align=left><SPAN style="FONT-FAMILY: 'Courier New'; BACKGROUND: #d9d9d9; FONT-SIZE: 9pt; mso-bidi-font-weight: bold; mso-shading: white; mso-pattern: gray-15 auto" lang=EN-US><FONT color=#000000></FONT></SPAN></P>
<P style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt" class=MsoNormal align=left><SPAN style="FONT-FAMILY: 'Courier New'; BACKGROUND: #d9d9d9; FONT-SIZE: 9pt; mso-bidi-font-weight: bold; mso-shading: white; mso-pattern: gray-15 auto" lang=EN-US><FONT color=#000000>OUI will not continue, even with -ignoresysprereqs option.</FONT></SPAN></P>
<P style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt" class=MsoNormal align=left><FONT color=#000000><SPAN style="FONT-FAMILY: 'Courier New'; BACKGROUND: #d9d9d9; FONT-SIZE: 9pt; mso-bidi-font-weight: bold; mso-shading: white; mso-pattern: gray-15 auto" lang=EN-US>1</SPAN><SPAN style="FONT-FAMILY: 宋体; BACKGROUND: #d9d9d9; FONT-SIZE: 9pt; mso-bidi-font-weight: bold; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'; mso-bidi-font-family: 'Courier New'; mso-shading: white; mso-pattern: gray-15 auto">)、</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; BACKGROUND: #d9d9d9; FONT-SIZE: 9pt; mso-bidi-font-weight: bold; mso-shading: white; mso-pattern: gray-15 auto" lang=EN-US>/tmp may be either a partition, or a simple sub-directory </SPAN></FONT></P>
<P style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt" class=MsoNormal align=left><FONT color=#000000><SPAN style="FONT-FAMILY: 'Courier New'; BACKGROUND: #d9d9d9; FONT-SIZE: 9pt; mso-bidi-font-weight: bold; mso-shading: white; mso-pattern: gray-15 auto" lang=EN-US>2</SPAN><SPAN style="FONT-FAMILY: 宋体; BACKGROUND: #d9d9d9; FONT-SIZE: 9pt; mso-bidi-font-weight: bold; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'; mso-bidi-font-family: 'Courier New'; mso-shading: white; mso-pattern: gray-15 auto">)、</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; BACKGROUND: #d9d9d9; FONT-SIZE: 9pt; mso-bidi-font-weight: bold; mso-shading: white; mso-pattern: gray-15 auto" lang=EN-US>/tmp has LOTS of free space, over 2Tb available, and only a small amount is used. </SPAN></FONT></P>
<P style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt" class=MsoNormal align=left><FONT color=#000000><SPAN style="FONT-FAMILY: 'Courier New'; BACKGROUND: #d9d9d9; FONT-SIZE: 9pt; mso-bidi-font-weight: bold; mso-shading: white; mso-pattern: gray-15 auto" lang=EN-US>3</SPAN><SPAN style="FONT-FAMILY: 宋体; BACKGROUND: #d9d9d9; FONT-SIZE: 9pt; mso-bidi-font-weight: bold; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'; mso-bidi-font-family: 'Courier New'; mso-shading: white; mso-pattern: gray-15 auto">)、</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; BACKGROUND: #d9d9d9; FONT-SIZE: 9pt; mso-bidi-font-weight: bold; mso-shading: white; mso-pattern: gray-15 auto" lang=EN-US>/tmp is write-able by the Oracle account</SPAN></FONT></P>
<P style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt" class=MsoNormal align=left><SPAN style="FONT-FAMILY: 'Courier New'; BACKGROUND: #d9d9d9; FONT-SIZE: 9pt; mso-bidi-font-weight: bold; mso-shading: white; mso-pattern: gray-15 auto" lang=EN-US><FONT color=#000000></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'; BACKGROUND: #d9d9d9; FONT-SIZE: 9pt; mso-bidi-font-weight: bold; mso-shading: white; mso-pattern: gray-15 auto" lang=EN-US><FONT color=#000000>32-bit Oracle process that is checking /tmp is failing since it is only capable of addressing 2Tb.</FONT></SPAN></P>
<P style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt" class=MsoNormal align=left><SPAN style="FONT-FAMILY: 'Courier New'; BACKGROUND: #d9d9d9; FONT-SIZE: 9pt; mso-bidi-font-weight: bold; mso-shading: white; mso-pattern: gray-15 auto" lang=EN-US><FONT color=#000000></FONT></SPAN></P>
<P style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt" class=MsoNormal align=left><FONT color=#000000><SPAN style="FONT-FAMILY: 宋体; BACKGROUND: #d9d9d9; FONT-SIZE: 9pt; mso-bidi-font-weight: bold; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'; mso-bidi-font-family: 'Courier New'; mso-shading: white; mso-pattern: gray-15 auto">解决办法:</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; BACKGROUND: #d9d9d9; FONT-SIZE: 9pt; mso-bidi-font-weight: bold; mso-shading: white; mso-pattern: gray-15 auto" lang=EN-US>Mount a partition as /tmp that is less that 2Tb.</SPAN></FONT></P>
<P style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt" class=MsoNormal align=left><FONT color=#000000><SPAN style="FONT-FAMILY: 'Courier New'; BACKGROUND: #d9d9d9; FONT-SIZE: 9pt; mso-bidi-font-weight: bold; mso-shading: white; mso-pattern: gray-15 auto" lang=EN-US></SPAN></FONT></P>
<P style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt" class=MsoNormal align=left><FONT color=#000000><SPAN style="FONT-FAMILY: 'Courier New'; BACKGROUND: #d9d9d9; FONT-SIZE: 9pt; mso-bidi-font-weight: bold; mso-shading: white; mso-pattern: gray-15 auto" lang=EN-US>后记:这个问题的引发还是与那五块1.8T的硬盘说起,由于linux支持在大约2T的引导,所以工程师在做存储规划时做了两个raid的,一个raid1,一个raid5。而在操作系统安装的时候根分区包含了这两个raid组,这样就导致了根分区有7T左右空间,而/tmp在其下,所以引发OUI不能正常工作了。</SPAN></FONT></P></FONT></DIV>
页: [1]
查看完整版本: /tmp所在文件系统空间超过2T引起的灾难?