[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-user
Subject:    Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on
From:       Dale <rdalek1967 () gmail ! com>
Date:       2023-04-19 19:26:55
Message-ID: 35474652-f973-75b2-b8e7-4d22915672ac () gmail ! com
[Download RAW message or body]

Mark Knecht wrote:
>
>
> On Wed, Apr 19, 2023 at 10:59 AM Dale <rdalek1967@gmail.com
> <mailto:rdalek1967@gmail.com>> wrote:
> >
> > Peter Humphrey wrote:
> > > On Wednesday, 19 April 2023 09:00:33 BST Nikos Chantziaras wrote:
> > >
> > >> With my HDD:
> > >>
> > >>    # smartctl -x /dev/sda | grep -i 'sector size'
> > >>    Sector Sizes:     512 bytes logical, 4096 bytes physical
> > > Or, with an NVMe drive:
> > >
> > > # smartctl -x /dev/nvme1n1 | grep -A2 'Supported LBA Sizes'
> > > Supported LBA Sizes (NSID 0x1)
> > > Id Fmt  Data  Metadt  Rel_Perf
> > >  0 +     512       0         0
> > >
> > > :)
> > >
> >
> > When I run that command, sdd is my SDD drive, ironic I know.  Anyway, it
> > doesn't show block sizes.  It returns nothing.
> >
> > root@fireball / # smartctl -x /dev/sdd  | grep -A2 'Supported LBA Sizes'
> > root@fireball / #
>
> Note that all of these technologies, HDD, SDD, M.2, report different
> things
> and don't always report them the same way. This is an SDD in my 
> Plex backup server:
>
> mark@science:~$ sudo smartctl -x /dev/sdb
> [sudo] password for mark:  
> smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.0-69-generic] (local
> build)
> Copyright (C) 2002-20, Bruce Allen, Christian Franke,
> www.smartmontools.org <http://www.smartmontools.org>
>
> === START OF INFORMATION SECTION ===
> Model Family:     Crucial/Micron Client SSDs
> Device Model:     CT250MX500SSD1
> Serial Number:    1905E1E79C72
> LU WWN Device Id: 5 00a075 1e1e79c72
> Firmware Version: M3CR023
> User Capacity:    250,059,350,016 bytes [250 GB]
> Sector Sizes:     512 bytes logical, 4096 bytes physical
>
> In my case the physical block is 4096 bytes but 
> addressable in 512 byte blocks. It appears that
> yours is 512 byte physical blocks.
>
> [QUOTE]
> === START OF INFORMATION SECTION ===
> Model Family:     Samsung based SSDs
> Device Model:     Samsung SSD 870 EVO 500GB
> Serial Number:    S6PWNXXXXXXXXXXX
> LU WWN Device Id: 5 002538 XXXXXXXXXX
> Firmware Version: SVT01B6Q
> User Capacity:    500,107,862,016 bytes [500 GB]
> Sector Size:      512 bytes logical/physica
> [QUOTE]


So for future reference, let it format with the default?  I'm also
curious if when it creates the file system it will notice this and
adjust automatically. It might.  Maybe?

Dale

:-)  :-) 

P. S. Dang squirrels got in my greenhouse and dug up my seedlings. 
Squirrel hunting is next on my agenda.  :-@

[Attachment #3 (text/html)]

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Mark Knecht wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAK2H+eeaEt6+mqCP0Kgm1i6ZGcssDWYQ-Ace-f-J6vfcAnYa1w@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr"><br>
        <br>
        On Wed, Apr 19, 2023 at 10:59 AM Dale &lt;<a
          href="mailto:rdalek1967@gmail.com" moz-do-not-send="true">rdalek1967@gmail.com</a>&gt;
        wrote:<br>
        &gt;<br>
        &gt; Peter Humphrey wrote:<br>
        &gt; &gt; On Wednesday, 19 April 2023 09:00:33 BST Nikos
        Chantziaras wrote:<br>
        &gt; &gt;<br>
        &gt; &gt;&gt; With my HDD:<br>
        &gt; &gt;&gt;<br>
        &gt; &gt;&gt;    # smartctl -x /dev/sda | grep -i 'sector size'<br>
        &gt; &gt;&gt;    Sector Sizes:     512 bytes logical, 4096 bytes
        physical<br>
        &gt; &gt; Or, with an NVMe drive:<br>
        &gt; &gt;<br>
        &gt; &gt; # smartctl -x /dev/nvme1n1 | grep -A2 'Supported LBA
        Sizes'<br>
        &gt; &gt; Supported LBA Sizes (NSID 0x1)<br>
        &gt; &gt; Id Fmt  Data  Metadt  Rel_Perf<br>
        &gt; &gt;  0 +     512       0         0<br>
        &gt; &gt;<br>
        &gt; &gt; :)<br>
        &gt; &gt;<br>
        &gt;<br>
        &gt; When I run that command, sdd is my SDD drive, ironic I
        know.  Anyway, it<br>
        &gt; doesn't show block sizes.  It returns nothing.<br>
        &gt;<br>
        &gt; root@fireball / # smartctl -x /dev/sdd  | grep -A2
        'Supported LBA Sizes'<br>
        &gt; root@fireball / #
        <div><br>
        </div>
        <div>Note that all of these technologies, HDD, SDD, M.2, report
          different things</div>
        <div>and don't always report them the same way. This is an SDD
          in my </div>
        <div>Plex backup server:<br>
          <br>
          mark@science:~$ sudo smartctl -x /dev/sdb<br>
          [sudo] password for mark:  <br>
          smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.0-69-generic]
          (local build)<br>
          Copyright (C) 2002-20, Bruce Allen, Christian Franke, <a
            href="http://www.smartmontools.org" moz-do-not-send="true">www.smartmontools.org</a><br>
          <br>
          === START OF INFORMATION SECTION ===<br>
          Model Family:     Crucial/Micron Client SSDs<br>
          Device Model:     CT250MX500SSD1<br>
          Serial Number:    1905E1E79C72<br>
          LU WWN Device Id: 5 00a075 1e1e79c72<br>
          Firmware Version: M3CR023<br>
          User Capacity:    250,059,350,016 bytes [250 GB]<br>
          Sector Sizes:     512 bytes logical, 4096 bytes physical<br>
        </div>
        <div><br>
        </div>
        <div>In my case the physical block is 4096 bytes but </div>
        <div>addressable in 512 byte blocks. It appears that</div>
        <div>yours is 512 byte physical blocks.</div>
        <div><br>
        </div>
        <div>[QUOTE]</div>
        <div>=== START OF INFORMATION SECTION ===<br>
          Model Family:     Samsung based SSDs<br>
          Device Model:     Samsung SSD 870 EVO 500GB<br>
          Serial Number:    S6PWNXXXXXXXXXXX<br>
          LU WWN Device Id: 5 002538 XXXXXXXXXX<br>
          Firmware Version: SVT01B6Q<br>
          User Capacity:    500,107,862,016 bytes [500 GB]<br>
          Sector Size:      512 bytes logical/physica<br>
        </div>
        <div>[QUOTE]</div>
      </div>
    </blockquote>
    <br>
    <br>
    So for future reference, let it format with the default?  I'm also
    curious if when it creates the file system it will notice this and
    adjust automatically. It might.  Maybe? <br>
    <br>
    Dale <br>
    <br>
    :-)  :-)  <br>
    <br>
    P. S. Dang squirrels got in my greenhouse and dug up my seedlings. 
    Squirrel hunting is next on my agenda.  :-@ <br>
  </body>
</html>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic