I am running two desktop PCs both complete with large amount of programs and their special settings. Manjaro is installed on both PCs using the same scheme which shows up in fstab like this:
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=0E7B-F5B8 /boot/efi vfat umask=0077 0 2
UUID=8ea8dac6-6a2f-4d63-8f11-a8e1f3c826a1 / btrfs subvol=/@,defaults,noatime,compress=zstd:6,discard=async,ssd 0 0
UUID=8ea8dac6-6a2f-4d63-8f11-a8e1f3c826a1 /var/cache btrfs subvol=/@cache,defaults,noatime,compress=zstd:6,discard=async,ssd 0 0
UUID=8ea8dac6-6a2f-4d63-8f11-a8e1f3c826a1 /var/log btrfs subvol=/@log,defaults,noatime,compress=zstd:6,discard=async,ssd 0 0
UUID=8b37d92c-1577-401b-b896-4ad585b47b01 /home btrfs defaults,noatime,compress=zstd:6,discard=async,ssd 0 0
UUID=e867b6e6-26c8-4142-90ee-0df68b69ba4f swap swap defaults,noatime 0 0
I would like to do the following changes:
- The volume /home should be integrated as a subvolume just as the other already existing subvolumes.
- I would like to shrink the entire btrfs set of subvolumes.
- I would like to create a new partition in the free space on the ssd drive in order to use this for all my application generated data.
Both desktop PCs are in productive use, but they are different in the configuration of their programs and tools. So I cannot risk to crash one of them by experimenting.
My question: How can I go through these steps while minimizing the risk to crash the stable running systems?