/tmp的容量太小,很容易满,想做下扩容。
看了下rootvg的情况
lsvg rootvg
显示还有空间
想直接扩容fs
smitty chfs
但执行遇到0516-404错误
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.
空间肯定是有的,为什么不能行呢?
上网搜之
原来/tmp所在的lv的lp是做了镜像的,即1个lp对应2个pp,在扩容lv的时候,默认是要求镜像的pp必须分配在两个不同的pv上
在smitty中,你能看到这个选项
Allocate each logical partition copy on a SEPARATE physical volume
而我恰好rootvg里只有两个pv,非常有可能一个已经满了,所以直接扩容fs就会失败。
在我将上面的选项设为no,手动扩容了lv后,问题就解决了。