现在我们的服务器已经设置好了,我想重命名我们的z池。
我在某个地方读到,这样做的方法是用新的名称导出&再导入。但我所有的上座点和股票都会保持原样吗?还是我得再安排一次?
发布于 2013-03-22 14:50:57
实际上,你可以重命名一个兹普尔。只是活不下去。这完全符合你的建议。您只能使用新名称导出和重新导入它。“进口”解释道:
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>。因为您必须导出池来重命名它,所以重命名池的任务是一个停机事件--因此,如果在重新导入时您必须重置一些挂载或更改服务器上的一些挂载点,我看不出这有什么大不了的。
https://serverfault.com/questions/457286
复制相似问题