Re: NVMe sector size ?

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

 



On 1/10/24 12:39, Bob Marčan wrote:
On Wed, 10 Jan 2024 12:19:30 -0600
"Thomas Cameron" <thomas.cameron@xxxxxxxxxxxxxxx> wrote:

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?

Thomas


[root@smicro bob]# di |grep nvme
/dev/nvme0n1p2     /boot               1.9G     0.5G     1.3G   32%  ext4
/dev/nvme0n1p1     /boot/efi        1022.0M    17.4M  1004.6M    2%  vfat    <==
/dev/nvme1n1p4     /root-ssd1        849.9G    88.0G   718.6G   15%  ext4
[root@smicro bob]#
[root@smicro bob]# blockdev --report /dev/nvme*
RO    RA   SSZ   BSZ        StartSec            Size   Device
blockdev: ioctl error on /dev/nvme0
rw   256   512  4096               0   1000204886016   /dev/nvme0n1
rw   256   512   512            2048      1073741824   /dev/nvme0n1p1         <==
rw   256   512  4096         2099200      2147483648   /dev/nvme0n1p2
rw   256   512  4096         6293504     68719476736   /dev/nvme0n1p3
rw   256   512  4096       140511232    928262389760   /dev/nvme0n1p4
blockdev: ioctl error on /dev/nvme1
rw   256   512  4096               0   1000204886016   /dev/nvme1n1
rw   256   512  4096            2048      1073741824   /dev/nvme1n1p1
rw   256   512  4096         2099200      2147483648   /dev/nvme1n1p2
rw   256   512  4096         6293504     68719476736   /dev/nvme1n1p3
rw   256   512  4096       140511232    928262389760   /dev/nvme1n1p4
[root@smicro bob]#




Ah, ok... I see. My first drive is a Windows drive, the second is Linux:

[root@case ~]# blockdev --report /dev/nvme*
RO    RA   SSZ   BSZ        StartSec            Size   Device
blockdev: ioctl error on /dev/nvme0
rw   256   512  4096               0   1000204886016   /dev/nvme0n1
rw   256   512  4096            2048       104857600   /dev/nvme0n1p1
rw   256   512  4096          206848        16777216   /dev/nvme0n1p2
rw   256   512  4096          239616    999373668352   /dev/nvme0n1p3
rw   256   512  4096      1952141312       706740224   /dev/nvme0n1p4
blockdev: ioctl error on /dev/nvme1
rw   256   512  4096               0   1000204886016   /dev/nvme1n1
rw   256   512   512            2048       629145600   /dev/nvme1n1p1
rw   256   512   512         1230848      1073741824   /dev/nvme1n1p2
rw   256   512  4096         3328000     33734787072   /dev/nvme1n1p3
rw   256   512   512        69216256    964765417472   /dev/nvme1n1p4
[root@case ~]#

I wonder why the installer chose a 512k block size on my largest partition, but 4096 for my swap? I don't recall seeing a block size option during installation, but I may very well have missed it.

I'll throw it out there again, though: should I have done something different during installation?

--
Thomas
--
_______________________________________________
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