Re: NVMe sector size ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Once upon a time, Thomas Cameron <thomas.cameron@xxxxxxxxxxxxxxx> 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 <linux@xxxxxxxxxxx>
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux