On 03/12/13 12:34, Jc García wrote: > 2013/12/2 William Kenworthy <bi...@iinet.net.au> >> You are looking far too deep .... >> >> >> just rsync -avP to /newusr > +1 > I have done this more or less the same way >> reboot to livecd >> >> rsync again with --delete to update ... takes a only few seconds this >> time - minimal downtime :) >> mv /usr /oldusr >> mv /newusr /usr >> reboot > > Let's make this thread more interesting, would it be possible to do > this without a reboot? ie: going single user mode, kill anything that > might still be running from usr, umount /usr, mount it to /mnt, rsync > -avP to usr, going again into runlevel 3 or 5. > Obviously not possible if running systemd. > I did try it single user mode - it works but I rebooted when the pressure came off just in case. Wanted minimal downtime.
BillK