[zfs-discuss] cannot import 'home': I/O error Destroy and re-create the pool from a backup source

Anton Gubar'kov anton.gubarkov at iits.ru
Thu Apr 26 03:18:49 EDT 2018


Hi Richard

I've offlined the cache partition by removing the block device file from
/dev and re-tried the import. Normal import and import -F ended with cannot
import 'home': I/O error Destroy and re-create the pool from a backup
source.
The import -FX ended with cannot import 'home': one or more devices is
currently unavailable

I can see the following in the log:

1524725778   spa_misc.c:403:spa_load_note(): spa_load(home, config
trusted): UNLOADING
1524725778   spa_misc.c:403:spa_load_note(): spa_load(home, config
trusted): spa_load_retry: rewind, max txg: 1492684
1524725778   spa_misc.c:403:spa_load_note(): spa_load(home, config
untrusted): LOADING
1524725779   vdev.c:92:vdev_dbgmsg(): disk vdev
'/dev/disk/by-id/wwn-0x5000c500a41ae340-part1': best uberblock found for
spa home. txg 1492684
1524725779   spa_misc.c:403:spa_load_note(): spa_load(home, config
untrusted): using uberblock with txg=1492684
1524725780   spa_misc.c:403:spa_load_note(): spa_load(home, config
trusted): performing a complete scan of the pool since extreme rewind is
on. This may take a very long time.
1524725881   spa_misc.c:403:spa_load_note(): spa_load(home, config
trusted): spa_load_verify found 1 metadata errors and 0 data errors
1524725881   spa_misc.c:388:spa_load_failed(): spa_load(home, config
trusted): FAILED: spa_load_verify failed [error=5]
1524725881   spa_misc.c:403:spa_load_note(): spa_load(home, config
trusted): UNLOADING
for every txg being tried.

Can I skip a complete scan in a hope to salvage some data? Maybe the data I
need are not spoiled by this metadata error and are still accessible
read-only? The txg 1492684 is acceptable level of data loss for me (from
timeline perspective).




On Thu, Apr 26, 2018 at 12:10 AM Richard Elling via zfs-discuss <
zfs-discuss at list.zfsonlinux.org> wrote:

> A shot in the dark: offline the cache device (sdg3) and try the import
>  — richard
>
> --
>
> Richard.Elling at RichardElling.com
> +1-760-896-4422 <(760)%20896-4422>
>
>
>
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss at list.zfsonlinux.org
> http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20180426/2a8cc297/attachment.html>


More information about the zfs-discuss mailing list