moving home to /dev/sda6
Michael Havens
bmike1 at gmail.com
Sat Mar 24 09:32:55 MST 2012
okay.... upon the first run i suppose it showed me all of the files it was
copying and then it said that 'some files or attrs were not transfered.' so
I ran it again and what do you know 4 more files were copied... then again
and 2 copied.... now it just says that no files or attrs were transfered.
so take this as a warning all you rsyncers out there, you need to run it
multiple times. So which files are not transfering? Here is what is on the
screen:
sudo rsync -va <source> <destination>
ending incremental file list
rsync: readlink_stat("/home/bmike1/.gvfs') failed: Permision denied (13)
<list of files transfering>
sent x bytes received y bytes z bytes/sec
total size is a bytesw speedup is b bytes
rsync error: some files/attrs were not transfered (see previous errors)
(code 25) at
main.c(1070)
[sender=3.0.8]
So which files are not transferring? The only thing I can think from the
information given is:
readlink_stat("/home/bmike1/.gvfs
Then I added the --checksum in the hopes that would tell me more
information and after a long wait I suppose another file transfered
(bmike1/.cache/ubuntuone/log/syncdaemon.log). And so now I run it again....
and it looks as if the same file transferred.
So I must ask.... am I correct in my assesment of what isn't transferring?
On Fri, Mar 23, 2012 at 10:45 PM, Michael Havens <bmike1 at gmail.com> wrote:
> thanks ben. As it copies it runs out of room in the destination. It seems
> my home directory is larger than 13gig but the partition is only 10 gig..
> It seems I have to repartition my drive again. And I thought this was going
> to be difficult. Actually I didn't think I had enough free space to
> repartition.
>
>
> On Fri, Mar 23, 2012 at 9:30 PM, Ben Browning <benb at bensbrowning.com>wrote:
>
>> On Fri, Mar 23, 2012 at 7:08 PM, Michael Havens <bmike1 at gmail.com>wrote:
>>
>>> well now I need to work on the other computer a little. I wanted to move
>>> the print server's /home to it's own partition but the partition i want to
>>> use is too small. So, my question is what do I need to copy?
>>> /home/<user>/documents i know I need but what else? I guess that is it. If
>>> there is space I suppose Downloads too. And to get it to see /dev/sda3 as
>>> the new location for documents I would 'export
>>> /home/<user>/documents=/mnt/sda3/documents. Copying the documemts would be:
>>> 'rsync -va --checksum /mnt/home/documents /mnt/sda3. does this sound right?
>>
>>
>> rsync -va /mnt/home/ /mnt/sda3/
>>
>> Skip checksum, it will go faster and check date and size and not checksum
>> every file. Simply run it again when it's done and it should sync nothing,
>> showing you it's all there.
>>
>> On your first box, the fix is:
>>
>> 1) mount new partition to, say, /mnt/new/
>> 2) rsync -va /mnt/home/bmike1 /mnt/new/
>> 3) note the trailing slash and no trailing slash in 2). This should
>> result in /mnt/new/bmike1
>> 4) edit /etc/fstab to put the device on /mnt/new on /home
>> 5) mv /home /home.bk
>> 6) mkdir /home
>> 7) mount -a
>> 8) confirm /home/bmike1 exists and is writable by bmike1
>> 9) reboot, everything should work
>> 10) rm -rf /home.bk when you are sure everything is functional.
>>
>> ~Ben
>>
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
>
>
>
> --
> :-)~MIKE~(-:
>
--
:-)~MIKE~(-:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20120324/266a221a/attachment.html>
More information about the PLUG-discuss
mailing list