1

I just bought a new SSD for my laptop, which is going to be a server running ArchLinux with grub2, GPT and btrfs.

My layout should look like this:

(grub-partition?)
/boot  ext2   75MB
/      btrfs  15GB
/home  btrfs  remaining

What do I need to do to create these partitions in a correctly aligned fashion using parted?

Do I need to consider alignment when formatting each partition with the desired file system?

2
  • Duh, theres an alignment thingy to think about with the X25MG2? And I just installed them without thinking...
    – Sam
    Sep 11, 2010 at 12:54
  • Yeah, you gotta check this post ldn.linuxfoundation.org/blog-entry/…
    – user49055
    Sep 11, 2010 at 13:54

2 Answers 2

0

Ok, I found a clear explanation a little tool to verify the resulting values.

Good Luck!

-1

Since the Intel X25M-G2 supports the TRIM-command and uses "garbage collection" an alignment to erase-blocks should not be overly important anymore if the Linux-kernel you are using supports TRIM as well.

For example the kernel used in Ubuntu 10.10 will support TRIM.

2
  • Umm...I don't think that's correct. You'd still like everything to be aligned whether you have TRIM or not, in fact TRIM is almost completely unrelated to alignment - the only relationship I can see is that if you're not aligned, as time goes by you'll have more of a mess (maybe only slightly more, but more) for TRIM to clean up. Oct 28, 2010 at 1:19
  • Forgot to add a link to the Paragon page that has a pretty good graphical explanation of what's up with alignment: paragon-software.com/business/partition-alignment/index.html I think their claims of a 300% boost are probably a little unrealistic, but you can see the potential inefficiency - basically if you're not aligned, you will (sometimes) have to write more blocks to save the same amount of data. Oct 28, 2010 at 1:22

You must log in to answer this question.