1

I've been trying to combine my SSD and HDD under one partition so my user data ends up on the HDD and everything else ends up on the SSD. However, I've been having the hardest time doing this. Here's what I've done so far:

  1. I started off just mounting the HDD to the /media directory and symbolic link the user data folders (that I put on my HDD) into the \home directory (that was still on my SSD) but this seemed to cause issues with snap apps (I found out that snap apps run in isolated environments that expect the folders to be directly in the /home directory, so symbolic linking isn't going to work)
  2. I completely wiped my Ubuntu installation and manually setup LVM on the SSD and made a non-LVM partition on my HDD that mounts directly to the /home directory, but the capacity of the HDD isn't showing up at all on Nautilus (but it does appear in the Disks app).

So now, I'm at a lost of what to do to make both drives' capacities appear in the file explorer (while keeping them all under the same partition so my snap apps work) all while using LVM (since I plan on upgrading the drives soon).

1 Answers1

1
  • Make a backup of your important data
  • Create ext4 partition using the whole hdd disk for this in GParted.
  • Log off from desktop environment
  • Switch to tty3: Ctrl+Alt+F3
  • Log in as root
  • Mount your hdd to /mnt: sudo mount /dev/sdXX /mnt
  • Move everything from /home on ssd to your hdd in /mnt/: mv /home/* /mnt/
  • Umount hdd partition: umount /mnt and /home if it is present in fstab. Also comment out current mount point record for /home on SSD in fstab.
  • Add hdd /home mount point to /etc/fstab

    /dev/sdXX /home           ext4    defaults        0       2
    

    where sdXX - your hdd partition.

Gryu
  • 8,002
  • 9
  • 37
  • 53