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

Linux

47342 readers
1243 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?

top 3 comments
sorted by: hot top controversial new old
[–] Max_P@lemmy.max-p.me 1 points 1 year ago

Are any of these an SSD? Because you will definitely feel it if you move your home from an SSH to an HDD. Especially browsers and such, things will start up much more slowly.

I'd recommend keeping home on an SSD and optionally moving all the folders to an HDD if you wish, but at least keep dotfiles on an SSD if you have one.

There's a lot of options for shuffling things around on Linux with symlinks and bind mounts.

[–] 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.

[–] wildbus8979@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago)

You can absolutely mount those drives at the correct path, make sure your user has the correct permitions. Add them to fstab so they are mounted at boot. Done.

load more comments
view more: next ›