Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
support for 4K-sector disks and util-linux-ng v2.17
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
x2es
n00b
n00b


Joined: 02 Feb 2010
Posts: 5

PostPosted: Sat Mar 13, 2010 11:15 pm    Post subject: support for 4K-sector disks and util-linux-ng v2.17 Reply with quote

Hi!

This post applies to both topics "Hardware support" and "add ebuild into portage".

I got a problem with hdd WDC WD6400ARS-00Y5B1.
This HDD uses 4K-sectors and requires for a special allign of partitions (otherwise disk perfomance will be very slow). (http://anandtech.com/storage/showdoc.aspx?i=3691)
This is supported by Windows 7. For Windows XP proposed WD Align tool (http://www.wdc.com/en/products/advancedformat/). Nothing is said about Linux.

As soulution is proposed (http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/2926):
Quote:

install kernel >= 2.6.31, util-linux-ng 2.17, and use fdisk.

You will see :-) The latest fdisk uses disk topology information from
kernel and all partitions should be correctly aligned (you have read
and follow fdisk suggestions -- so read all warnings).


(Util-linux-ng 2.17.1 Release Notes: ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.17/v2.17.1-ReleaseNotes)

I have not found util-linux-ng in portage - only util-linux. Does it make sence to include util-linux-ng into portage?

I solved my problem by using WD Align tool, but it is huge way.

related post: http://forums.gentoo.org/viewtopic-t-796905.html?sid=02910a9a7c7db2878bc4f5b9074b5326
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4745
Location: Saint Amant, Acadiana

PostPosted: Sat Mar 13, 2010 11:54 pm    Post subject: Reply with quote

Code:
# fdisk -v
fdisk (util-linux-ng 2.17.1)

That's what it says on my box. I have sys-apps/util-linux-2.17.1 installed.
Back to top
View user's profile Send private message
x2es
n00b
n00b


Joined: 02 Feb 2010
Posts: 5

PostPosted: Mon Mar 15, 2010 7:43 am    Post subject: Reply with quote

Thanx
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7301
Location: Groton, Massachusetts USA

PostPosted: Tue Mar 16, 2010 1:58 pm    Post subject: Reply with quote

Also worth mentioning :
You can use parted with the --align option instead of fdisk.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum