AIX扩容文件系统

3 篇文章 0 订阅
2 篇文章 0 订阅
1)   查看文件系统挂载状态
      df -g
2)   查看LV文件系统/oraryx对应的VG
      smitty lv >>  List All Logical Volumes by Volume Group
3)   查看VG剩余容量(容量信息:TOTAL PPs, FREE PPs)
      lsvg <vgName>


若vg剩余容量不足:
1)   在存储端加存储
2) 扫盘
      cfgmgr
      lspv
3) vg扩容,将新加的pv添加到vg(如果lspv后看到配置了VeritasVolumes则直接联系数据库老师扩容)
      smit vg 》 Set Characteristics of a Volume Group 》 Add a Physical Volume to a Volume Group 》 VOLUME GROUP name [] 》 PHYSICAL VOLUME names []
4)   在线扩容文件系统
      chfs -a size=+500G /oraryx
5) 检验结果
      df  -h


====================
故障解决


VG容量不足(已向VG添加PV)
0516-404 allocp: This system cannot fulfill the allocation request. There are not enough free partitions or not enough physical volumes to keep strictness and satisfy allocation requests.  The command should be retried with different allocation characteristics.
chfs增加的容量减少一点


逻辑卷大小超出限制
0516-787 extendlv: Maximum allocation for logical volume lvgpsdb is 32768.


smit chlv 》 Change a logical Volume 》 Logical volume name [] 》  修改 MAXIMUM NUMBER of LOGICAL PARTITIONS




物理卷大小超出限制
0516-1714 /usr/sbin/extendvg: The total number of partitions on the disks for this volume group would be 41564, which exceeds the current maxpps value of 32768.  Increase the maxpps value to 65536 using the chvg -P command, then retry.


smit chvg 》 Change a Volume Group 》  修改 Max PPs per VG in units of 1024
或 #chvg -P 64 datavg (默认为32,maxpps有效值为:32K, 64K, 128K, 256K, 512K, 768K, 1024K, and 2048K.) 






物理卷未找到(存储上的磁盘已被拔出)
0516-304 lquerypv: Unable to find device id 00f7dab956cc7d160000000000000000 in the Device Configuration Database.
0516-788 extendlv: Unable to extend logical volume.
1.删除拔出的PV
      lsdev -Cc disk
      lsvg -p datavg
      smitty reducevg 》 Remove a Physical Volume from a Volume Group      》 VOLUME GROUP name [] 》 PHYSICAL VOLUME names []


2.重新在存储端加盘
      cfgmgr  //扫盘
      lspv


3.将新加pv添加到vg
      smit vg 》 Set Characteristics of a Volume Group 》 Add a Physical Volume to a Volume Group 》 VOLUME GROUP name [] 》 PHYSICAL VOLUME names []
  • 0
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值