ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Oracle Datafile Space Management in IBM AIX

Oracle Datafile Space Management in IBM AIX

原创 Linux操作系统 作者:licheng79 时间:2011-10-26 16:37:26 0 删除 编辑

DBA Notes: 2011/10/09

Cheng Li

 

Oracle Datafile Space Management in IBM AIX

 

An example shows how to allocate space for Oracle datafile in IBM AIX.

Scenario: we will add 4 GB to 8 Gb to one oracle directory /archdestdmdb as following: (It is a logical volume under AIX.)  

root@roam:/>df –k /dev/archdestdmdblv

Filesystem            1024-blocks    Free    %Used    Iused %Iused Mounted on
/dev/archdestdmdblv     4194304     1877108   56%      502     1% /archdestdmdb

We apply extend Logical Volume to enlarge the LV to be 20G as following:

root@roam:/>extendlv archdestdmdblv 24576M

root@roam:/>df -k
Filesystem    1024-blocks      Free %Used    Iused %Iused Mounted on
/dev/archdestdmdblv     4194304   2086756   51%      525     1% /archdestdmdb
root@roam:/>lsvg archdm_dg
VOLUME GROUP:       archdm_dg                VG IDENTIFIER:  00c1fc7600004c000000012b385bbd52
VG STATE:           active                   PP SIZE:        64 megabyte(s)
VG PERMISSION:      read/write               TOTAL PPs:      2686 (171904 megabytes)
MAX LVs:            256                      FREE PPs:      
384 (24576 megabytes)
LVs:                37                       USED PPs:       2302 (147328 megabytes)
OPEN LVs:           37                       QUORUM:         8 (Enabled)
TOTAL PVs:          14                       VG DESCRIPTORS: 14
STALE PVs:          0                        STALE PPs:      0
ACTIVE PVs:         14                       AUTO ON:        no
MAX PPs per VG:     32512
MAX PPs per PV:     1016                     MAX PVs:        32
LTG size:           128 kilobyte(s)          AUTO SYNC:      no
HOT SPARE:          no                       BB POLICY:      relocatable
root@roam:/>lsvg -l archdm_dg
archdm_dg:
LV NAME             TYPE       LPs     PPs     PVs  LV STATE      MOUNT POINT
archdestdmdblv      jfs2       64      64      1    open/syncd    /archdestdmdb

 

Reference:

http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds3/ln.htm

http://www.ahinc.com/aix/file.htm

http://networktechnologist.com/tips-aix-lvm.html

http://www.justlinux.com/forum/archive/index.php/t-130266.html

 

20111009112123074c2.jpg

日本公司发明最逼真面具3.jpg

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26136400/viewspace-709734/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: Oracle Undo Management
请登录后发表评论 登录
全部评论

注册时间:2011-09-07

  • 博文量
    54
  • 访问量
    84441