K
K
krll-k2014-11-15 20:52:46
linux
krll-k, 2014-11-15 20:52:46

I have ssd + hdd on my laptop, - how to properly divide disks under systems, - under which partitions is it better to use sdd / hdd?

I have a dual hard drive. The system is installed Ubuntu 14.04, - I want to change it to ArchLinux (at first, only deliver it with the second system):
0a48a18d483f4190b5f052bbe88f945b.png
I have a question - under which partitions is it better to use ssd / hdd?
UPD1: Let's
simulate the situation (I have a large number of open tabs in the browser, and I want it all not to slow down):

Браузер Google Chrome использует память. Как он использует память? Какую память? Использует ли он файловую систему для хранения временных файлов или нет? -Использует только swap память или раздел /tmp на диске тоже?

At first I thought that I /tmpneeded it, - then I thought that it would be better to test the speed of ssd / hdd, - are there any programs specifically for this?
UPD2:
With what program is it better to divide disks?
When using LVM, will there be difficulties with grub later?
Question all the same:
How it is correct to divide disks?
How to properly divide disks considering all my UPDs?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nazar Mokrinsky, 2014-11-15
@nazarpc

For everything related to the system - SSD (if there is enough memory, I recommend mounting / tmp in general in RAM), large relatively rarely used files (movies, music, images, documents, archives) - on the HDD.

A
Alexander, 2014-11-15
Madzhugin @Suntechnic

Yeah. Ubuntu has a performance testing program right out of the box.
In coffee tacos, I would transfer the system and configs from the hamster to ssd. Everything else is for pancakes.
/tmp in tmpfs
Everything.

F
fghd, 2014-11-17
@fghd

I will share my fstab

[[email protected] ~]$ cat /etc/fstab 
# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# /dev/sda5
UUID=5f4d2516-d907-4d18-a525-f198e31a66f1	/         	ext4      	rw,noatime,data=ordered,discard 	0 1
/dev/sdb5					/data		ext4		defaults	0 0

# /data/var
/data/var           	/var      	none      	rw,relatime,data=ordered,bind	0 0
/data/srv		/srv		none		rw,relatime,data=ordered,bind	0 0
tmpfs                   /tmp            tmpfs           nodev,nosuid,size=7G 0 0
/data/fghd/dev		/home/fghd/dev	none		defaults,bind	0 0
/data/fghd/.mozilla	/home/fghd/.mozilla	none	defaults,bind	0 0
#tmpfs			/home/fghd/.cache/google-chrome	tmpfs	nodev,nosuid	0 0
#tmpfs			/home/fghd/.cache/mozilla	tmpfs	nodev,nosuid	0 0
/data/fghd/google-cache	/home/fghd/.cache/google-chrome  none	defaults,bind	0 0
/data/fghd/mozilla-cache	/home/fghd/.cache/mozilla  none 	defaults,bind	0 0
/data/fghd/Desktop	/home/fghd/Desktop	none	defaults,bind	0 0
/data/fghd/Documents	/home/fghd/Documents	none	defaults,bind	0 0
/data/fghd/Downloads	/home/fghd/Downloads	none	defaults,bind	0 0
/data/fghd/Music	/home/fghd/Music	none	defaults,bind	0 0
/data/fghd/Pictures	/home/fghd/Pictures	none	defaults,bind	0 0
/data/fghd/Public	/home/fghd/Public	none	defaults,bind	0 0
/data/fghd/Templates	/home/fghd/Templates	none	defaults,bind	0 0
/data/fghd/Videos	/home/fghd/Videos	none	defaults,bind	0 0
/data/fghd/purple_logs	/home/fghd/.purple/logs	none	defaults,bind	0 0
/data/fghd/vboxes	/home/fghd/vboxes	none	defaults,bind	0 0

Let me explain a little: / and all sorts of /usr on ssd and mount options such as data=ordered,discard... (there was a link to the arch wiki above). I note that the hamster is also on ssd, but not all, because. you can create a bin folder in the hamster and run applications from there - IDEs and other crap run in flight.
On pancakes, what we often have to write to, namely daddies with videos, music, etc., as well as /var and /srv, we mount via the bind option. /tmp put in memory.
PS I have 8 gigs of
RAM

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question