Re: NVMe sector size ?

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

 



On Wed, 2024-01-10 at 12:19 -0600, Thomas Cameron wrote:
> I assume the installer chose the block size, since I basically did a 
> "next, next, next" installation. Should I have chosen something different?

I didn't choose block sizes, just some partition sizes in bytes on my
systems.  So I'd hope the install routine from the ISO files would make
some tests and choose things wisely (ha ha!) for me.

CentOS on a HDD:

  [root@rocky ~]$ blockdev --report /dev/sda
  RO    RA   SSZ   BSZ   StartSec            Size   Device
  rw   256   512  4096          0   1000204886016   /dev/sda

  [root@rocky ~]$ fdisk -l /dev/sda
  WARNING: fdisk GPT support is currently new, and therefore in an
  experimental phase. Use at your own discretion.

  Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 4096 bytes
  I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  Disk label type: gpt

Fedora on a SSD:

  [root@fluffy ~]#  blockdev --report /dev/sda
  RO    RA   SSZ   BSZ        StartSec            Size   Device
  rw   256   512  4096               0    500107862016   /dev/sda

  [root@fluffy ~]# fdisk -l /dev/sda
  Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
  Disk model: Samsung SSD 860 
  Units: sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disklabel type: gpt

And looking into the man file for blockdev:

       --getbsz
           Print the blocksize in bytes. This size does not describe device
           topology. It’s the size used internally by the kernel and it may be
           modified (for example) by filesystem driver on mount.

-- 
 
uname -rsvp
Linux 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
--
_______________________________________________
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