Damon Atkins wrote:
Do we still need the zpool.cache still. I believe early versions of zpool used the cache to remember what zpools to import at boot.

Yes.

I understand newer versions of zfs still use the cache but also check to see if the pool contains the correct host name of the server, and will only import if the hostname matches.

This serves a different function.


I suggest ZFS at boot should (multi-threaded) scan every disk for ZFS disks, and import the ones with the correct host name and with a import flag set, without using the cache file. Maybe just use the cache file for non-EFI disk/partitions, but without the storing the pool name, but you should be able to tell ZFS to do a full scan which includes partition disk.

Full scans are a bad thing, because they cannot scale. This is one
good reason why zpool.cache exists.

What problem are you trying to solve?
-- richard

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to