问题摘要: 有时,在 solaris10 标记区域群集上运行时,clresourcetype register 命令可能会失败。您可能会看到以下错误之一:
# clrt register -f /SUNW.test_rt_deps -p RT_SYSTEM=TRUE RT1_spd_6 clrt: (C549566) Failed to find "zc2:RT1_spd_" in RTR file "/zones/zc2/root/SUNW.test_rt_deps"
# clrt register -N SUNW.gds clrt: (C637184) Unrecognized option - "- ". clrt: (C637184) Unrecognized option - "-S". clrt: (C637184) Unrecognized option - "-U". clrt: (C637184) Unrecognized option - "-W". clrt: (C637184) Unrecognized option - "-.". clrt: (C637184) Unrecognized option - "-g". clrt: (C637184) Unrecognized option - "-d". clrt: (C637184) Unrecognized option - "-s". clrt: (C425781) Usage errors. Usage: clrt register [<options>] + | <resourcetype> ...
# geopg get -s partnershipname Operation failed for following protection groups: Unable to register resource type (0}.
解决方法: 在全局区域中注册资源类型。
# clrt register -Z zone name resource type