LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-30-2015, 08:15 PM   #1
Altiris
Member
 
Registered: Mar 2013
Posts: 556

Rep: Reputation: Disabled
Is it okay if my sector size is "512 bytes / 4096 bytes"


Getting ready to install Slackware 14.1 on my server and I ran into some partition misalignment errors, I've fixed them up and now fdisk no longer shows any errors relating to that however the error of "The device presents a logical sector size that is smaller than the physical sector size..." is still present and it shows that my sector size is 512 out of 4096bytes. Is this okay? Should it be 4096 / 4096 bytes instead? If so, how do I do such a thing?

Maybe this is useful, but my first partition has the start sector at 2048 and all of my two other partitions have start sectors divisible by 8.

Last edited by Altiris; 07-30-2015 at 08:16 PM.
 
Old 07-30-2015, 08:30 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Many drives report fake sector size 512 while the real size is 4096. Recent versions of fdisk and all versions of gdisk will align your partitions automatically.
 
Old 07-30-2015, 08:38 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
So yes, everything is fine - this is just a backwards compatibility thing. Be happy you have a disk that uses 4k sectors.
 
Old 07-30-2015, 09:02 PM   #4
Altiris
Member
 
Registered: Mar 2013
Posts: 556

Original Poster
Rep: Reputation: Disabled
Ahh okay thanks guys, and I will be glad I have a disk that uses 4k sectors! Thanks again!
 
Old 07-31-2015, 03:09 AM   #5
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by Altiris View Post
Getting ready to install Slackware 14.1 on my server and I ran into some partition misalignment errors, I've fixed them up and now fdisk no longer shows any errors relating to that however the error of "The device presents a logical sector size that is smaller than the physical sector size..." is still present and it shows that my sector size is 512 out of 4096bytes. Is this okay? Should it be 4096 / 4096 bytes instead? If so, how do I do such a thing?

Maybe this is useful, but my first partition has the start sector at 2048 and all of my two other partitions have start sectors divisible by 8.
http://www.microlinux.fr/microlinux/...tion-HOWTO.txt
 
Old 07-31-2015, 03:19 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
....
 
  


Reply



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
Set custom block sizes (512-4096 bytes) in Gparted? permissive Linux - General 5 08-23-2013 04:27 AM
Why MBR is limited to 512 bytes? RaviTezu Linux - Newbie 8 11-21-2012 07:47 AM
a question about "sector size 4096" Young_zhang Linux - General 10 11-28-2011 05:38 AM
"Extra bytes at the end of class file" when installing WTK2.2 eikeland Linux - Software 1 03-06-2007 08:59 PM
Directories always 4096 bytes? riwaJR Debian 4 04-03-2006 01:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:34 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration