On Sat, Nov 03, 2007 at 04:59:18PM -0700, Denis wrote:
> Hi
> 
> What is the correct way to recreate the zpool.cache file? I deleted it
> because the devicenames of the vdevs changed.

You shouldn't need to delete it.  ZFS will automatically update the
device paths based on devid when you issue a zpool(1M) command.  If
you're using files or devices without devids, you can just export it and
import it again.

> The pool is still intact but I need to import it manually after every
> reboot.

Once you import it, it will be placed in the zpool.cache file (unless
you use '-R').  If you're on x86, you will need to update your boot
archive, which should happen automatically on clean reboot.  Are you not
seeing this behavior?

- Eric

--
Eric Schrock, FishWorks                        http://blogs.sun.com/eschrock
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to