allow to mount root from a pool not in zpool.cache
Steven Hartland
killing at multiplay.co.uk
Sun Sep 23 00:54:11 UTC 2012
----- Original Message -----
From: "Andriy Gapon" <avg at FreeBSD.org>
> Currently FreeBSD ZFS kernel code doesn't allow to mount root filesystem on a
> pool that is not listed in zpool.cache as only pools from the cache are known to
> ZFS at that time.
>
> This patch is an attempt to improve the behavior:
> http://people.freebsd.org/~avg/spa_import_rootpool.diff
>
> This could be useful when importing pools that were exported from other systems.
> There is a tunable vfs.zfs.rootpool.prefer_cached_config which is set to 1 by
> default. 1 means just use a cached pool config if it's found in the cache, 0
> means to re-probe disks and read supposedly latest/actual config in any case.
This sounds like a great idea, thanks for the work will look to test it over
the coming weeks.
Regards
Steve
================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.
In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at multiplay.co.uk.
More information about the freebsd-fs
mailing list