今天发现公司的oracle测试 数据库不能启动,检查警告日志日志,提示归档空间不足,不能归档,于是扩展文件系统: 1、检查rootvg卷组的剩余空间
[p2704u]:[/dsg/oracle11]$ lsvg -p rootvg
[p2704u]:[/dsg/oracle11]$ lsvg -p rootvg
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk0 active 546 60 00..00..00..00..60
# df -g
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 2.25 0.49 79% 9408 8% /
/dev/hd2 4.62 0.11 98% 89987 75% /usr
/dev/hd9var 2.00 0.77 62% 5025 3% /var
/dev/hd3 4.00 2.17 46% 9913 2% /tmp
/dev/hd1 5.00 3.78 25% 1475 1% /home
/proc - - - - - /proc
/dev/hd10opt 2.00 1.69 16% 5139 2% /opt
/dev/lv9i 12.00 7.87 35% 13521 1% /oracle9i
/dev/lvdsg 50.00 25.33 50% 87439 2% /dsg
/dev/lv00 0.12 0.12 4% 18 1% /var/adm/csd
/dev/lv11g 12.00 0.44 97% 39543 28% /oracle11
2、扩展
2、扩展
# chfs -a size=+2G /oracle11
Filesystem size changed to 29360128
#
#
3、检查
3、检查
# df -g
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 2.25 0.49 79% 9408 8% /
/dev/hd2 4.62 0.11 98% 89987 75% /usr
/dev/hd9var 2.00 0.77 62% 5025 3% /var
/dev/hd3 4.00 2.17 46% 9913 2% /tmp
/dev/hd1 5.00 3.78 25% 1475 1% /home
/proc - - - - - /proc
/dev/hd10opt 2.00 1.69 16% 5139 2% /opt
/dev/lv9i 12.00 7.87 35% 13521 1% /oracle9i
/dev/lvdsg 50.00 25.33 50% 87439 2% /dsg
/dev/lv00 0.12 0.12 4% 18 1% /var/adm/csd
/dev/lv11g 14.00 2.43 83% 39543 7% /oracle11
lv自动扩展了。
lv自动扩展了。
原文链接:http://blog.itpub.net/23062014/viewspace-716245/