13
submitted 1 year ago by mvirts@lemmy.world to c/linux@lemmy.ml

I have the unique pleasure of waiting as /usr is copied back to my Ubuntu SSD after offloading it to a sea of spinning rust to save some space. Surprise surprise Ubuntu keeps almost everything in /usr these days and it didnt boot :l but hey, at least BusyBox in initramfs has my back for times like these. Can i mount a specific ext4 directory with options? the issue seems to be my attempt at using a bind mount fails while running from the ramdisk, for whatever reason it wont mount my large data drive on /data

you are viewing a single comment's thread
view the rest of the comments
[-] Maxy@lemmy.blahaj.zone 2 points 1 year ago* (last edited 1 year ago)

I’m not too familiar with Ubuntu, but the arch wiki has a section about moving /usr to a separate partition: https://wiki.archlinux.org/title/Mkinitcpio#/usr_as_a_separate_partition

Maybe using these instructions, you can still offload /usr to a mechanical drive.

Just out of curiosity, how large is your /usr directory? Mine is only 30GiB (arch Linux, kde plasma with all apps + hyprland), which only takes up 17GiB on my disk due to btrfs compression (zstd level 15).

[-] mvirts@lemmy.world 1 points 1 year ago

Ohh I like the sound of that compression ratio, I'll have to look into it. I'm just using ext4, plus I should repartition the whole disk I'm throwing away another 50Gb keeping my home partition on the SSD...

My /usr is 35Gb but I'm squeezing Ubuntu into a 50Gb partition and between docker, snapd, postgres, apt, and Minecraft it's hitting 100% weekly.

Im pretty sure it would be fine if i was trying to dedicate a whole partition to /usr, maybe that's the right answer after all

this post was submitted on 06 Jul 2023
13 points (84.2% liked)

Linux

46620 readers
1008 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