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 []
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 []