<br><br><div><span class="gmail_quote">On 5/17/07, <b class="gmail_sendername">Carsten Aulbert</b> <<a href="mailto:carsten@welcomes-you.com">carsten@welcomes-you.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
alex wrote:<br>> Is there any benefit or disadvantage if swap and/or /home are moved to<br>> their own partitions on<br>> a second hard drive but leaving ubuntu in the first hard drive.<br><br>The advantage for having /home on its own partition is, that you can
<br>reinstall the system completely and leave /home untouched (but please<br>have a backup ready because you might accidentally format the partition<br>during this process).<br><br>I fI have two physical hard drives available I like having /home and
<br>/tmp on different ones, since this can speed up video processing a lot<br>(e.g.). Having swap on a different hard drive helps a bit, but usually<br>it helps much more to increase the memory size ;)<br><br>> How would such a move be accomplished?
<br><br>swap:<br><br>create a new partition, run sudo mkswap on the partition, change<br>/etc/fstab and you are done<br><br>/home<br><br>create new partition, create file system on it (mkfs.ext3, mkfs.xfs,<br>...), mount the new home partition and use rsync to copy stuff over,
e.g.<br><br>cd /home; rsync -ax . /mnt/newhome<br><br>where /mnt/newhome is the mount point of your new home partition. Please<br>have a look at the rsync man page to look through the large numebr of<br>available options.
</blockquote><div><br><br>Of course he left out some obvious steps...<br><br>You need to change /etc/fstab to new partition after that..<br><br>umount old home and mount new home...<br><br>HTH<br><br>User Iam<br> </div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">HTH<br><br>Carsten<br><br><br>--<br>ubuntu-users mailing list<br><a href="mailto:ubuntu-users@lists.ubuntu.com">
ubuntu-users@lists.ubuntu.com</a><br>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br></blockquote></div><br>