User talk:Monsieurp/Gentoo Linux on ZFS

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
Please provide a license for the photos in this article by using one of the predefined templates such as

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?
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)