Move BTRFS @home subvolume to hdd

Looks OK to me.

1 Like

That’s what I did earlier, but it didn’t load up for some reason though.

If it fails, let us know what the exact error is.

:+1: Yeee it works now, thanks for the help!

1 Like

Er… how do I delete the home-transfer subvolumes?

sudo mkdir -p /mnt/old
sudo mkdir -p /mnt/new
sudo mount /dev/sda2 /mnt/old -o subvolid=5
sudo mount /dev/sdb1 /mnt/new -o subvolid=5
sudo btrfs subvolume delete /mnt/new/home-transfer
sudo btrfs subvolume delete /mnt/old/home-transfer
1 Like

Thank you so much! I got the system back together and working again. And a quick aside, if I wanted to do the same thing to my swapfile subvolume, I just simply follow the same commands again, correct?

1 Like

Yes, but I would recommend against that. I would argue that you are better off not having a swapfile than having a swapfile on the HDD. It is fairly essential that the swapfile be on fast storage.

1 Like

Ah ok, thank you! I do have this crazy idea in my hand to use this spare tny nvme drive and use that one as a cache/swap drive, though idk how much of a difference it’s going to make considering the current ssd in my machine is actually a Sata ssd and not nvme one.

I have moved most of my machines to use zram for swap.

Oo, what’s Zram?

Compressed swap in ram. You can use zram-generator to configure it if you want to test it.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.