Skip to content

Format NVMe automatically with 512B block size.#2

Open
macronet wants to merge 1 commit intoNabuCasa:2022.02.x-yellow-installerfrom
macronet:fix/nvme-format-512
Open

Format NVMe automatically with 512B block size.#2
macronet wants to merge 1 commit intoNabuCasa:2022.02.x-yellow-installerfrom
macronet:fix/nvme-format-512

Conversation

@macronet
Copy link
Copy Markdown

Make sure we're using 512B logical block size with NVMe, image-installation fails if logical block size is 4096B.

Tried to install on 4096B formatted NVMe (SN850 on Yellow PoE with CM4 2GB Lite) and it failed silently (looked like successful installation, just steady green+red on next boot).

Caveat: I don't have a NVMe-disk without 512B block size support so cannot confirm does format actually error out.

Other option (instead of just plain formatting with -b 512) would be to interrogate NVMe which lbaf formats it has and check if lbads:9 is missing completely.

(pull-request-retry: renamed branch, refined patch & author-data)

Make sure we're using 512B logical block size with NVMe, image-installation fails if logical block size is 4096B.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant