LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-07-2018, 03:55 PM   #1
drudox
Member
 
Registered: Feb 2016
Posts: 141

Rep: Reputation: Disabled
how to best use 2 HD 256 ssd / normal 1TB


Hi everybody , I have a new laptop with 2 HD
1) SSD 256 gb
2) SATA normal 1TB

I would know what is the best way to use this 2 HD ,,, I mean in which create the partition for / , in which the home and /media/dati (saved data backup .. long terms)
could you give me some advice ?
thanks in advance
 
Old 05-07-2018, 07:06 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
There is rarely a "best way" for anything - and requirements may change over time.
You've answered your own query really. Put everything you want fast response time on the SSD, everything else on the spinning disk. So all the normal setup (root, /home, swap) on the SSD, archive data on disk. Simple.

Some will advise against swap, but in normal running you probably won't use it, and in a wake-up from hibernation, you won't want to be kept waiting. What did you pay the money for SSD for ? - fast response.
 
Old 05-07-2018, 07:17 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,984

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Guess it may depend on programs used. Do they need fast access? Do you need swap even?

Backup would tend to be on mechanical side.
 
Old 05-07-2018, 08:19 PM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
I got my 256GB sdd as sda windows and / and /home and /projects and my secondary,now it's a 2TB, for data mounted in /media so it automatically shows up in my file manager when I open it.
my swap is a 16GB SD Card just cuz. cuz my swap never gets used nor my SD Card slot. So it kind of goes together.

fstab set up
Code:
$ cat /etc/fstab
/dev/mmcblk0p1   swap             swap        defaults         0   0
/dev/sda5        /                ext4        defaults         1   1

/dev/sda6        /home            ext4        defaults         1   2

/dev/sda7 /media/projects         ext4        defaults         0   0

#2TB internal HDD
/dev/sdb1        /media/data      ext4        defaults         1   2
/dev/sdb2       /media/ntfs       ntfs-3g     defaults	       1   2

#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro,comment=x-gvfs-show 0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0

tmpfs            /dev/shm         tmpfs       defaults         0   0

tmpfs /tmp tmpfs nodev,nosuid,size=3G  0 0

Last edited by BW-userx; 05-07-2018 at 08:28 PM.
 
Old 05-08-2018, 01:01 AM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Put the system and application programs on the ssd, put /home and storage on the hdd. I limit the size of home just so I have to clear it out every so often, because it fills up. Otherwise you could make the entire hdd /home.
 
Old 05-08-2018, 09:13 AM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
I leave mine on sdd, only because it compiles source faster. but hey that's just me. having a 1TB /home you shouldn't need a garage to store all of your stuff. The possibilities are almost endless. You could even slice up your sdd into 20GB sections and add other OS'es.
 
Old 05-08-2018, 03:08 PM   #7
_roman_
Member
 
Registered: Dec 2017
Location: _Austro_Bavaria_
Distribution: gentoo / linux mint
Posts: 433

Rep: Reputation: 29
Quote:
Originally Posted by drudox View Post
Hi everybody , I have a new laptop with 2 HD
1) SSD 256 gb
2) SATA normal 1TB

I would know what is the best way to use this 2 HD ,,, I mean in which create the partition for / , in which the home and /media/dati (saved data backup .. long terms)
could you give me some advice ?
thanks in advance
i have my asus g75vw notebook with 120GB SSD + 1TB HDD.

I only use 60gB of 120GB SSD for everything. the distfiles and some other junk are below 80GB on the 1TB HDD.

--

Pay attention to

no swap!
everything on the ssd
downloads for software, e.g. gentoo distfiles on the HDD (package manager files)
junk you can loose, but you are unwilling to delete => hdd

downloads in tmpfs
software building in tmpfs
certain tempfiles in tmpfs

regular full disk backups.
regular cleaning of files

--

I am quite sure my linux needs less than 20GB. 40gB of userdate which accumulated over the years
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partitions on 1TB SSD eco_bach Linux - Newbie 12 01-04-2017 07:44 AM
Access To Encrypted SSD Partition With Native Password in SSD>SATA Enclosure skidvicious Linux - Hardware 5 12-03-2015 04:40 PM
RAID10 write speed decreased to normal SSD speed after rebuilding the array. mke2k Linux - Server 2 07-11-2014 04:15 AM
LXer: OCZ unveils 'first' 2.5-inch SSD with 1TB, plus PCI Express-based hybrid LXer Syndicated Linux News 0 10-25-2011 10:51 AM
[SOLVED] Thumbernails bigger than 256 x 256? yooy Linux - Software 3 06-09-2010 01:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration