通过导入操作,可以导入取消配置的存储池。在发生意外操作、恢复出厂设置或维修操作时,可以取消配置存储池以恢复用户数据。导入存储池需要迭代所有连接的存储设备并搜索所有现有的状态。这可能需要相当长的时间,并且在此期间无法执行任何其他存储配置活动。
开始之前
在磁盘固件升级期间请勿执行池配置操作。要检查是否正在升级,请导航至 maintenance system updates。
hostname:configuration storage (pool0)> 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 (pool0) discover>
hostname:configuration storage (pool0)> show Pools: POOL OWNER DATA PROFILE LOG PROFILE STATUS ERRORS -> pool0 hostname mirror log_stripe online 0 pool1 hostname - - exported - Properties: pool = pool0 status = online errors = 0 owner = hostname profile = mirror log_profile = log_stripe cache_profile = cache_stripe scrub = none requested
hostname:configuration storage select> set pool=pool1 pool = pool1
一条消息会提醒您验证存储是否正确连接并正常运行。