Skip to content

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.

15 points23 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
15 · 100% up
Kind
Text
ID
3rn59e

Author

17
posts
180
comments
10
media
View profile

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:

  • /boot on SSD (100 MB)
  • / on SSD (120 GB)
  • /var on HDD (20 GB)
  • /home on HDD (480 GB)
  • swap on HDD (around the same size as your RAM)

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).

11 points

that's basically the setup I did for my buddies desktop. except I put swap on the ssd.

6 points

Putting the swap on the ssd can reduce the life of the ssd, depending on how much swap is used.

1 points

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?

3 points

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.

5 points

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.

1 points

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.

2 points

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.

1 points

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.

1 points
unknown author

Is there any significant advantage in using the /var partition on the HDD provided that the Arch Wiki says that

Note: A 32GB SSD with a mediocre 10x write amplification factor, a standard 10000 write/erase cycle, and 10GB of data written per day, would get an 8 years life expectancy. It gets better with bigger SSDs and modern controllers with less write amplification. Also compare [8] when considering whether any particular strategy to limit disk writes is actually needed.

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.

  • / on the SSD
  • /data on the HDD
1 points

Don't forget to use F2FS filesystem for your ssd root partition and ext2 on your boot.

0 points

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.

8 points

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:

# <file system> <dir>   <type>  <options>       <dump>  <pass>
# /dev/sda2
UUID=93b3a89f-0fe5-48d2-94d5-ac56adf7b50f       /               ext4            rw,relatime,data=ordered        0 1

# /dev/sda1
UUID=F57E-1C94          /boot           vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro    0 2

# /dev/sda3
UUID=fdadbb3c-034e-42fd-9df1-8639f99658d3       /home           ext4            rw,relatime,data=ordered        0 2

# /dev/sdb1
UUID=cb347274-7ba0-4092-a3f2-055cd7dcdbc2       /data           ext4            rw,relatime,noexec,nosuid,nodev 0 2
3 points

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.

3 points

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

2 points

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.

2 points
unknown author

Deleted before we saved it.

1 points

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.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.