免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: dksgqbj
打印 上一主题 下一主题

Temp 表空间满咯。 [复制链接]

论坛徽章:
0
31 [报告]
发表于 2009-03-03 20:20 |只看该作者
AIX系统
lsvg -l vgname 列出卷组中所有逻辑卷  包括类型
再说一句  temp表空间里的数据都没用  可以删了再重建:wink:

[ 本帖最后由 张宇ora 于 2009-3-3 20:21 编辑 ]

论坛徽章:
0
32 [报告]
发表于 2009-03-04 09:31 |只看该作者
谢谢。。。。

论坛徽章:
0
33 [报告]
发表于 2009-03-04 10:43 |只看该作者
原帖由 managergh 于 2009-3-3 13:49 发表
如果是 HP-UX的话

bdf

vgdisplay -v


也是fsck,bdf是看已mount文件系统空间利用率的

论坛徽章:
0
34 [报告]
发表于 2009-03-09 09:42 |只看该作者
现在的问题,我能不能不在新建lv的情况下将新建的表空间数据文件放到盘阵上面?

    高手给点方法。  谢谢。。。。

  我不想新建LV , 比如说,我原来的30G的表空间数据文件方在什么地方, 我要我现在新建的数据文件也放在这个地方。  这样就不会使用  本地硬盘咯, 也不用新建Lv  

    谢谢。。。  不知道这样行不行?

论坛徽章:
0
35 [报告]
发表于 2009-03-09 09:48 |只看该作者
原来的够大就行...

所以我叫你用bdf 看啊

论坛徽章:
0
36 [报告]
发表于 2009-03-09 10:24 |只看该作者
# bdf
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol3     524288  524288       0  100% /
/dev/vg00/lvol1     311296  123800  186064   40% /stand
/dev/vg00/lvol8    4718592 4122272  592656   87% /var
/dev/vg00/lvol7    4194304 2841368 1343248   68% /usr
/dev/vg00/lvol4    2097152 1027072 1062680   49% /tmp
/dev/vg00/oracle   10485760 7936229 2390189   77% /oracle
/dev/vg00/lvol6    4194304 2766944 1416240   66% /opt
/dev/vg00/lvol5    2097152   27816 2053208    1% /home
/dev/vg_arch1/cw_archive1
                   104857600   67232 98241104    0% /arch1
/dev/vg_exp/export 41934848  284803 39046924    1% /exp

论坛徽章:
0
37 [报告]
发表于 2009-03-09 10:42 |只看该作者
# vgdisplay -v
--- Volume groups ---
VG Name                     /dev/vg00
VG Write Access             read/write     
VG Status                   available                 
Max LV                      255   
Cur LV                      9      
Open LV                     9      
Max PV                      16     
Cur PV                      1      
Act PV                      1      
Max PE per PV               4328         
VGDA                        2   
PE Size (Mbytes)            16              
Total PE                    4318   
Alloc PE                    2003   
Free PE                     2315   
Total PVG                   0        
Total Spare PVs             0              
Total Spare PVs in use      0                     

   --- Logical volumes ---
   LV Name                     /dev/vg00/lvol1
   LV Status                   available/syncd           
   LV Size (Mbytes)            304            
   Current LE                  19        
   Allocated PE                19         
   Used PV                     1      

   LV Name                     /dev/vg00/lvol2
   LV Status                   available/syncd           
   LV Size (Mbytes)            4096            
   Current LE                  256      
   Allocated PE                256         
   Used PV                     1      

   LV Name                     /dev/vg00/lvol3
   LV Status                   available/syncd           
   LV Size (Mbytes)            512            
   Current LE                  32        
   Allocated PE                32         
   Used PV                     1      

   LV Name                     /dev/vg00/lvol4
   LV Status                   available/syncd           
   LV Size (Mbytes)            2048            
   Current LE                  128      
   Allocated PE                128         
   Used PV                     1      

   LV Name                     /dev/vg00/lvol5
   LV Status                   available/syncd           
   LV Size (Mbytes)            2048            
   Current LE                  128      
   Allocated PE                128         
   Used PV                     1      

   LV Name                     /dev/vg00/lvol6
   LV Status                   available/syncd           
   LV Size (Mbytes)            4096            
   Current LE                  256      
   Allocated PE                256         
   Used PV                     1      

   LV Name                     /dev/vg00/lvol7
   LV Status                   available/syncd           
   LV Size (Mbytes)            4096            
   Current LE                  256      
   Allocated PE                256         
   Used PV                     1      

   LV Name                     /dev/vg00/lvol8
   LV Status                   available/syncd           
   LV Size (Mbytes)            4608            
   Current LE                  288      
   Allocated PE                288         
   Used PV                     1      

   LV Name                     /dev/vg00/oracle
   LV Status                   available/syncd           
   LV Size (Mbytes)            10240           
   Current LE                  640      
   Allocated PE                640         
   Used PV                     1      


   --- Physical volumes ---
   PV Name                     /dev/dsk/c2t1d0s2
   PV Status                   available               
   Total PE                    4318   
   Free PE                     2315   
   Autoswitch                  On        


VG Name                     /dev/vg_arch1
VG Write Access             read/write     
VG Status                   available, shared, server
Max LV                      255   
Cur LV                      1      
Open LV                     1      
Max PV                      16     
Cur PV                      1      
Act PV                      1      
Max PE per PV               26112        
VGDA                        2   
PE Size (Mbytes)            4               
Total PE                    26108   
Alloc PE                    25600   
Free PE                     508     
Total PVG                   0        
Total Spare PVs             0              
Total Spare PVs in use      0                     

   ---  ---
                                                         
   pcg_x_1                          Server               

   --- Logical volumes ---
   LV Name                     /dev/vg_arch1/cw_archive1
   LV Status                   available/syncd           
   LV Size (Mbytes)            102400         
   Current LE                  25600     
   Allocated PE                25600      
   Used PV                     1      


   --- Physical volumes ---
   PV Name                     /dev/dsk/c6t0d1
   PV Name                     /dev/dsk/c7t0d1  Alternate Link
   PV Status                   available               
   Total PE                    26108   
   Free PE                     508     
   Autoswitch                  On        


vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg_arch2".
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg_lock".
VG Name                     /dev/vg_ora
VG Write Access             read/write     
VG Status                   available, shared, client
Max LV                      255   
Cur LV                      28     
Open LV                     28     
Max PV                      16     
Cur PV                      1      
Act PV                      1      
Max PE per PV               28159        
VGDA                        2   
PE Size (Mbytes)            4               
Total PE                    28155   
Alloc PE                    14972   
Free PE                     13183   
Total PVG                   0        
Total Spare PVs             0              
Total Spare PVs in use      0                     

   ---  ---
                                                         
   pcg_x_2                          Server               
   pcg_x_1                          Client               

   --- Logical volumes ---
   LV Name                     /dev/vg_ora/cw_srvm
   LV Status                   available/syncd           
   LV Size (Mbytes)            100            
   Current LE                  25        
   Allocated PE                25         
   Used PV                     1      

   LV Name                     /dev/vg_ora/cw_spfile
   LV Status                   available/syncd           
   LV Size (Mbytes)            12              
   Current LE                  3         
   Allocated PE                3           
   Used PV                     1      

   LV Name                     /dev/vg_ora/cw_ctl1
   LV Status                   available/syncd           
   LV Size (Mbytes)            128            
   Current LE                  32        
   Allocated PE                32         
   Used PV                     1      

   LV Name                     /dev/vg_ora/cw_ctl2
   LV Status                   available/syncd           
   LV Size (Mbytes)            128            
   Current LE                  32        
   Allocated PE                32         
   Used PV                     1      

   LV Name                     /dev/vg_ora/cw_ctl3
   LV Status                   available/syncd           
   LV Size (Mbytes)            128            
   Current LE                  32        
   Allocated PE                32         
   Used PV                     1      

   LV Name                     /dev/vg_ora/cw_system
   LV Status                   available/syncd           
   LV Size (Mbytes)            4096            
   Current LE                  1024      
   Allocated PE                1024        
   Used PV                     1      

   LV Name                     /dev/vg_ora/cw_users
   LV Status                   available/syncd           
   LV Size (Mbytes)            2048            
   Current LE                  512      
   Allocated PE                512         
   Used PV                     1      

   LV Name                     /dev/vg_ora/cw_indx
   LV Status                   available/syncd           
   LV Size (Mbytes)            2048            
   Current LE                  512      
   Allocated PE                512         
   Used PV                     1      

   LV Name                     /dev/vg_ora/cw_rbs1
   LV Status                   available/syncd           
   LV Size (Mbytes)            4096            
   Current LE                  1024      
   Allocated PE                1024        
   Used PV                     1      

   LV Name                     /dev/vg_ora/cw_rbs2
   LV Status                   available/syncd           
   LV Size (Mbytes)            4096            
   Current LE                  1024      
   Allocated PE                1024        
   Used PV                     1      

   LV Name                     /dev/vg_ora/cw_tools
   LV Status                   available/syncd           
   LV Size (Mbytes)            512            
   Current LE                  128      
   Allocated PE                128         
   Used PV                     1      

   LV Name                     /dev/vg_ora/cw_temp
   LV Status                   available/syncd           
   LV Size (Mbytes)            30720           
   Current LE                  7680      
   Allocated PE                7680        
   Used PV                     1      

   LV Name                     /dev/vg_ora/cw_log11
   LV Status                   available/syncd           
   LV Size (Mbytes)            256            
   Current LE                  64        
   Allocated PE                64         
   Used PV                     1      

   LV Name                     /dev/vg_ora/cw_log12
   LV Status                   available/syncd           
   LV Size (Mbytes)            256            
   Current LE                  64        
   Allocated PE                64         
   Used PV                     1      

   LV Name                     /dev/vg_ora/cw_log13
   LV Status                   available/syncd           
   LV Size (Mbytes)            256            
   Current LE                  64        
   Allocated PE                64         
   Used PV                     1      

   LV Name                     /dev/vg_ora/cw_log21
   LV Status                   available/syncd           
   LV Size (Mbytes)            256            
   Current LE                  64        
   Allocated PE                64         
   Used PV                     1      

   LV Name                     /dev/vg_ora/cw_log22
   LV Status                   available/syncd           
   LV Size (Mbytes)            256            
   Current LE                  64        
   Allocated PE                64         
   Used PV                     1      

   LV Name                     /dev/vg_ora/cw_log23
   LV Status                   available/syncd           
   LV Size (Mbytes)            256            
   Current LE                  64        
   Allocated PE                64         
   Used PV                     1      

   LV Name                     /dev/vg_ora/ora1
   LV Status                   available/syncd           
   LV Size (Mbytes)            1024            
   Current LE                  256      
   Allocated PE                256         
   Used PV                     1      

   LV Name                     /dev/vg_ora/ora2
   LV Status                   available/syncd           
   LV Size (Mbytes)            1024            
   Current LE                  256      
   Allocated PE                256         
   Used PV                     1      

   LV Name                     /dev/vg_ora/ora3
   LV Status                   available/syncd           
   LV Size (Mbytes)            1024            
   Current LE                  256      
   Allocated PE                256         
   Used PV                     1      

   LV Name                     /dev/vg_ora/ora4
   LV Status                   available/syncd           
   LV Size (Mbytes)            1024            
   Current LE                  256      
   Allocated PE                256         
   Used PV                     1      

   LV Name                     /dev/vg_ora/ora5
   LV Status                   available/syncd           
   LV Size (Mbytes)            1024            
   Current LE                  256      
   Allocated PE                256         
   Used PV                     1      

   LV Name                     /dev/vg_ora/ora6
   LV Status                   available/syncd           
   LV Size (Mbytes)            1024            
   Current LE                  256      
   Allocated PE                256         
   Used PV                     1      

   LV Name                     /dev/vg_ora/ora7
   LV Status                   available/syncd           
   LV Size (Mbytes)            1024            
   Current LE                  256      
   Allocated PE                256         
   Used PV                     1      

   LV Name                     /dev/vg_ora/ora8
   LV Status                   available/syncd           
   LV Size (Mbytes)            1024            
   Current LE                  256      
   Allocated PE                256         
   Used PV                     1      

   LV Name                     /dev/vg_ora/ora9
   LV Status                   available/syncd           
   LV Size (Mbytes)            1024            
   Current LE                  256      
   Allocated PE                256         
   Used PV                     1      

   LV Name                     /dev/vg_ora/ora10
   LV Status                   available/syncd           
   LV Size (Mbytes)            1024            
   Current LE                  256      
   Allocated PE                256         
   Used PV                     1      


   --- Physical volumes ---
   PV Name                     /dev/dsk/c6t0d4
   PV Name                     /dev/dsk/c7t0d4  Alternate Link
   PV Status                   available               
   Total PE                    28155   
   Free PE                     13183   
   Autoswitch                  On        


VG Name                     /dev/vg_exp
VG Write Access             read/write     
VG Status                   available, shared, server
Max LV                      255   
Cur LV                      1      
Open LV                     1      
Max PV                      16     
Cur PV                      1      
Act PV                      1      
Max PE per PV               10239        
VGDA                        2   
PE Size (Mbytes)            4               
Total PE                    10238   
Alloc PE                    10238   
Free PE                     0      
Total PVG                   0        
Total Spare PVs             0              
Total Spare PVs in use      0                     

   ---  ---
                                                         
   pcg_x_1                          Server               

   --- Logical volumes ---
   LV Name                     /dev/vg_exp/export
   LV Status                   available/syncd           
   LV Size (Mbytes)            40952           
   Current LE                  10238     
   Allocated PE                10238      
   Used PV                     1      


   --- Physical volumes ---
   PV Name                     /dev/dsk/c6t0d5
   PV Name                     /dev/dsk/c7t0d5  Alternate Link
   PV Status                   available               
   Total PE                    10238   
   Free PE                     0      
   Autoswitch                  On        


VG Name                     /dev/vg_data
VG Write Access             read/write     
VG Status                   available, shared, client
Max LV                      255   
Cur LV                      7      
Open LV                     7      
Max PV                      16     
Cur PV                      1      
Act PV                      1      
Max PE per PV               26879        
VGDA                        2   
PE Size (Mbytes)            8               
Total PE                    26876   
Alloc PE                    26876   
Free PE                     0      
Total PVG                   0        
Total Spare PVs             0              
Total Spare PVs in use      0                     

   ---  ---
                                                         
   pcg_x_2                          Server               
   pcg_x_1                          Client               

   --- Logical volumes ---
   LV Name                     /dev/vg_data/cw_nnc_data01
   LV Status                   available/syncd           
   LV Size (Mbytes)            30720           
   Current LE                  3840      
   Allocated PE                3840        
   Used PV                     1      

   LV Name                     /dev/vg_data/cw_nnc_data02
   LV Status                   available/syncd           
   LV Size (Mbytes)            15360           
   Current LE                  1920      
   Allocated PE                1920        
   Used PV                     1      

   LV Name                     /dev/vg_data/cw_nnc_data03
   LV Status                   available/syncd           
   LV Size (Mbytes)            46080           
   Current LE                  5760      
   Allocated PE                5760        
   Used PV                     1      

   LV Name                     /dev/vg_data/cw_nnc_index01
   LV Status                   available/syncd           
   LV Size (Mbytes)            30720           
   Current LE                  3840      
   Allocated PE                3840        
   Used PV                     1      

   LV Name                     /dev/vg_data/cw_nnc_index02
   LV Status                   available/syncd           
   LV Size (Mbytes)            15360           
   Current LE                  1920      
   Allocated PE                1920        
   Used PV                     1      

   LV Name                     /dev/vg_data/cw_nnc_index03
   LV Status                   available/syncd           
   LV Size (Mbytes)            46080           
   Current LE                  5760      
   Allocated PE                5760        
   Used PV                     1      

   LV Name                     /dev/vg_data/cw_iufo
   LV Status                   available/syncd           
   LV Size (Mbytes)            30688           
   Current LE                  3836      
   Allocated PE                3836        
   Used PV                     1      


   --- Physical volumes ---
   PV Name                     /dev/dsk/c7t0d0
   PV Name                     /dev/dsk/c6t0d0  Alternate Link
   PV Status                   available               
   Total PE                    26876   
   Free PE                     0      
   Autoswitch                  On

论坛徽章:
0
38 [报告]
发表于 2009-03-09 11:18 |只看该作者
/dev/vg_arch1/cw_archive1
                   104857600   67232 98241104    0% /arch1

这个空间比较大,,  我能能把数据文件直接保存到里面去?

  我怎么看里面是文件系统还是 裸设备

论坛徽章:
0
39 [报告]
发表于 2009-03-09 11:43 |只看该作者
你bdf 能看到的就是文件系统了

注意你的使用权限 和对数据文件备份的要求 和 数据库系统配置的统一性 .

论坛徽章:
0
40 [报告]
发表于 2009-03-09 13:02 |只看该作者
能不能说明白点?

     我现在要马上解决这个问题,其他的我以后可以学习?

说明白点..   我就是就新建一个Oracle 数据文件   放到盘阵上面!  把以前的空间释放出来。

  并且能让两台数据库都能访问。

具体使用什么命令。。?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP