要重命名存储池,则必须将其取消配置,然后立即使用新名称将其导入。在取消配置存储的过程中,数据将不可访问,并且可能会丢失数据。导入存储池可能会需要相当长的时间。
开始之前
在磁盘固件升级期间请勿执行池配置操作。要检查是否正在升级,请导航至 maintenance system updates。
在对等控制器已关闭或无法访问时请勿重命名池。
hostname:configuration storage (pool0)> set pool=pool1 pool = pool1
hostname:configuration storage (pool1)> unconfig
hostname:configuration storage> import Search for storage. Begin the process of searching for existing storage pools. Subcommands that are valid in this context: help [topic] => Get context-sensitive help. If [topic] is specified, it must be one of "builtins", "commands", "general", "help" or "script". show => Show information pertinent to the current context abort => Abort this task (potentially resulting in a misconfigured system) done => Finish operating on "discover" hostname:configuration storage> discover>
hostname:configuration storage select> set pool=pool1 pool = pool1
hostname:configuration storage (pool1)> set name=NewPool pool = NewPool