SSD and HDD [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

SSD and HDD [Solved]

Postby PaoloDiMosca » Thu Sep 06, 2012 13:28

Hi!!!
I have an SSD and HDD. How and which partitions I should mount on SSD and which on HHD.
As I understand I surely should mount /boot and swap on SSD, to increse productivity. But what with others directories?

P.S. I am a complete newbie to Linux...
Last edited by PaoloDiMosca on Fri Sep 07, 2012 15:31, edited 1 time in total.
PaoloDiMosca
Baby Hen
 
Posts: 3
Joined: Thu Sep 06, 2012 13:22

Re: SSD and HDD

Postby micia » Thu Sep 06, 2012 14:19

Probably you might want to mount on SSD your /var/tmp directory, maybe /var/log too, others depend on how you use your PC.
Do notice that /tmp directory is also used for temporary files, since its purpose is practically identical to /var/tmp, many users tend to remove the /tmp directory and create it as a symlink to /var/tmp, this way you have only one temporary files directory and you can save up space on your disk (thus having a larger partition for temporary files).

If you read files often from your home directory (and have a relatively large SSD) you might want to mount it on your SSD, if space is limited consider creating a data partition on the HDD to store your user's rarely used files and link that in your SSD mounted home.
If you don't read or write files often from your home, you might consider storing there your /usr/bin or other often used directories on SSD.

Let's say that /var/tmp and /tmp is a "safe performance improvement", other mount points depend on how you plan to use your PC.
User avatar
micia
Sagely Hen
 
Posts: 2710
Joined: Wed Nov 26, 2008 16:41

Re: SSD and HDD

Postby Zeadar » Thu Sep 06, 2012 14:37

I'm no Linux pro. But as far as I know the SSD will lose lifespan on writes, so if you're concerned about a long life for your SSD you shouldn't have partitions that gets written on so often.

I am surely no expert on how the file hierarchy is used so I'll better leave another person to that. However, my /boot partition weight a ridiculously 26.1 MB, I wound't bother my SSD disk with such nothingness. :roll:

Below are two screenshots of KDE Partition Manager displaying my sda and sdb, an HDD and SSD disk respectively. Bear in mind I might not know what I am talking about.

Image
Zeadar
Young Hen
 
Posts: 36
Joined: Tue Oct 27, 2009 14:19

Re: SSD and HDD

Postby micia » Thu Sep 06, 2012 14:45

Zeadar wrote:I'm no Linux pro. But as far as I know the SSD will lose lifespan on writes, so if you're concerned about a long life for your SSD you shouldn't have partitions that gets written on so often.


As far as I know that has been classified as a SSD myth by someone, since SSD usually can balance written cells around in order to drastically reduce the problem, making it really hard to reach the write limit. But nevertheless worth mentioning and researching about.

I found this blog post that describes a bit the problem:
http://maxschireson.com/2011/04/21/debunking-ssd-lifespan-and-random-write-performance-concerns/
User avatar
micia
Sagely Hen
 
Posts: 2710
Joined: Wed Nov 26, 2008 16:41

Re: SSD and HDD

Postby PaoloDiMosca » Thu Sep 06, 2012 17:45

Thanx for the answers!
Now I've got some idea about what directories should have their own partitions.
Zeadar As I understand you are using your ssd to mount the root directory? (that "slash" symbol on picture)
Zeadar wrote:

What size should be /swap? 1,5xRAM?
PaoloDiMosca
Baby Hen
 
Posts: 3
Joined: Thu Sep 06, 2012 13:22

Re: SSD and HDD

Postby micia » Fri Sep 07, 2012 11:44

PaoloDiMosca wrote:As I understand you are using your ssd to mount the root directory?


I think what he's doing is mounting any directory that is not mounted on the HDD on the SSD, by mounting the root partition directly into the SSD.
User avatar
micia
Sagely Hen
 
Posts: 2710
Joined: Wed Nov 26, 2008 16:41

Re: SSD and HDD

Postby Zeadar » Fri Sep 07, 2012 14:38

Yes.

Every partition, that is not specified elsewhere, is mounted under root.

And yes, root is shown as a single forward slash. /
Image
Zeadar
Young Hen
 
Posts: 36
Joined: Tue Oct 27, 2009 14:19

Re: SSD and HDD

Postby PaoloDiMosca » Fri Sep 07, 2012 14:59

Ok!
Going to install Sabayon :)
PaoloDiMosca
Baby Hen
 
Posts: 3
Joined: Thu Sep 06, 2012 13:22


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 3 guests