Once upon a time, Thomas Cameron <thomas.came...@camerontech.com> said:
> I just checked my system, and it looks like it's set for 512k blocks:
> 
> [root@case ~]# blockdev --report /dev/nvme1n1p4
> RO    RA   SSZ   BSZ        StartSec            Size   Device
> rw   256   512   512        69216256    964765417472   /dev/nvme1n1p4
> 
> I assume the installer chose the block size, since I basically did a
> "next, next, next" installation. Should I have chosen something
> different?

The underlying NVMe sector size is not something presented for change,
because it is destructive.

You can see what your drive supports (and what is active) with "smartctl
-c /dev/nvme0n1" (or other if you have more than one) and look at the
"Supported LBA Sizes".  You can use the nvme command from the nvme-cli
package to change it (if your drive supports more than one), and
changing it destroys all the contents of the drive.  You can't
necessarily just restore a filesystem image back to it either; a number
of FSes have the underlying raw block size as a basic assumption that
cannot be changed after the FS is created.

Even if the presented raw sector size is 512, the drive can typically
report the "optimal" size as 4096 (and Linux then uses that info).
-- 
Chris Adams <li...@cmadams.net>
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to