this post was submitted on 19 Jul 2023
1 points (57.1% liked)

Linux

47342 readers
1499 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

So, basically I'd like to replace the /home with different hard drives. I have a 4tb one that I'm using for videos, a 1tb I'm using for audio files and video games (not the actual game installed there but for example executables or ROMs), and a 500gb I'm using for texts and images. My idea would be to not have the /documents folder and so on and have a drive for everything. Can I do this?

you are viewing a single comment's thread
view the rest of the comments
[–] IsoKiero@sopuli.xyz 1 points 1 year ago

With linux you don't have drives, at least not in a sense that you'd have in Windows with C:, D:...

You absolutely can have /dev/sda as your operating system drive, /dev/sdb1 mounted on /home/nomad/Documents, /dev/sdc1 mounted on /home/nomad/Videos and so on. Or use whatever names you wish. I had this kind of setup for years before changing the whole hardware with drives big enough to hold all the data (and a NAS, but that's another topic).

Another option is to use LVM which allows you to manage available storage space more flexible, but that will mix your data across multiple drives even if they have separate volumes (roughly equivalent to traditional partitions).

And no matter which option you choose remember to have backups (and test that they work) since all the hardware will eventually fail.