User Tools

Site Tools


tasks

Create new partition

  1. stop jellyfin
  2. stop sshfs mounts
  3. umount /srv/hdd0
  4. umount /srv/hdd1
  5. umount /srv
  6. resize /srv to create 64GB
  7. create /var on this new partition
  8. copy /var (use rsync) to /new-var
  9. sudo rsync -avxHAX --progress /var/* /mnt/newvar/
  10. edit fstab - set /var using /new-var
  11. reboot
  12. we should now be using /hdd0/var-bak as /var
  13. we should now not be using /srv
  14. umount old-var
  15. umount /srv
  16. resize /srv using parted - create 64GB
  17. resize old-var == +64GB
  18. reboot
  19. we should now be using /hdd0/var-bak and have original /var+64GB
  20. edit fstab - move /var back to /var+64GB
  21. reboot
  22. we should now be using /var+64GB as /var in original location
  23. check+confirm
  24. complete?
tasks.txt · Last modified: by 172.216.14.116