LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-16-2013, 11:34 AM   #1
yenn
Member
 
Registered: Jan 2011
Location: Czech Republic
Distribution: Slackware, Gentoo
Posts: 152

Rep: Reputation: 21
GPT on 512B sector disk


I'm about to reinstall one server and noticed that this particular server has older disks with 512B physical sector size, while other machines have disks with 4K physical sector size. On newer disks we have GPT, but what about these older ones?

Is there any performance penalty for using GPT on 512B sectors (like translation overhead when using 4K disks with MBR)? Is it even possible to use GPT on these disks?

I know GPT purpose is to enable use of larger disks (> 2.2 TB), but backup partition table is nice feature I'd like to have even on these disks.

Last edited by yenn; 08-16-2013 at 12:01 PM. Reason: update
 
Old 08-17-2013, 01:21 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 1,915

Rep: Reputation: Disabled
GPT works regardless of physical block size. All modern partitioning schemes deal with linear block numbers (the LBA addressing scheme), meaning the start and end of a partition is specified relative to block 0. The size of the block is not considered at all.

The only instance when any kind of "translation" takes place, is when you use drives with 4k sectors that emulate 512b sectors, and that translation occurs within the drive itself. The partition table still deals with LBA addresses.

The kernel only parses the partition table when a device is detected or when the appropriate system call is performed, such as when you run partprobe. The table is not referenced when file systems are being accessed, so no overhead can be present regardless of how the partitioning scheme works.
 
1 members found this post helpful.
Old 08-22-2013, 10:57 AM   #3
yenn
Member
 
Registered: Jan 2011
Location: Czech Republic
Distribution: Slackware, Gentoo
Posts: 152

Original Poster
Rep: Reputation: 21
Thanks for explanation.

Marking this thread as solved.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't get rid of GPT disk label rbdavis Linux - General 15 03-31-2013 10:03 PM
sda must have gpt disk label a.abdulna Linux - Newbie 1 03-11-2013 08:52 AM
MSDOS and GPT partitioning in 1 Hard Disk vikrang Linux - Newbie 3 03-09-2011 09:37 AM
[SOLVED] is it possible to nondestructively re-write a GPT disk label? muad'dib Linux - General 1 10-01-2009 07:52 AM
Help!!! Unable to convert GPT disk!!! kramer2718 Linux - Software 2 03-14-2009 09:44 PM


All times are GMT -5. The time now is 07:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration