On 27.09.09 14:34, Erik Ableson wrote:
Hmmm - I've got a fairly old copy of the zpool cache file (circa July), but
nothing structural has changed in pool since that date. What other data is held
in that file? There have been some filesystem changes, but nothing critical is
in the newer filesystems.

Cache file keeps pool configuration so zfs can quickly open it upon reboot. If there were no changes to the configuration of pool vdevs, then it should describe good config.

victor


Any particular procedure required for swapping out the zpool.cache file?

Erik

On Sunday, 27 September, 2009, at 12:28AM, "Ross" <myxi...@googlemail.com> 
wrote:
Do you have a backup copy of your zpool.cache file?

If you have that file, ZFS will happily mount a pool on boot without its slog 
device - it'll just flag the slog as faulted and you can do your normal 
replace.  I used that for a long while on a test server with a ramdisk slog - 
and I never needed to swap it to a file based slog.

However without a backup of that file to make zfs load the pool on boot I don't 
believe there is any way to import that pool.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


--
--
Victor Latushkin                   phone: x11467 / +74959370467
TSC-Kernel EMEA                    mobile: +78957693012
Sun Services, Moscow               blog: http://blogs.sun.com/vlatushkin
Sun Microsystems
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to