ult*_*ous 4 freebsd zfs truenas
因此,我连接到 FreeNas 7 系统的 USB 驱动器坏了,所以我利用这种情况作为升级到 FreeNas 8 的机会。问题是现在我无法让我的 ZFS 启动:
[root@media] ~# zpool import
pool: filetank
id: 17702465758427828599
state: FAULTED
status: The pool was last accessed by another system.
action: The pool cannot be imported due to damaged devices or data.
The pool may be active on another system, but can be imported using
the '-f' flag.
see: http://www.sun.com/msg/ZFS-8000-EY
config:
filetank FAULTED corrupted data
raidz1 FAULTED corrupted data
ada3 ONLINE
ada1 ONLINE
ada4 ONLINE
ada2 ONLINE
[root@media] ~# zpool import -f filetank
cannot import 'filetank': one or more devices is currently unavailable
Run Code Online (Sandbox Code Playgroud)
奇怪的是,只是 raidz 说它已损坏,我不知道该怎么办。我能找到的大多数内容都涉及更换单个设备,但看起来没有任何特定设备出现故障?我回到 FreeNas 7 并得到了同样的错误,这基本上是我所期望的。
尝试zpool import -f -F -n filetank
。
这实际上不会导入池,但会告诉您它是否可以恢复。
如果它给你绿灯,那么继续:
zpool import -f -F filetank
有关这些选项的详细信息,请参见手册页:
-f
Forces import, even if the pool appears to be poten-
tially active.
-F
Recovery mode for a non-importable pool. Attempt to
return the pool to an importable state by discarding
the last few transactions. Not all damaged pools can
be recovered by using this option. If successful,
the data from the discarded transactions is irre-
trievably lost. This option is ignored if the pool
is importable or already imported.
...
-n
Used with the -F recovery option. Determines whether
a non-importable pool can be made importable again,
but does not actually perform the pool recovery. For
more details about pool recovery mode, see the -F
option, above.
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
5674 次 |
最近记录: |