[arch-general] Migrating /var to a different partition

Martti Kühne mysatyre at gmail.com
Thu Sep 4 07:46:55 EDT 2014


On Thu, Sep 4, 2014 at 1:36 PM, Damjan Georgievski <gdamjan at gmail.com> wrote:
> make a filesystem on the extra partition (mkfs.ext4)
> enter resuce or emergency mode (systemctl rescue) so that the least services run
>
> mount the new partition to /mnt
> move everything from /var to /mnt
> unmount /mnt
> edit the /etc/fstab
>
> reboot
>


-1. Did you try this yourself? Can you think of any errors that your
approach might cause?

See, if you have open files in /var, they might get recreated on shutdown.
Which leaves the mount point nonempty and probably breaks your boot process.

cheers!
mar77i


More information about the arch-general mailing list