Today there are system applications to tell me that the database of two server space is almost full, I log on to the server to see the discovery of the root directory 3G space only less than 100 trillion, the following drawings
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/82/48/wKioL1dP8vigjbBgAAB0jVSKLm0669.jpg-wh_500x0-wm_3 -wmp_4-s_3382652845.jpg "title=" 1.jpg "alt=" Wkiol1dp8vigjbbgaab0jvsklm0669.jpg-wh_50 "/>
List the most space-intensive files in the root directory
$du-amx/|sort-rn |head-n
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/82/49/wKiom1dP8qSjA4G8AAA4ttt6Q3E789.jpg-wh_500x0-wm_3 -wmp_4-s_385089181.jpg "title=" 2.jpg "alt=" Wkiom1dp8qsja4g8aaa4ttt6q3e789.jpg-wh_50 "/>
The keyword "/dev/null 2>&1", which is the Cas_agent two bug in Aix 6.1 TL7, please click here for the English introduction of these two bugs http://blog.chinaunix.net/ uid-20274021-id-3216988.html
First look at the AIX system version and Cas_agent service status, found that the system version is really AIX 6.1 TL7, Cas_agent service also opened, sad!
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/82/49/wKiom1dP_IfgLCguAABDnxD1-Gc738.jpg-wh_500x0-wm_3 -wmp_4-s_2852466548.jpg "title=" 4.jpg "alt=" Wkiom1dp_ifglcguaabdnxd1-gc738.jpg-wh_50 "/>
View/dev/null* File
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/82/48/wKioL1dP_quyX9I3AAA5znDkVKg931.jpg-wh_500x0-wm_3 -wmp_4-s_1156389250.jpg "title=" 5.jpg "alt=" Wkiol1dp_quyx9i3aaa5zndkvkg931.jpg-wh_50 "/>
[Email protected]:/>vi/var/opt/tivoli/ep/runtime/nonstop/bin/cas_src.sh, modify the cas_src.sh script
, change "cas_src_log="/dev/null 2>&1 "" to "cas_src_log="/dev/null"to save exit.
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/82/49/wKiom1dP_o_Bws4HAABOf7HpJ5E130.jpg-wh_500x0-wm_3 -wmp_4-s_4182130562.jpg "title=" 6.jpg "alt=" Wkiom1dp_o_bws4haabof7hpj5e130.jpg-wh_50 "/>
Close the Cas_agent service and remove the "/dev/null 2>&1" and restart the Cas_agent service
[email protected]:/>stopsrc-s cas_agent
[email protected]:/>rm '/dev/null 2>&1 '
[email protected]:/>startsrc-s cas_agent
View system space usage again
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/82/48/wKioL1dP9CuDQ7r7AACiYeHuf30425.jpg-wh_500x0-wm_3 -wmp_4-s_2385425613.jpg "title=" 3.jpg "alt=" Wkiol1dp9cudq7r7aaciyehuf30425.jpg-wh_50 "/>
In addition this root directory is too small, do not know how the system installers at that time think, really deceptive, so also to follow the expansion of space, expand the space operation step see another blog post "on AIX system to adjust the directory space."
This article is from the "mirror is not Taiwan" blog, please be sure to keep this source http://kk876435928.blog.51cto.com/3530246/1785556
IBM P750 Aix machine Root space Full problem resolution