recommended partition for 512GB SSD?

Begonnen von viniosity, 2014/05/09, 19:07:58

Vorheriges Thema - Nächstes Thema

viniosity

Almost ready to go.. I've got a 512GB SSD and I'm trying to figure out how to partition it.


I'm guessing 2GB for swap, 40GB for / and the rest for /home


But anyone have any thoughts or recommendations? It's been a long while since I've touched linux. (Oh, and ext4 for / and /home right?)


PS: I figure this stuff would be in the manual but that link is currently giving a 502 bad gateway error

ReinerS

Sounds reasonable for me. Only thing I would suggest to think about it is that I remember some earlier posts which suggest that you donot really nedd a swap partition any more on modern systems as they have more than enough ram .
But anyway it doesn't harm either.

Regards

Reiner
slackware => SuSE => kanotix => sidux => aptosid  => siduction

dibl

Looks like a good plan.  I have also seen those suggestions that you don't need swap on these "modern" platforms with lots of memory, HOWEVER, there are some tasks or projects that you can take on that will in fact suck up a lot of swap.  Use gimp to convert 200 .gif photos to a video, for example, and you will need at least 15GB of swap on a system that has 6GB of memory.  So .....
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

ayla

Zitat von: dibl in 2014/05/09, 20:50:53
...HOWEVER, there are some tasks or projects that .....

+1

Thought not to need a swap on my 16GB of Ram system, half used for /tmp, til the moment a friend asked me to convert a few 100 fotos to a mosaik...  ;D

ReinerS

hmm, again a lesson learned ???

I now will again ad some decent swap-partitions. At least on my multimedia tv-box.

Regards

Reiner
slackware => SuSE => kanotix => sidux => aptosid  => siduction

piper

Try building siduction and android and playing a game at the same time without swap, kinda sucks  ;)
I have a Lucky Rabbit:    "Svoot" ..... (It's Swedish)

I am MAGA

melmarker


I'm guessing 2GB for swap, 40GB for / and the rest for /home


i'm not conviced that this is a good idea - nobody need so much space for home. Making a decent /home and leave the rest of the disk unpartitioned sounds reasonable to me - but thats only my kind to do these things.
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

viniosity

I ended up running out of memory doing a heavy operation with elasticsearch. Had to repartition.. ending up with 16GB Swap, 40GB / and rest for /home. Interestingly enough I wouldn't have figured out it was a memory issue if I hadn't been running conky.

dibl

Zitat von: viniosity in 2014/05/15, 06:53:42
.... and rest for /home.


There is an alternative that I like better.  Just install the entire OS, including /home, on the first partition (I usually only use 16 or 20GB but you can use 40).  Then, make the third partition a data partition.  Mount it on /mnt/DATA, set the permissions appropriate for your user(s), and then make your main data folders on it, like MUSIC, VIDEOS, IMAGES, DOCS, etc.  Now symlink the data folders into your user's home folder.


The reason to do this -- all those hidden "." configuration files in your user's home folder will stay with the OS.  If the OS needs to be re-installed, or if you choose to multi-boot sometime, the "." configuration settings will not cause problems in the new or other OS.


Just my two cents' worth.   :)
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

melmarker

dibl +1

and i recommand to leave an amount of space free for further use - second or third system. if one need more space for the data partition a resize is fast done.

EDIT: linux isn't windows - not all space on a drive needs to be partitioned. Too be true, this is not needed on windows machines too. 8)
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

sunrat

dibl +2

Much more manageable with separate data partition, especially for multi-boot.

mylo

I think I would follow dibl's suggestion next setup. In the moment I have

/           25 GB
/home   25 GB
/data    200 GB

on my 250 GB SSD, whith 16 GB RAM.

kinjo


devil

Not a bad choice. But please do not hijack threads.

ReinerS

#14
I have a mixed installation with an 250GB SSD and an 750GB HD by exchanging the DVD-drive with an pretty cheap HDD-caddy. The installation is encrypted and also has a (unfortunately necessary) Wiindows Part.

I followed mostly/partially dibls suggestion but placed the data /Archiv-Folder with those subfolders (pictures, documents, video etc.) completely onto the HDD.

I have now:

/dev/sda1  ntfs            100MB
/dev/sda2  ntfs            49 GB
/dev/sda3  ext4           300MB  (boot)
/dev/sda4  crypt-luks  184 GB (LVM with root, swap, home)

/dev/hdb1  crypt-luks   698 GB (LVM with Archiv containing user-data-folders)

regards

Reiner
slackware => SuSE => kanotix => sidux => aptosid  => siduction