zfs/module/zcommon
Richard Yao 83e9986f6e Implement -t option to zpool create for temporary pool names
Creating virtual machines that have their rootfs on ZFS on hosts that
have their rootfs on ZFS causes SPA namespace collisions when the
standard name rpool is used. The solution is either to give each guest
pool a name unique to the host, which is not always desireable, or boot
a VM environment containing an ISO image to install it, which is
cumbersome.

26b42f3f9d introduced `zpool import -t
...` to simplify situations where a host must access a guest's pool when
there is a SPA namespace conflict. We build upon that to introduce
`zpool import -t tname ...`. That allows us to create a pool whose
in-core name is tname, but whose on-disk name is the normal name
specified.

This simplifies the creation of machine images that use a rootfs on ZFS.
That benefits not only real world deployments, but also ZFSOnLinux
development by decreasing the time needed to perform rootfs on ZFS
experiments.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #2417
2014-09-30 10:46:59 -07:00
..
Makefile.in Add script for builtin module building. 2012-07-26 13:45:09 -07:00
zfs_comutil.c Illumos #2882, #2883, #2900 2013-09-04 15:49:00 -07:00
zfs_deleg.c Illumos 4368, 4369. 2014-07-29 10:55:29 -07:00
zfs_fletcher.c Add linux kernel module support 2010-08-31 13:41:58 -07:00
zfs_namecheck.c Illumos 4368, 4369. 2014-07-29 10:55:29 -07:00
zfs_prop.c Create an 'overlay' property 2014-08-15 13:39:19 -07:00
zfs_uio.c cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
zpool_prop.c Implement -t option to zpool create for temporary pool names 2014-09-30 10:46:59 -07:00
zprop_common.c Check the dataset type more rigorously when fetching properties. 2014-05-06 10:41:46 -07:00