首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >FreeNAS:重命名zpool

FreeNAS:重命名zpool
EN

Server Fault用户
提问于 2012-12-12 02:32:06
回答 1查看 5.7K关注 0票数 6

现在我们的服务器已经设置好了,我想重命名我们的z池。

我在某个地方读到,这样做的方法是用新的名称导出&再导入。但我所有的上座点和股票都会保持原样吗?还是我得再安排一次?

EN

回答 1

Server Fault用户

发布于 2013-03-22 14:50:57

实际上,你可以重命名一个兹普尔。只是活不下去。这完全符合你的建议。您只能使用新名称导出和重新导入它。“进口”解释道:

代码语言:javascript
复制
   zpool import [-o mntopts] [ -o property=value] ... [-d dir | -c cachefile] [-D] [-f] [-R root] pool | id [newpool]

   Imports  a  specific  pool.  A pool can be identified by its name or the numeric identifier. If newpool is specified, the pool is imported using the name newpool.
   Otherwise, it is imported with the same name as its exported name.

值得注意的是,虽然你的坐骑很可能幸存下来,但它们不会像过去那样,很有可能。例如,如果您使用192.168.1.5:/<pool>/<dataset>在客户机上导入NFS挂载,那么挂载将更改为192.168.1.5:/<new-pool-name>/<dataset>。因为您必须导出池来重命名它,所以重命名池的任务是一个停机事件--因此,如果在重新导入时您必须重置一些挂载或更改服务器上的一些挂载点,我看不出这有什么大不了的。

票数 7
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/457286

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档