Commit Graph

239 Commits

Author SHA1 Message Date
Tony Hutter
35525a14fe Add Centos 8.3 zfs-release for zfs-0.8.6 2020-12-14 13:28:42 -08:00
Richard Laager
e08d1c19ef Ubuntu Pi: Fix a formatting syntax error 2020-12-12 03:53:49 -06:00
Richard Laager
3d862230eb Debian/Ubuntu: Add some blank lines
The convention here is to add a blank line between commands that
cannot be copied-and-pasted together.  apt is such a command, as it
will eat the input from the paste.
2020-12-12 03:49:41 -06:00
Richard Laager
6bfb226bf0 Ubuntu: Drop gdm InitialSetupEnable=false
I can't remember why this was added and it does not seem to be particularly
necessary.
2020-12-12 03:46:14 -06:00
Richard Laager
e536ce98a0 Ubuntu: Drop dd ... of=/dev/stdout
This does not make any sense to me.  dd outputs to stdout by default.
2020-12-12 03:42:26 -06:00
Richard Laager
b0506fe2ae Ubuntu: Fix a formatting mistake 2020-12-12 03:40:19 -06:00
Richard Laager
cd896b85b5 Ubuntu: Stop enabling universe in Live CD
It is not necessary to enable universe in the Live CD. zfs-initramfs is
in main these days.

I left universe (and multiverse) enabled in the installed system.
People who care can customize.
2020-12-12 03:34:50 -06:00
Richard Laager
e4cc9f9799 Ubuntu: Set autotrim=on
The Ubuntu installer sets this.
2020-12-12 03:34:17 -06:00
Esteban Flores
0e42253039 Fixed small typo
Fixed small typo, missing "i" in either "After installing the *zfs-release* package and verifying the public key
users can opt to install `either` the DKMS or..."
2020-12-11 18:09:55 -06:00
Yvan-Masson
d6674f9871 Fix formatting (literal block) 2020-12-11 03:09:33 -06:00
Yvan-Masson
add1e275fb Ubuntu/Debian: use apt instead of dpkg
In general apt is the preferred way to interact with packages, and I
think in this case there is no need/advantage to use dpkg.

Closes #88

Signed-off-by: Richard Laager <rlaager@wiktel.com>
[Fixed the other two instances too.]
2020-12-09 22:35:42 -06:00
Yvan-Masson
69ef236a3f Fix small formatting issue 2020-12-07 21:35:45 +03:00
Richard Laager
44170fdbd5 Ubuntu: Go back to bpool/grub
For a mirror or raidz topology, /boot/grub is on a separate dataset.
This was originally bpool/grub, then changed on 2020-05-30 to
bpool/BOOT/ubuntu_UUID/grub to work-around zsys setting canmount=off
which would result in /boot/grub not mounting.  This work-around lead
to issues with snapshot restores. The underlying zsys issue
ubuntu/zsys#164 was fixed and backported to 20.04, so it is now back to
being bpool/grub.

This reverts commit b6fd009edd.  It
conceptually reverts the errata notes from commit
04d3c1cee4, but includes new steps for
people in the pre-2020-05-30 state.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
Fixes #55
2020-12-05 18:22:34 -06:00
Richard Laager
eb05d5b190 Ubuntu: Remove canmount=noauto on / and /boot
I think (but am not absolutely certain) that things behave as follows:

- The non-zsys initramfs script expects canmount=noauto for the root
  filesystem.  It then mounts the active one (e.g. in the case of
  clones) manually, overriding that.
- zsys manages the canmount attribute.

I am sure that when the system boots with zsys, the initial datasets,
which were created with canmount=noauto, have canmount=on.

Therefore, there seems to be no reason to set canmount=noauto for the
zsys scenario, and I have removed it.  This simplifies the instructions
and may avoid issues like #73.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
Fixes #73
2020-12-05 17:53:27 -06:00
Richard Laager
19ce5874b7 Ubuntu: Use grub-efi-amd64's multiple disk code
Ubuntu 20.04's GRUB supports multiple EFI disks.  There is a small
caveat in that it doesn't prompt in the chroot, but it works fine after
the reboot.  Using the stock support means that the ESPs will be kept in
sync automatically.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
Refs issue #55
2020-12-05 17:44:13 -06:00
Richard Laager
f1a7f4ef62 Ubuntu: Use "defaults" for /boot/efi
This matches the 20.04 installer.

Also, disable fsck, because that's what the installer does.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-12-05 17:33:13 -06:00
Richard Laager
d86f52c207 Debian/Ubuntu: Use /dev/disk/by-uuid
This is how the Ubuntu 20.04 installer configures the ESP to mount at
/boot/efi, so it should be fine to use this convention everywhere.

/dev/md0's /dev/disk/by-uuid entry does not show up immediately, so I
removed the swapon there.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-12-05 17:32:40 -06:00
Richard Laager
a4f8837031 Debian: Use UUID instead of PARTUUID for esp
I don't know why this was different from Ubuntu.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-12-05 17:11:47 -06:00
Richard Laager
c94ee2cae4 Debian/Ubuntu: Configure keyboard & charset
On Ubuntu, console-setup, keyboard-configuration (a dependency of
console-setup), and locales are installed by default.  On Debian, we
need to install them manually.  (We were already doing so for locales.)

I merged the various dpkg-reconfigure lines into one to simplify.  The
order isn't important.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
Reported-by: Robert <technic-take3>
Fixes #59
2020-12-05 16:57:34 -06:00
Richard Laager
605463d8dd Ubuntu: Update URL for 20.04.1
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-12-05 16:35:49 -06:00
Richard Laager
84417c52db Ubuntu: bpool must be named bpool
Fixes #85
Reported-by: Bob Ziuchkovski <bob.ziuchkovski@gmail.com>
2020-11-30 00:42:06 -06:00
Brian Behlendorf
1a774f7dd9 Update RHEL/CentOS install documentation
Refresh the documentation to more clear and to account for changes
for made in the recent RHEL/CentOS releases.

- Replaced most ZFS on Linux references with OpenZFS.

- Condensed the list of repositories and made it clear which repos
  are updated with new packages and which had been archived.

- Added separate instructions for RHEL/CentOS 6,7 and for RHEL/CentOS
  8 and newer since the package manager was changes from yum to dnf.

- Recommend using `yum-config-manager` or `dnf config-manager` rather
  than manually modifing the zfs.repo file.

- Converted the important notices to "notes" and reworded them.  The
  exact commands in the documention were also for much older versions
  of ZFS and were removed entirely.  This should be less of an issue
  with more modern releases.

- Add a comment explaining the modules are automatically loaded
  when a pool is detected, but they can always be loaded at boot
  time by creating a /etc/modules-load.d/zfs.conf file.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2020-11-26 22:24:15 +03:00
Brian Behlendorf
2aa6fd156d Update Fedora install documentation
Refresh the documentation to more clear and to account for changes
for made in the recent Fedora releases.

- Replaced most ZFS on Linux references with OpenZFS.

- Reworded kernel compatibility note and link directly to the
  latest supported OpenZFS release to make it easy to check the
  maximum supported kernel version.

- Removed the kernel-devel package from the dnf install command.
  The pacakge is now correctly brought in as a dkms dependency.

- Add a comment explaining the modules are automatically loaded
  when a pool is detected, but they can always be loaded at boot
  time by creating a /etc/modules-load.d/zfs.conf file.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2020-11-26 11:46:08 +03:00
Mathias Gibbens
7f3d021349 Include the debian security and -updates repos as well in sources.list
Users following the ZFS guide may not realize their system won't
receive important security updates between minor point releases
unless additional configuration is added to sources.list.

Signed-off-by: Mathias Gibbens <mathias@calenhad.com>
2020-11-25 17:17:29 -06:00
Mathias Gibbens
9ed82cda6e Fix pip3 install command for Debian-based distros
Signed-off-by: Mathias Gibbens <mathias@calenhad.com>
2020-11-25 17:17:29 -06:00
Brian Behlendorf
cadc18c97b Update dRAID documentation (#78)
Refresh the dRAID documentation page to accurately reflect the
implementation of dRAID which has been merged.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2020-11-25 13:51:48 -08:00
Brian Behlendorf
f7ee059f28 Update OpenZFS module parameters (#76)
- Renamed the page to "Module Parameter" since it now applies
  equally to Linux and FreeBSD.

- Updated spl_kmem_cache_expire, spl_kmem_cache_obj_per_slab_min,
  spl_kmem_cache_kmem_limit to note the last version they were
  included in.

- Added new l2arc_mfuonly, l2arc_rebuild_blocks_min_l2size,
  l2arc_rebuild_enabled, and l2arc_trim_ahead options which
  were added in OpenZFS 2.0 for the persistent L2ARC feature.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2020-11-25 09:42:02 -08:00
AJ Jordan
40e194d6fc s/ZFS on Linux/OpenZFS/ in build docs 2020-11-22 22:13:30 +03:00
AJ Jordan
9ef3c08880 Remove references to separate SPL repository 2020-11-22 22:13:30 +03:00
AJ Jordan
ff9710f39e Correct references to the zfsonlinux GitHub org 2020-11-22 22:13:30 +03:00
George Melikov
89409c4fa8 compatibility_matrix.py: reword comments + remove orphaned ones
Signed-off-by: George Melikov <mail@gmelikov.ru>
2020-11-22 22:09:42 +03:00
George Melikov
d4530737f6 compatibility_matrix.py: set min_width for feature name column
Signed-off-by: George Melikov <mail@gmelikov.ru>
2020-11-22 22:09:42 +03:00
George Melikov
b515ffdb74 Add Feature Flags page with feature matrix
Signed-off-by: George Melikov <mail@gmelikov.ru>
2020-11-22 22:09:42 +03:00
George Melikov
58258ef4e0 Feature_matrix: add to CI
Signed-off-by: George Melikov <mail@gmelikov.ru>
2020-11-22 22:09:42 +03:00
George Melikov
dce388a62e compatibility_matrix.py: make it work with OpenZFS
- Use OpenZFS project instead of ZoL
- Remove parsing from FreeBSD master, it's OpenZFS now
- Update footer

Signed-off-by: George Melikov <mail@gmelikov.ru>
2020-11-22 22:09:42 +03:00
George Melikov
8243d6677e compatibility_matrix.py: basic cleanup + rework
Signed-off-by: George Melikov <mail@gmelikov.ru>
2020-11-22 22:09:42 +03:00
George Melikov
52ce9efb6a Add compatibility_matrix.py script as is
Signed-off-by: George Melikov <mail@gmelikov.ru>
2020-11-22 22:09:42 +03:00
Paul Steinbach
402b01656d Corrected typo in "power off" (#75) 2020-11-17 23:49:49 +03:00
Brian Behlendorf
eca3482e2a Update RHEL and CentOS.rst - add CentOS 7.9 repository
Add CentOS 7.9 zfs-release link.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2020-11-12 19:18:58 -08:00
Richard Laager
04db2386fd Ubuntu: Fix a typo
Reported-by: donniep
Fixes #71
2020-11-09 19:35:24 -06:00
Soputtra San
7129f378c5 Update Fedora.rst (#69)
Minor update about Fedora Releases, remove eol **30**, add **33**.
2020-11-03 22:21:25 +03:00
Tony Hutter
f29b59da69 Fix Fedora 33 zfs-release link typo 2020-10-28 17:27:46 -07:00
Tony Hutter
ee95e7c761 Update Fedora.rst - add F33, remove F30
Add Fedora 33 zfs-release link, remove EOL'd F30
2020-10-28 17:27:10 -07:00
Milkey Mouse
5cde879132 Fix an unfortunate typo 2020-10-25 13:18:49 +03:00
George Melikov
95fe9ed9b7 FAQ: ZoL->OpenZFS conversions
Signed-off-by: George Melikov <mail@gmelikov.ru>
2020-10-08 22:41:45 +03:00
James Bennett
966ebaa629 Rework FreeBSD start page for newcomer
- Additional instructions to build
- Remove duplicate info about OpenZFS

Co-authored-by: Ryan Moeller <ryan@freqlabs.com>
Co-authored-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: George Melikov <mail@gmelikov.ru>

Apply suggestions from @freqlabs

Co-authored-by: Ryan Moeller <ryan@freqlabs.com>
2020-10-08 19:25:36 +03:00
George Melikov
519ac78dc3 Convert FreeBSD page as is from ZoF repo
Signed-off-by: George Melikov <mail@gmelikov.ru>
2020-10-08 19:25:36 +03:00
AJ Jordan
cc70ad4537 Fix formatting typo in Troubleshooting.rst 2020-10-07 17:44:09 -05:00
George Melikov
c219fe808a Module Parameters: link zfs-module-parameters(5) (#60)
+ clean up text about wiki reference.

Signed-off-by: George Melikov <mail@gmelikov.ru>
2020-10-02 22:10:21 +03:00
Richard Laager
0e030ab146 Ubuntu: Remove zpool_checkpoint from bpool
The docs note that I tested this, but I'm going to remove this, out of
an abundance of caution given the report of failure in #57.  I may re-test
later, but this isn't a huge priority for me.

Fixes #57
2020-09-27 14:17:18 -05:00