On 27.09.09 02:28, Ross 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.

If there's no backup of that file, contents of it can be constructed by extracting contents of config object from the pool and using it to construct cachefile (basically creating nvlist with single name-value pair, where name is name of the pool and value is nvlist from the config object).



--
--
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