Best way to mount SSD and HDD Advice?

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
jmcginley

Best way to mount SSD and HDD Advice?

Post by jmcginley »

Potentially a big newbie question but got to start somewhere! :)

I've been looking in to this for a while now and struggling to find a solution that I understand so hopefully someone else has a set up which is similar to what I want and can give some advice.

I have a 125gb SSD which I am currently booting from and also storing everything on, software, games, files etc. However i also have a 1tb HDD which would be a much more suitable device to store everything on. So ideally I would like a set up which tells my PC to boot from the SSD but after that just use the HDD, is this possible? Would there be any benefit to keeping some items such as software on the SSD (from a speed perspective) and how would this be achieved if so?

I'm willing to do a complete re-install of Linux if that helps the process and in the past have tried mounting the HDD as /home and the SSD as / but this has not worked for me (probably because I'm doing it wrong).
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Best way to mount SSD and HDD Advice?

Post by Flemur »

jmcginley wrote: Fri Sep 07, 2018 1:30 pmSo ideally I would like a set up which tells my PC to boot from the SSD but after that just use the HDD, is this possible?
That sounds like a separate boot partition with the rest of the OS on the HD.
Would there be any benefit to keeping some items such as software on the SSD (from a speed perspective) and how would this be achieved if so?
Best would be to use the SSD for booting AND the entire OS - like you already have - and use the HD for either a /home partition, or a "data" partition, which can be set up in different ways. Either is pretty easy to do with the OS already setup like you have (data is easier) without reinstalling - check this forum ...
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Best way to mount SSD and HDD Advice?

Post by catweazel »

jmcginley wrote: Fri Sep 07, 2018 1:30 pm I have a 125gb SSD which I am currently booting from and also storing everything on, software, games, files etc. However i also have a 1tb HDD which would be a much more suitable device to store everything on.
You might eventually come to realise that that's a complete waste of 100GB or so of high-speed SSD. You only need around 30GB for the OS, depending on your needs maybe 50GB. If you put everything onto the HDD then that space on your SSD goes unused. You're better off keeping things that you need regular access to in your /home directory on the SSD and using the HDD for all other things, including backups.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
User avatar
AZgl1800
Level 20
Level 20
Posts: 11170
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes Sweeping down the Plains
Contact:

Re: Best way to mount SSD and HDD Advice?

Post by AZgl1800 »

catweazel wrote: Fri Sep 07, 2018 9:05 pm
jmcginley wrote: Fri Sep 07, 2018 1:30 pm I have a 125gb SSD which I am currently booting from and also storing everything on, software, games, files etc. However i also have a 1tb HDD which would be a much more suitable device to store everything on.
You might eventually come to realise that that's a complete waste of 100GB or so of high-speed SSD. You only need around 30GB for the OS, depending on your needs maybe 50GB. If you put everything onto the HDD then that space on your SSD goes unused. You're better off keeping things that you need regular access to in your /home directory on the SSD and using the HDD for all other things, including backups.
This is how I do it myself.

I split the 500gB SSD into two major partitions, the 2nd one is for backups....
nearly everything I need or want is stored on just the SSD, and backed up on the 2nd half of the SSD, and then a 6TB HDD backs up everything again.

You can see here that I also have the 1/2 half partitioned off again and running LMDE3-Cindy on it.
you can get a lot of mileage out of not too much space....

Image
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Best way to mount SSD and HDD Advice?

Post by catweazel »

AZgl1500 wrote: Fri Sep 07, 2018 10:37 pm This is how I do it myself.
You might want to shrink that right-hand partition by 75GB (15%), or at least 50GB (10%), and leave the space unallocated, i.e. don't partition it. This will cause the SSD controller to use the empty space to greatly extend the life of your SSD. If you need more information, search for over-provisioning.

Image
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
User avatar
AZgl1800
Level 20
Level 20
Posts: 11170
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes Sweeping down the Plains
Contact:

Re: Best way to mount SSD and HDD Advice?

Post by AZgl1800 »

catweazel wrote: Fri Sep 07, 2018 10:43 pm
AZgl1500 wrote: Fri Sep 07, 2018 10:37 pm This is how I do it myself.
You might want to shrink that right-hand partition by 75GB (15%), or at least 50GB (10%), and leave the space unallocated, i.e. don't partition it. This will cause the SSD controller to use the empty space to greatly extend the life of your SSD. If you need more information, search for over-provisioning.

Image
good point, I meant to do that, but forgot about it long ago....
that is on tomorrrow's To Do list.
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
User avatar
AndyMH
Level 21
Level 21
Posts: 13697
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Best way to mount SSD and HDD Advice?

Post by AndyMH »

I'd put both / and /home partitions on your SSD and then mount your 1TB HDD as something like /home/you/data. That way the OS is on the fastest device, stuff that you use frequently is also on the fastest drive and other stuff can live on the HDD.

This is a similar setup to my home brew desktop. It has a 120G SSD for / and /home and a 1TB HDD. I've split the HDD, 300G for data and the rest for backup.

It will mean you need to edit your fstab file (lives in /etc - open as root). This is straightforward, add an entry along the lines of the following

Code: Select all

# mount point for data
UUID=5cdf25ee-93ed-41a0-96f5-31ff2f85862c /home/andy/data ext4 defaults,nofail 0 2
You get the UUID by typing blkid into a terminal.

This gives you a bit more info on fstab:

https://help.ubuntu.com/community/Fstab
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
jmcginley

Re: Best way to mount SSD and HDD Advice?

Post by jmcginley »

Thanks for the advice, I think I have it set up how I like it, although even though I've set the HDD up to be mounted on startup Steam doesn't seem to recognise that its there until i manually go to 'Computer' on my desktop and at least select the HDD. Once I've done this then Steam recognises all the installed games on it. Only a minor issue but it'd be nice to just go straight to Steam and play games without having to select the HDD before.
User avatar
AndyMH
Level 21
Level 21
Posts: 13697
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Best way to mount SSD and HDD Advice?

Post by AndyMH »

If you are mounting it through fstab then the defaults option should mount it automatically on boot:

defaults = rw, suid, dev, exec, auto, nouser, and async
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
AZgl1800
Level 20
Level 20
Posts: 11170
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes Sweeping down the Plains
Contact:

Re: Best way to mount SSD and HDD Advice?

Post by AZgl1800 »

leonette wrote: Mon Oct 01, 2018 8:50 pm You might eventually come to realise that that's a complete waste of 100GB or so of high-speed SSD. You only need around 30GB for the OS, depending on your needs maybe 50GB. If you put everything onto the HDD then that space on your SSD goes unused. You're better off keeping things that you need regular access to in your /home directory on the SSD and using the HDD for all other things, including backups.
I agree,
I have everything on the SSD, and back it up to HDD.
this lets me benefit from the SSD's speed in reading/writing to files.

Every thing in this Gparted image is my 500gB SSD, it is partitioned to allow me to make as much use of it as possible. I have a crontab job that runs fstrim daily to free up space after something is deleted.
the newer SSDs do not suffer from the write/delete/write/delete problems like they use to.


Gparted.png
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Best way to mount SSD and HDD Advice?

Post by catweazel »

AZgl1500 wrote: Mon Oct 01, 2018 9:15 pm
leonette wrote: Mon Oct 01, 2018 8:50 pm You might eventually come to realise that that's a complete waste of 100GB or so of high-speed SSD. You only need around 30GB for the OS, depending on your needs maybe 50GB. If you put everything onto the HDD then that space on your SSD goes unused. You're better off keeping things that you need regular access to in your /home directory on the SSD and using the HDD for all other things, including backups.
I agree,
lol - that was copy pasted from my post higher up, mate.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Locked

Return to “Storage”