Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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/… –  Oli Sep 11 '10 at 13:54

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.