]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Removed suggestion to use root dataset as bootfs
authorGregor Kopka <mailfrom-github@kopka.net>
Wed, 9 Jan 2019 00:15:30 +0000 (01:15 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 9 Jan 2019 00:15:30 +0000 (16:15 -0800)
The dracut howto proposed to boot from the root dataset of a pool.
Apart from this giving problems when booting (as the code seems to
expect a child dataset and creates an illegal dataset name when using
the root dataset) the technical limitations of the root dataset
(among others the inability to rename or destroy through the `zfs`
command) resulted in the general consensus to only use it as a
container for the datasets in the pool - not as a filesystem itself.

Removed the idea to boot from the root dataset.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: bunder2015 <omfgbunder@gmail.com>
Signed-off-by: Gregor Kopka <gregor@kopka.net>
Closes #8247

contrib/dracut/README.dracut.markdown

index 46d032f70d302eaba09ac449b323b708a2bdae11..b5fb288a138387028765efabecc33508ddd556d3 100644 (file)
@@ -11,12 +11,6 @@ the dataset mountpoint property to '/'.
     $ zpool set bootfs=pool/dataset pool
     $ zfs set mountpoint=/ pool/dataset
 
-It is also possible to set the bootfs property for an entire pool, just in
-case you are not using a dedicated dataset for '/'.
-
-    $ zpool set bootfs=pool pool
-    $ zfs set mountpoint=/ pool
-
 Alternately, legacy mountpoints can be used by setting the 'root=' option
 on the kernel line of your grub.conf/menu.lst configuration file.  Then
 set the dataset mountpoint property to 'legacy'.