Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Are your partitions properly aligned on your SSDs?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
ernov
n00b
n00b


Joined: 28 May 2010
Posts: 55

PostPosted: Tue Aug 24, 2010 7:23 pm    Post subject: Reply with quote

Pigeon769, Shining Arcanine, you've certainly reached two extremes on one continuum :-) But the truth is usually on the "gold center".
I'm in the need of some practical advice how to treat my new F40 Corsair disk to use its power and not to screw up things on the beginning.
It looks like this for now:
Code:
Disk /dev/sdb: 40.0 GB, 40018599936 bytes
64 heads, 32 sectors/track, 38164 cylinders, total 78161328 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table


Shining Arcanine, how would you know what are erase block boundaries for it?
What switches of fdisk would I use to partition my new drive?
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Wed Aug 25, 2010 1:06 am    Post subject: Reply with quote

ernov wrote:
Pigeon769, Shining Arcanine, you've certainly reached two extremes on one continuum :-) But the truth is usually on the "gold center".
I'm in the need of some practical advice how to treat my new F40 Corsair disk to use its power and not to screw up things on the beginning.
It looks like this for now:
Code:
Disk /dev/sdb: 40.0 GB, 40018599936 bytes
64 heads, 32 sectors/track, 38164 cylinders, total 78161328 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table


Shining Arcanine, how would you know what are erase block boundaries for it?
What switches of fdisk would I use to partition my new drive?


There really is nothing special about doing this. You can just set fdisk to display sectors and then start partitions at n % 1024 = 0 where n is the sector number. As long as you do that, you are fine. Alternatively, you could toggle off the DOS compatibility mode, which will do Windows 7-style partitioning, which I think is a bit wasteful (you lose 1MB of space at the start of the drive), but that works too.
Back to top
View user's profile Send private message
ernov
n00b
n00b


Joined: 28 May 2010
Posts: 55

PostPosted: Mon Sep 13, 2010 11:55 pm    Post subject: Reply with quote

OK, what do you think of this (sorry for localized output but the essence should be clear):
Code:
Dysk /dev/sdb: 40.0 GB, bajtów: 40018599936
głowic: 32, sektorów/ścieżkę: 32, cylindrów: 76329, w sumie sektorów: 78161328
Jednostka = sektorów, czyli 1 * 512 = 512 bajtów
(...)
/dev/sdb1            1024    20973567    10486272   83  Linux
/dev/sdb2        20973568    41946111    10486272   83  Linux
/dev/sdb3        41946112    73404415    15729152   83  Linux
/dev/sdb4        73404416    77599743     2097664   83  Linux


Is it aligned properly?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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