Skip to content

Commit

Permalink
Removed suggestion to use root dataset as bootfs
Browse files Browse the repository at this point in the history
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
  • Loading branch information
GregorKopka authored and behlendorf committed Jan 9, 2019
1 parent 9ef798b commit 8bd2a28
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions contrib/dracut/README.dracut.markdown
Expand Up @@ -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'.
Expand Down

0 comments on commit 8bd2a28

Please sign in to comment.