Strategy for /tmp and /home Partitioning
Marcin Struzak
marcin-list at struzak.com
Wed Oct 12 05:20:40 UTC 2005
> Easier way.
>
> 1. Add the new disk, partition it however you want. 2 partitions, one for
> /home, one for /tmp. Make the filesystems.
>
> 2. As root, cp -Rp things over. Best to have as little activity as
> possible. That is, not running X, not getting e-mail.
All that is really needed is runlevel 1, or boot single; no need for rescue
CD, no need to worry about activity, etc.
Also, I'd probably do a
cd /home; tar -cvf - | ( cd /mnt/home; tar -xvf - )
cd /tmp; tar -cvf - | ( cd /mnt/tmp; tar -xvf - )
assuming that the new partitions are mounted at the same time under /mnt.
--Marcin
More information about the fedora-list
mailing list