I need help with moving /usr /var /tmp from the / mount into newly created slices. I used
I've searched for a guide but it wasn't clear or didn't directly relate to my setup.
gpart recover, add, and newfs to format the unused space. Here is my question. What are the proper steps to move the directories to the new slices? I want to avoid any unforeseen issues and I want to avoid any issues with performance so I'm asking the experts for a definitive answer.
Code:
root@:/ # df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ada0p2 36G 2.2G 31G 6% /
devfs 1.0k 1.0k 0B 100% /dev
Code:
root:/ # gpart show
=> 34 167772093 ada0 GPT (80G)
34 128 1 freebsd-boot (64k)
162 79691776 2 freebsd-ufs (38G)
79691938 4194109 3 freebsd-swap (2G)
83886047 20971520 4 freebsd-ufs (10G)
104857567 4194304 5 freebsd-ufs (2.0G)
109051871 58720256 6 freebsd-ufs (28G)
Code:
var /dev/ada0p4
tmp /dev/ada0p5
usr /dev/ada0p6