Difference between revisions of "Talk:Advanced Format"

From ArchWiki
Jump to: navigation, search
(Question about the table in "Current HDD Models that Employ a 4k Sectors")
 
(Added section)
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
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:
 
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:
  
   # sudo hdparm -I /dev/wd-hard_disk
+
   # 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''.
 
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 ''Manufacturer'', not ''Capacity'') so I simply added mine on top.
+
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.
 
[[User:6arms1leg|6arms1leg]] 17:05, 26 March 2012 (EDT)
 
[[User:6arms1leg|6arms1leg]] 17:05, 26 March 2012 (EDT)
 +
 +
:Update:
 +
  # parted /dev/wd-hard_disk print
 +
:also gives me:
 +
  Sector size (logical/physical): 512B/512B
 +
:[[User:6arms1leg|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:
 +
 +
# chroot /mnt/sysimage
 +
# 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.
 +
:[[User:6arms1leg|6arms1leg]] ([[User talk:6arms1leg|talk]]) 09:13, 10 August 2012 (UTC)

Revision as of 09:19, 10 August 2012

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)