Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was running low in disk space on my Linux box, Ubuntu 10.10 Desktop, (specifically on my /home partition) so I added another disk to it and I am trying to move the home partition into it.

I am trying to follow the steps on this guide here: https://help.ubuntu.com/community/Partitioning/Home/Moving

However, when copying the files over to the new mounted partition rsync seems to fail silently. When I compare the folders, the new one is still empty.

This is the command that I am executing:

sudo rsync -axS --exclude='/*/.gvfs' /home/. /media/home/.

Has it anything to do with the encryption on my home folder?

share|improve this question
which part fixed your problem? the EDIT? – Tshepang Jan 4 '11 at 1:40
for anyone who finds it useful, i just made use of that guide, having found the link here. i didn't need the last step, making a placeholder directory for /home, which seems designed for ubuntu users who have everything in one partition by default. since my stuff is all in different partitions, there was already a /home placeholder. i used @Josh's command below, and everything worked great. – ixtmixilix Nov 16 '11 at 11:31
up vote 2 down vote accepted

Try adding the "verbose" flag to rsync, and see what that says:

rsync -avxS --exclude='/*/.gvfs' /home/. /media/home/.

Edit your question to include the results, and we'll be able to help you further.

Also, I'm not sure why you're going with /home/., try just /home/:

rsync -avxS --exclude='/*/.gvfs' /home/ /media/home/

EDIT: Also, please make sure you're not logged in to any user with an encrypted home directory. If all users have encrypted home directories, add a user who does not first, and use that user to copy.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.