Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

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

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

Good Luck!

share|improve this answer

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.

share|improve this answer
    
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. – Fred Hamilton Oct 28 '10 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. – Fred Hamilton Oct 28 '10 at 1:22

You must log in to answer this question.