免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1359 | 回复: 8
打印 上一主题 下一主题

硬盘空间问题,请教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-02-15 21:24 |只看该作者 |倒序浏览
在N4000上装了一个oracle,单独给了它一块盘,17个G,可是我用/opt/ignite/bin/print_manifest 命令看了一下系统,发现用11个G没用,而现在oracle空间已经用了72%,如果我想把这11个G用起来该如何作。万分感谢。
/dev/vg01/oralv            /oracle        6000  vxfs
/dev/vg01                  unallocated    11360

论坛徽章:
0
2 [报告]
发表于 2004-02-16 01:32 |只看该作者

硬盘空间问题,请教

Hi,

You can extend the /dev/vg01/oralv:

umount /oracle
lvextend -L 17360M /dev/vg01/oralv
extendfs -v vxfs /dev/vg01/roralv
mount /dev/vg01/oralv  /oracle

This will use up ALL the disk space in the vg01.

Hope this helps.

论坛徽章:
0
3 [报告]
发表于 2004-02-16 01:57 |只看该作者

硬盘空间问题,请教

谢谢。
因为我们的系统正在使用,请问对oracle会不会有什么什么影响。
再次感谢。

论坛徽章:
0
4 [报告]
发表于 2004-02-16 09:16 |只看该作者

硬盘空间问题,请教

zenith,

You will have to shutdown oracle before you can use the method I mentioned. But if you have OnlineJFS software installed, then you can extend the LV without umount the file system:

# lvextend -L 17360M /dev/vg01/oralv
# fsadm -F vxfs -b 17360M /oracle

These 2 commands will extend the file system of /oracle without impacting your running oracle.

Hope this helps.

论坛徽章:
0
5 [报告]
发表于 2004-02-16 09:56 |只看该作者

硬盘空间问题,请教

谢谢,我去试试。

论坛徽章:
0
6 [报告]
发表于 2004-02-16 14:45 |只看该作者

硬盘空间问题,请教

我觉的上面的做法不是很安全(如果离线扩的话,万一没成功,怎么办呢?)
建议先把lv 的文件拷到其它地方,把vg下的lv全lvremove,再lvcreate和newfs
最后把文件拷过来,再mount上,我想安全性较高。

论坛徽章:
0
7 [报告]
发表于 2004-02-16 14:56 |只看该作者

硬盘空间问题,请教

command "fsadm" online resize the file sytem.
This operation need license.

论坛徽章:
0
8 [报告]
发表于 2004-04-05 15:22 |只看该作者

硬盘空间问题,请教

谢谢,我还没有作这个操作,一直没敢,但现在看来不作不行了,请问上面所说的方法哪个可行啊。谢谢了。

论坛徽章:
0
9 [报告]
发表于 2004-04-07 11:10 |只看该作者

硬盘空间问题,请教

shutdown db/备份文件/删除fs,lv/重建lv,fs/恢复文件
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP