Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Best practice for splitting data between a fast and slow drive

+5
−0

If I had a fast drive (SSD) and a slow one (HDD), what parts of my Linux system should go on the fast one?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

1 answer

+2
−0

First, consider your needs. There's a decent chance that everything you want will fit on the SSD anyway, at least if you aren't an enthusiastic multimedia collector. Nowadays a 1TB SSD can be had cheaply and is likely a much better value for money than a 500GB one; and drives smaller than that are somewhat hard to find as the technology has marched on. (If you're using an NVMe SSD on a laptop, the equation may change.)

On the flip side of that, Linux generally installs offline from an image that fits on a 4GB microSD card (or a single-layer DVD) and absolutely (from personal experience) can be kept running smoothly while fitting everything except /home (and possibly some archived log files) in a 16GB partition (although not everyone will want a separate partition, and your distro may well recommend allocating more space than that - this is especially assuming that you don't plan to install a lot of applications).

If you really insist, only /etc really needs to be on the main partition to have a bootable system, assuming a reasonably modern system. (You'd probably also want an SSD partition for either /boot or /boot/efi). However, while you might have a system that boots quickly by having just this much on an SSD, you'll be much better served if larger components of the OS (such as, say, the desktop environment) can be loaded quickly. There's really no practical benefit to obsessing over this kind of minimalism. Even if you want to set up multiple distros side by side, they won't be able to share a whole lot with each other (setting up a common /usr/local might be worthwhile, but that's more about neatness than saving disk space.)

So rather than designating your HDD as representing a specific part of the Linux filesystem, think of it as a place to keep large, seldom-used files irrespective of that filesystem. That might include video files (i.e. part of what you might otherwise hold in /home subdirectories) and backups (it's good to have your backup on separate physical media anyway). I like to keep Timeshift backups of the OS on my SSD (in a non-user folder in /home), and periodically rsync them (and other specific files I might want to keep backed up) to an external HDD. (Other distros will have similar tools, of course.)

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »