Talk:Advanced Format

From ArchWiki
Jump to navigation Jump to search

Table in "Current HDD Models that Employ a 4k Sectors"

In this section there is no hint about which way/tool is used to find out the Reported sector size. My hard disk information was obtained by:

 # hdparm -I /dev/wd-hard_disk

I read somewhere that one can also look at /sys/block/wd-hard_disk/queue/hw_sector_size, which reports only 512.

Also, I don't undestand the order of disks in the table (not sorted by Manufacturer, not by Capacity) so I simply added mine on top. 6arms1leg 17:05, 26 March 2012 (EDT)

Update:
 # parted /dev/wd-hard_disk print
also gives me:
 Sector size (logical/physical): 512B/512B
6arms1leg 10:53, 27 March 2012 (EDT)

Workaroud for booting from AF discs with more than 512 bytes sector size

I am worried that my server hard disk crash and will not be able to get a 512 Sectors hard disk from the market. Recently, I went shopping for a new disk. All new disks from Western Digital and Seagate have AF (advanced format) label. I bought Seagate 2TB, model ST2000DM001. Its date of manufacture is May 2012. No luck, it is 4096/4096 logical/physical. Fedora 17 can be installed to it but cannot write to its MBR.

My solution was mounting the disk to / and mounting a flash memory sandisk with a ext4 partition to /boot. During installation, F17 writes boot sector to mbr of / disk. To write to mbr of /boot disk, use F17 to rescue. The following commands were used to write to mbr of /boot disk:

  1. chroot /mnt/sysimage
  2. grub2-install /dev/sdx

where sdx is the sandisk.

These take away my worry as sandisk sectors are 512. They are available in the market.

Hello Thomasleow. Thanks for contributing to this Wiki, but I think your guide does not belong in this Talk page. If you have questions you should use the forum. since you found a solution for a problem you should add a section in the Wiki. But you also seem to use Fedora, so this does not belong here at all, as this Wiki is Arch related (you could leave out the Fedora part and replace it with with an Arch related procedure, though).
Also please add a new section for your topic on the Talk pages and sign your contributions.
6arms1leg (talk) 09:13, 10 August 2012 (UTC)

4096 logical sector size

This page was started on 2011. It's now (as of writing) 2014.

It states: "however drives with 4096 byte logical sectors may offer marginally better performance"

I read through the table and didn't find any drives that support 4096 logical sector sizes. Is it true there are no drives at all that support 4096 logical sector sizes?

Also, it is mentioned that the 512 logical sector size is because of legacy OSes. Is Windows 8 still not supporting this?

FrozenCow (talk) 11:51, 8 June 2014 (UTC)

Mistake in How to determine if HDD employ a 4k sector

I have a disk for which both of these commands report 512:

cat /sys/class/block/sdX/queue/physical_block_size

cat /sys/class/block/sdX/queue/logical_block_size

However, smartctl -a does list the disk with:

Sector Sizes: 512 bytes logical, 4096 bytes physical

—This unsigned comment is by RoundCube (talk) 11:37, 7 November 2018 (UTC). Please sign your posts with ~~~~!

Provided commands to check for sector size are deprecated or unreliable

  • Current smartmontools 7.2 uses the term "LBA sizes" and a table, so the provided command with grep "Sector Sizes" shows no output.
  • fdisk output is localized, thus it might show no output with the term "Sector Size"
  • hdparm -I shows no output at all on my setup

Hence, none of the provided commands worked on my setup. --Cvlc (talk) 16:16, 24 August 2021 (UTC)

Sorry, had tried those on an SSD, which doesn't work... -- Cvlc (talk) 12:19, 24 November 2021 (UTC)

Rewrite Advanced Format to a new Sector Sizes page

Here is a draft of a new page which would group info about sector sizes : User:Cvlc/Sector Size

The goal is to have a simple place to get info from during Installation by merging :

User:Cvlc/Sector Size is a draft, some parts were just copied over and need to be completely rewritten (Filesystems and Dm-crypt notably). Any help is welcome !

-- Cvlc (talk) 23:07, 24 November 2021 (UTC)

I like the idea of merging all that stuff in one page. I'm not too sure about the new page name, though. I suggest that you first merge all the listed sections into Advanced Format. Whether to rename it, and to what, can be decided afterwards. -- nl6720 (talk) 09:42, 25 November 2021 (UTC)
I initially changed the title because the term Advanced Format only applies to HDDs and not SSDs. See [1]. So we need to look for a title that can encompass that, and the dm-crypt or filesystem stuff as well. How about Storage Layout and Alignment ? and then merging
WIP here User:Cvlc/Storage_Layout_and_Alignment
Or maybe move the whole page to a new Improving performance/Partitioning. But it kind of collides with Partitioning.
-- Cvlc (talk) 12:32, 25 November 2021 (UTC)
I saw the draft, it looks like a good start. I'm just saying, that there's no point in trying to create the perfect draft, simply edit Advanced Format until it matches the wanted content. The page can then be moved to a suitable name (pay attention to Help:Style#Title, though).
As for the new title, I don't think it would belong as a subpage of Improving performance and neither of Partitioning, since it starts from a level lower than partitioning and goes all the way to file system formatting.
-- nl6720 (talk) 07:27, 26 November 2021 (UTC)