Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Partition ssd + hd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2483
Location: Silver City, NM

PostPosted: Mon Dec 23, 2013 12:12 am    Post subject: Partition ssd + hd Reply with quote

I'm getting a 180 GB ssd. I already have two hard drives: 640 GB and 2 TB. I have 6 GB RAM and have /var/tmp/portage mounted as tmpfs which works fine for me. I've always kept /usr/portage on a separate partition with a symlink /usr/portage/distfiles/ pointing to a directory on a large partition on the 2 TB drive. I have all of my data (and music, etc) on that large partition which is handy for sharing between distros.

My current plan is:
Code:
/                       ssd
/usr/portage            ssd
/tmp                    tmpfs
/var/tmp/portage        tmpfs
/boot                   hdd
/usr/portage/distfiles  hdd
swap                    hdd

I'm already using ext4 for the hdd partitions and I plan to use it on the ssd with the "discard" option.

I'm wondering of I should put /var on the hdd to have less wear and tear on the ssd. I already have an initrd for fbcondecor so I can easily placate those good kind gentle udev developers who know much better than me what is good for us. The ssd is an Intel 530 with a 5 year warranty. Supposedly you can write 30 GB a day to it for five years. Mouting /var on the hdd is more complicated due to udev and thus more prone to something going wrong. Also I will be well under 1% of the 30 GB per day so maybe I don't have to worry about wear. On top of that, it will be faster to have /var on the ssd.

Of course, any other advice is welcome.
Back to top
View user's profile Send private message
shazeal
Apprentice
Apprentice


Joined: 03 May 2006
Posts: 197
Location: New Zealand

PostPosted: Mon Dec 23, 2013 4:02 am    Post subject: Reply with quote

Looks good to me. I wouldnt worry about /var though, just plan on replacing the drive in 3-4 years if your into pre-emptive upgrades. Otherwise just monitor the reallocated sector count with smartctl, find out the "spare" space left for reallocation for the drive you have and replace it when it gets too high.
_________________
CFLAGS="-OmgWTFR1CE --fun-lol-loops --march=asmx86go"
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7132
Location: almost Mile High in the USA

PostPosted: Mon Dec 23, 2013 4:36 am    Post subject: Reply with quote

I've not really worried about it, before I needed to swipe the m/b and cpu I was running everything, portage and all, on my SSD and just leave tmpfs for PORTAGE_TMPDIR. On my 4GB machine I also have an SSD and just build firefox using the SSD as tempspace (since tmpfs is not big enough). The builds don't eat that much life out of the SSDs, and the kicker is: you're not updating every day... So though you may go through 30GB one day building firefox, likely for a few months you write 0GB...

I don't think people should worry about it as much as they do. This is, unless you're already filling and wiping the disk for other reasons everyday...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum