User talk:Monsieurp/Gentoo Linux on ZFS

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (~~~~), and indent successive comments with colons (:). Add new sections at the bottom of the page, under a heading (== ==). Please remember to mark sections as "open for discussion" using {{talk|open}}, so they will show up in the list of open discussions.

When doing zpool create, use WWNs for persistent block device naming or else grub-probe may have trouble. This is especially important when wanting to USE=libzfs with GRUB and to boot with root on ZFS. You can find the World Wide Names by looking in /dev/disk/by-id/. sys-boot/grub-2.02-r1, sys-fs/zfs-0.7.12, December 2018.

Hello, I added some minor things I ran into while migrating a working Gentoo install to ZFS root; thank you for your guide! The section on kernel compilation provided the missing key I needed to figure out why my initramfs seemed to have a random chance of not working. --Bombcar (talk)

Added hints for systemd setup and to use by-id for the disk as mentioned above. --HideBehind (talk)

When doing zpool create on a virtual machine, you cannot use WWNs or anything else in /dev/disk. It's not populated. You must use /dev/sdb, and the like.

Uploaded file

Talk status
This discussion is still ongoing.

Please provide a license for the photos in this article by using one of the predefined templates such as {{Template:CC-by-sa-3.0}}

If they are yours, then choose an appropriate license to be displayed here.

Uploads without a license are against policy and must be removed. Thanks. --Grknight (talk) 15:01, 28 June 2021 (UTC)

Is "ashift=12" setting still warranted?

Talk status
This discussion is still ongoing.

Ashift appears to have been addressed back in 2014 by the dev who posted before closing off the topic.

"Commit c8c8d1e added a list of devices which are known to misreport their physical sector size. And most new devices are now correctly reporting 4k sectors"

It was also pointed out having ashift=12 set unnecessarily will have a large penalty hit on storage space.

ps cheers for the great how-to! Russelld (talk) 03:17, 13 January 2023 (UTC)