在系统崩溃后,solaris zfs不会从另一个系统导入池

试图从另一个硬盘崩溃的solaris 11.1盒子导入一对zfs池。 日志设备损坏,但磁盘很好。 没有任何写入系统(它闲置),所以我不担心在内存中丢失的数据。

试图安装Solaris 11.3并导入池。 将无法工作。

试过zpool import -f和-m。

root@san:~# zpool import pool: zStorage2 id: 714278190328663927 state: UNAVAIL status: One or more devices are unavailable. action: The pool cannot be imported due to unavailable devices or data. The pool may be active on another system, but can be imported using the '-f' flag. config: zStorage2 UNAVAIL corrupted data raidz1-0 ONLINE c0t50014EE6AE05BA42d0 ONLINE c0t50014EE6AE06CB38d0 ONLINE c0t50014EE658B0A520d0 ONLINE c0t50014EE6035C3297d0 ONLINE c0t50014EE6035C9162d0 ONLINE device details: missing-1 UNAVAIL corrupted data status: ZFS detected errors on this device. The device has bad label or disk contents. pool: zStorage1 id: 2650359371216878590 state: UNAVAIL status: One or more devices are unavailable. action: The pool cannot be imported due to unavailable devices or data. The pool may be active on another system, but can be imported using the '-f' flag. config: zStorage1 UNAVAIL corrupted data raidz1-0 ONLINE c0t50014EE6AD900793d0 ONLINE c0t50014EE602E5703Dd0 ONLINE c0t50014EE602E53403d0 ONLINE c0t50014EE602E56418d0 ONLINE c0t50014EE602E56936d0 ONLINE device details: missing-1 UNAVAIL corrupted data status: ZFS detected errors on this device. The device has bad label or disk contents. 

我看不到输出中列出的导入命令。 zpool import的输出列出了系统可见的其他池。 在这种情况下,zStorage2和zStorage1。

您需要运行zpool import -f <pool_name>来尝试导入其中任何一个池。 您可能还需要尝试使用-F选项来尝试恢复池。 使用-n-F会告诉恢复是否可能。 导入后开始擦洗。

如果这样做没有帮助的话,你可以向甲骨文公司开一个案子,看他们能否帮助恢复。