LinuxQuestions.org
Register a domain and help support LQ
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 11-07-2012, 05:56 AM   #1
buccaneere
Member
 
Registered: Nov 2007
Posts: 188

Rep: Reputation: 16
Hard drive / partition alignment error...


I installed a new drive, and after partitioning GParted, and re-scanning, I got, "the partition is misaligned by 3072 bytes".

ext3, and NTFS formatting produced same error.

I wiped it, another GPT, and 3 more partitions. Re-scan, and same error. GParted, and 'DiskUtility' whined about the same error.

I booted W7, wiped, re-partitioned, with GPT, and same size partitions, NTFS. Windows said "I'm happy". SURPRISE!!!

THEN, I re-booted Ubuntu. Same alignment error. ???

Google says older Linux (10.04 old???) partitioning utilities are prone to alignment errors. I WOULDN'T count on that, EXCEPT that the error came up on Windows-created partitions too.

Any ideas?
 
Old 11-07-2012, 06:10 AM   #2
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
HDD brand/model?

If its one of the new 'advanced format' HDDs, windows XP and earlier (not that anybody should be running earlier MS OSes) will also not get the partitions aligned correctly.
 
1 members found this post helpful.
Old 11-07-2012, 05:36 PM   #3
buccaneere
Member
 
Registered: Nov 2007
Posts: 188

Original Poster
Rep: Reputation: 16
Thanks there Mr C...

I partitioned and formatted again, in W7 (primary OS for that media-only pc), and shutdown. Today, that hard drive reports no mis-alignment. I don't know how it happened, so nothing is learned so far.
Attached Images
File Type: jpg Screenshot.jpg (129.2 KB, 17 views)
File Type: jpg Screenshot-1.jpg (130.8 KB, 15 views)
 
Old 11-08-2012, 05:50 AM   #4
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
You could have at least told me the brand/model......

Win7 should get partition alignment right. Old versions of Gparted wont.
 
1 members found this post helpful.
Old 11-08-2012, 02:16 PM   #5
masterclassic
Member
 
Registered: Jun 2007
Distribution: Knoppix
Posts: 140

Rep: Reputation: 23
Ι see it is a 4TB Hitatchi hard drive, so it uses 4KiB sectors for sure.
Gparted Live defaults to the MiB alignment since some years. win visa and win 7 align partitions to MiB, too.
Do you use Ubuntu 10.04? It is highly possible that it doesn't support properly such hard drives. I think these "advanced format" drives are in the market since 2010, so this distro version isn't up to date. Furthermore, 4TB drives are even newer, 1 year or less.

So, you could perhaps try some recent version.
 
1 members found this post helpful.
Old 11-08-2012, 03:27 PM   #6
buccaneere
Member
 
Registered: Nov 2007
Posts: 188

Original Poster
Rep: Reputation: 16
Sorry there C-9; I didn't know what other info was necessary, without cluttering up the post...

Allocation unit size is 32K (NTFS). Does THAT make a difference?
---------------------------------

I presumed that when physical divisions of disk space are in MULTIPLES of the default / smaller units, then NO application could have a problem when looking at the disk, regardless of Windows or Linux environment...
------------------------------------

So irregardless:


Is there any chance that with 10.04 booted, a mis-mount / mis-read could occur, that causes boundary failure, or data loss? Everything IS backed up out of the machine (yep - I do have 34 TB of drives, FULL TOO!!! )

10.04 is used to manipulate W7, which is 'modified', and occasionally needs encouragement :wink: .
 
Old 11-10-2012, 03:46 AM   #7
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Wow, diging up info on hitachi has got harder since they got bought by WD.

Eventually though I found some data- it appears to be another '4K reporting as 512b sector' drive. Annoying.

32K cluster size wont make any difference. Some basic backgorund on advanced format drives here, and in patricular this bit (and its worth checkign the link if only to see the graphics that go with this statement)-

Quote:
With the emulation of 512B sectors, there’s the risk that a partition could be misaligned compared to the 4K physical sectors - where it would be unwittingly started in the middle of such a sector. As a result, the clusters of a file system on that partition would end up straddling 4K sectors, which would cause performance problems.
http://www.anandtech.com/show/2888
 
  


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
Moving one partition to another partition on the same hard drive ruguloo Linux - Desktop 2 05-10-2011 10:01 AM
trying to boot puppy 5.1.1 from hard drive. Error 17: cannot mount partition dasjr7 Linux - Newbie 2 10-01-2010 02:11 PM
Copying a partition from one hard drive to the same partition on another hard drive pylagan Linux - General 1 03-23-2010 12:02 PM
Hard Drive Partition Management - Mandriva Double Partition with Swap File partition moshebagelfresser Linux - Hardware 2 05-23-2008 10:46 AM
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-04-2007 11:28 PM


All times are GMT -5. The time now is 08:42 AM.

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