You are not logged in.
Pages: 1
I have a new hard disk which have advance formatting , and I am not sure if I will cfdisk if the partitions will be aligned correctly.
is there paramers I need to give to enure the partitions are aligned or I can just use it and the partitions will be aligned?
Last edited by XDarkAngelX (2014-01-08 16:47:04)
Offline
I'm supposing a SSD.
From wiki:
Many of the common partition tools handle partition alignment automatically (assuming users are using an up-to-date version):
.....
......
https://wiki.archlinux.org/index.php/So … _Alignment
Edit:
About advance formatting
http://en.wikipedia.org/wiki/Advanced_Format
https://wiki.archlinux.org/index.php/Advanced_Format
For advanced format partitioning
https://wiki.archlinux.org/index.php/Ad … Partitions
Last edited by Alber (2014-01-08 17:18:31)
Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.
Offline
I'm supposing a SSD.
From wiki:
Many of the common partition tools handle partition alignment automatically (assuming users are using an up-to-date version):
.....
......
https://wiki.archlinux.org/index.php/So … _AlignmentEdit:
About advance formatting
http://en.wikipedia.org/wiki/Advanced_Format
https://wiki.archlinux.org/index.php/Advanced_FormatFor advanced format partitioning
https://wiki.archlinux.org/index.php/Ad … Partitions
ok but do you know if cfdisk supports Aligning Partitions? as it is not menioned in the wiki and I perfer to use it over fdisk
Offline
Sorry, I changed cfdisk by gdisk in my mind (I need to pay more attention).
I've searched a little, and don't know. I looks like that no:
https://wiki.archlinux.org/index.php/pa … ning_tools
But maybe you can use it and use fdisk to see if its aligned (fdisk is in the same package that cfdisk):
https://wiki.archlinux.org/index.php/Ad … _alignment
Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.
Offline
I think you should just give fdisk or gdisk a whirl. They are menu driven and certainly not complicated. There is no curses interface, but I find them to be quite intuitive and easy to use. Then you can be sure that the proper alignment will occur.
Offline
I guess I will just use fdisk seems like I can handle it.
one last quesion to know that my partition is aligned I need to do fdisk -lu /dev/sda or what ever disk I want
and then check that the start value can be divided by 8?
Offline
https://wiki.archlinux.org/index.php/SS … _Alignment
When I used fdisk to partition my ssd, the partitions were correctly aligned.
Last edited by 2ManyDogs (2014-01-08 20:34:28)
Offline
I think that the idea is take 4KiB groups. It is to say groups of 8*512 bytes (512 bytes = 1 sector).
For easy get it divisible by 2048.
Today, I have "the day",
Wait, wait....
the idea is take 4KiB groups. It is to say groups of 8*512 bytes (512 bytes = 1 sector).
So if any partition start in a number divisible by 8 is ok (if measured en sectors).
2048 is a fdisk default value.
(SDs I just looking have 8192. It could depend on erase block size. For SSDs and SDs http://en.wikipedia.org/wiki/Write_amplification)
Last edited by Alber (2014-01-08 22:08:26)
Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.
Offline
Using fdisk or gdisk will simply ensure that you don't have to thnk about partition alignment at all. Just use 'fdisk /dev/sda' then hit 'm' (then enter) to see a list of available options. Definitely don't use '-u' as you want to be using the default sectors rather than cylinders.
Offline
Pages: 1