LoveUnix » 存储设备 » cfgsave问题
让LU留住您的每

一天 让LU博客留住您的每一天
2008-8-6 09:18 hetian127
cfgsave问题

IBM_B32_UP:admin> cfgEnable "SAN_SW_UP"
You are about to enable a new zoning configuration.
This action will replace the old zoning configuration with the
current configuration selected.
Do you want to enable 'SAN_SW_UP' configuration  (yes, y, no, n): [no] y
zone config "SAN_SW_UP" is in effect
Updating flash ...
IBM_B32_UP:admin> cfgSave
You are about to save the Defined zoning configuration. This
action will only save the changes on Defined configuration.
Any changes made on the Effective configuration will not
take effect until it is re-enabled.
Do you want to save Defined zoning configuration only?  (yes, y, no, n): [no] y
Nothing changed: nothing to save, returning ...
IBM_B32_UP:admin>

请问下cfgsave这里为什么是nothing changed?我之前的操作是加了两个zone进去,应该有改变才对啊。谢谢

2008-8-6 09:26 bennial
先运行cfgsave,再cfgenable呢?

2008-8-6 10:19 hetian127
回复 #2 bennial 的帖子

这个没试,我看了下博科的文档,他的cfgsave命令示例里面
Do you want to save Defined zoning configuration only?  (yes, y, no, n): 选的是no,这个是什么意思啊?我应该选y or n?

2008-8-6 10:37 flysnowpp
真没仔细看过

选no的话不仅仅保存zoning的config 信息,包括 alias信息等?

没有定义过alias,所以每次都选的是 y

2008-8-7 16:14 wildhorse
cfgenable默认会做一次cfgsave,因此在做完cfgenable后,不用执行cfgsave了.

命令的执行顺序应该是cfgadd,cfgsave,然后cfgenable.

add是把新加的zone放到define cfg里面,cfgsave是把新增加的zone放到顶头的cfg定义中,enable是把zone激活.

cfgsize/cfgshow,常看看.

页: [1]
查看完整版本: cfgsave问题


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.