Re: Migrating /var to a different partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Sep 4, 2014 at 1:36 PM, Damjan Georgievski <gdamjan@xxxxxxxxx> 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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux