What is the correct way to store /var on a separate partition? First prepare a new partition (e.g. with parted or fdisk and mkfs). For example, let’s create a new partition in fdisk:
1 |
#fdisk /dev/vda |
then choose n for the new partition and go through configuration steps. choose w at the end to write changes to …