报错信息:
# mount /SImg/epic/prd01
mount: /dev/SImgepicprd01_l on /SImg/epic/prd01
0506-365 Cannot mount guarded filesystem.
The filesystem is potentially mounted on another node.
背景:
如果通过类似flashcopy等技术来备份的数据,想要挂载到系统上时,会
报错。
原因:
In AIX 7100-01 and 6100-07 a new feature called "Mount Guard"
has been added to prevent simultaneous or concurrent mounts. If
a filesystem appears to be mounted on another server, and the
feature is enabled, AIX will prevent mounting on any other
server. Mount Guard is not enabled by default, but is
configurable by the system administrator. The option is not
allowed to be set on base OS filesystems such as /, /usr, /var
etc.
解决办法:
chfs -a mountguard=no /SImg/epic/prd01
如果还不能mount,则需要执行如下命令:
mount –o noguard /SImg/epic/prd01
注意:
HA is calling 'chfs -a mountguard=yes ' for each FS everytime a RG gets acquired, no matter if the mountguard option is already enabled or not.
There is no supported way to disable it, as you have found if you manually turn off mount guard for a filesystem PowerHA will turn it back on again the next time it mounts the filesystem.
Editing cl_activate_fs is unsupported and any edits will be lost if you ever apply a later service pack.
This is working as designed to stop concurrent write access to a VG so as to stop the FS from being corrupted.
如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!
赞2
添加新评论2 条评论
2017-12-16 14:25
2016-01-05 16:29