понедельник, 8 апреля 2013 г.

zfs: восстановление

Где-то у меня было, но найти не удалось. Дубль.

Rolling Back a ZFS Snapshot
http://docs.oracle.com/cd/E19253-01/819-5461/gbcxk/index.html

Восстановление ZFS-пула с помощью подручных средств
http://www.lissyara.su/articles/freebsd/file_system/zfs_recovery/

Восстановление корневого пула ZFS или снимков корневого пула
http://docs.oracle.com/cd/E19253-01/820-0836/ghzvz/index.html

Также был спецфлаг
zfs:zfs_recover=1

"ZFS maintains an internal cache of available pools and their configurations in /etc/zfs/zpool.cache. The location and contents of this file are private and are subject to change. If the system becomes unbootable, boot to the milestone none by using the -m milestone=none boot option. Once the system is up, remount your root file system as writable and then rename or move the /etc/zfs/zpool.cache file to another location. These actions cause ZFS to forget that any pools exist on the system, preventing it from trying to access the bad pool causing the problem. You can then proceed to a normal system state by issuing the svcadm milestone all command. You can use a similar process when booting from an alternate root to perform repairs."
"Determine which pool might have issues by using the fmdump -eV command to display the pools with reported fatal errors."
http://docs.oracle.com/cd/E19082-01/817-2271/6mhupg6qg/index.html

http://breden.org.uk/2009/08/30/home-fileserver-zfs-boot-pool-recovery/


Recovering the ZFS Root Pool or Root Pool Snapshots

Комментариев нет:

Отправить комментарий