120GB SSD + 500 GB HDD Partition Scheme
Hi. I bought a secondhand laptop. It has a 120gb SSD. And I also put a 500gb HDD with HDD candy. It's the first time I use SSD. And never installed arch on an SSD.
What is the best partition scheme for 120GB SSD + 500GB HDD? And is there any tweaks for SSD after installation or while installing?
Also since my SSD is secondhand, I looked SMART Data but didn't understand anything. Gnome Disk utility says it's healthy but has one bad sector. Can you guys look SMART Data result and say if it's safe to use? Here SMART Data Result: https://gist.githubusercontent.com/TaylanTatli/dfe134f121b5bfa969a5/raw/14459e6e6f9d35f95d09534d53d85d9692829e43/OCZ%2520SMART%2520-%25205.11.2015
BTW, I already looked the wiki. But people say it's not needed for modern SSDs for some tweaks. So I don't know what is needed or what is not.
Sorry for my English. Thanks.
Edited 5 Nov 2015. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 15 · 100% up
- Kind
- Text
- ID
- 3rn59e
24 comments
I also have a SSD (128 GB) and HDD (3 TB) on my desktop machine, so we are quite in a similar situation.
To tweak the SSD, you can have a look here.
What filesystem do you intend to use? If you want to use ext4 (which works well for SSD and HDD), you could setup something like this:
If you want to use btrfs, you could consider to keep the home-partition on the SSD and create btrfs-subvolumes on the HDD for the directories, which might contain big files (like /home/user/Downloads, /home/user/Pictures, /home/user/movies).
that's basically the setup I did for my buddies desktop. except I put swap on the ssd.
Putting the swap on the ssd can reduce the life of the ssd, depending on how much swap is used.
Thanks. I will do this. I'll use ext4 but I think it's better to keep home on SSD and symlink music, pic etc. from HDD?
Why would you want to do this? If the reason is that you want the config and cache files from /home to be on the SSD, then it would be a good reason (because I believe that cache and configs (to a lesser extent) would benefit from the improved reads/writes of the SSD).
You can also just leave /home alone and mount your music, pics, etc. from your HDD to /data. Environment variables should allow applications to treat /home and /data the way you want them to.
Def keep home on the SSD. Any apps that use a cache will work much faster. It is very noticeable on some, especially web browsing.
I never put my /home directory on my media drive. I just make all the pertinent directories into soft links to the media hard drive (~/Videos, ~/Pics, ~/Downloads etc...)
I find it a lot easier if I have to install a different OS that way I dont have to wipe the home partition each time.
Why do you wipe when installing a new OS? I've never done that in toggling between Arch and Ubuntu, and besides having to maybe clear out some .config directories there have been no issues.
This is exactly what I plan on doing (also have have SSD and a HDD + caddy on laptop) except my / will be ~30 GB and the rest goes to my Windows partition because I dual-boot (gaming and certain software on Windows).
Remember to keep free space of 20 - 25% on the SSD for optimal performance.
By the way, since /home is on HDD, so is the user cache and config files. Would you notice any difference in performance if these files were on the SSD? I have a feeling you would notice differences moving the cache but not the config files.
Is there any significant advantage in using the /var partition on the HDD provided that the Arch Wiki says that
Using /var also gave me an irrelevant error on poweroff that /var wasn't unmounted.
I'm using full disk encryption on SSD (120GB) and HDD (2TB) and I've found it easier to use the following partition scheme.
Don't forget to use F2FS filesystem for your ssd root partition and ext2 on your boot.
Install your operating system on the SSD. After that's done, install whatever filesystem you want to use on the HDD and then set it up in /etc/fstab to mount somewhere you'll use it for the extra space.
Using LVM there's actually a way to use the SSD (or just part of it) as a cache for the platter disk. It's a little more complicated but once you do it it's easy.
https://rwmj.wordpress.com/2014/05/22/using-lvms-new-cache-feature/
It's too complicated for me. Thank you. :)
I'm just a noob so this may be bad, but I put / on a 20GB partition, /home on the rest of the SSD, then mounted my hdd to /data.
I checked a bunch of articles about SSD's during setup and iirc the default options were almost always optimal.
OCZ has a utility for managing their SSD's it's available for linux as well check their website.
my fstab:
A more complicated but ideal solution would be ~512mb boot, 20gb root from the ssd and then use the remaining storage on SSD to do bcache with your 500gb spinner.
Your drive looks just fine. Reading SMART reports ain't fun or particularly intuitive, but give/teach a man to fish yada yada:
http://www.extremetech.com/computing/194059-using-smart-to-accurately-predict-when-a-hard-drive-is-about-to-die
https://lime-technology.com/wiki/index.php/Understanding_SMART_Reports
Edit: TL;DR "Value" is your disk health score, it counts down, so higher score=better If value is close or equal to "Threshold" the drive might be bad, otherwise you're fine
Kudos for devoting a laptop to Arch, and getting a used one. Very smart.
You don't disclose what your "data" requirements are, but I can tell you that the 120GB drive will easily handle any Arch "install". The full Gnome install I just did takes just 4GB of my 20GB root on my 256GB SSD, including the bloated packages Gnome has. You don't state your ram so judging need for swap is hard, though I have not felt the need for swap, ever. Learn about swap "files". Folllow the Beginner's Guide and NOT youtube. Install vanilla Arch. That guide covers SSD's well. Don't sweat partitioning. Focus on installing as generically as possible at first, to "get it done". Save complexity for when you understand the implications. Your first installl will not be your last.
For your first foray into Arch, I would keep it simple.
/dev/sda1 - 200MB boot
/dev/sda2 - root filesystem for remainder. EXT4. Make your /home here. Learn tar or rsync to backup your home to your hdd.
/dev/sdb1 - all to EXT4. Make a directory owned by each user. Store your system backups under the root subdir.
After your first install, you will celebrate a lot! After your second, still a celebration. By your third, you should realize the install is more tedium that terror.
Deleted before we saved it.
I'll throw my hat into the ring, too:
/boot on SSD (200 MB- FAT32)
Swap on SSD (4GB- same size as my RAM)
/ on SSD (remaining space- btrfs)
/home on HDD (entire hard drive- ext4)
EDIT: it's worth noting that I'm on EFI, so /boot for me is my EFI system partition.