solaris zfs won't import pools from another system after a system crash

attempted to import a couple zfs pools from another solaris 11.1 box that crashed hard. the log device went corrupt but the disks are fine. there weren't any writes to the system (it sits idle) so i'm not worried about missing data in memory.

attempted to install Solaris 11.3 and import the pools. won't work.

tried zpool import -f and -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.
4
задан 8 December 2016 в 10:07
1 ответ

Я не вижу вашу команду импорта в выводе. В выводе zpool import перечислены другие пулы, видимые системе. В этом случае zStorage2 и zStorage1.

Вам нужно будет запустить zpool import -f , чтобы попытаться импортировать любой из этих пулов. Вам также может потребоваться использовать параметр -F , чтобы попытаться восстановить пул. Использование -n с -F укажет, возможно ли восстановление. И начните очистку после импорта.

Если это не поможет, вы можете открыть кейс с Oracle, чтобы узнать, могут ли они помочь с восстановлением.

0
ответ дан 3 December 2019 в 04:19

Теги

Похожие вопросы