Re: rsync problem

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: James Mcphee
Date:  
To: Main PLUG discussion list
Subject: Re: rsync problem
Something to also pay attention to, some filesystems don't support all the
options that rsync tries to set, like users and permissions. In that case,
it's necessary to do rsync with a flag besides "-a" and pull the
unsupported bits out of the "-rlptgoD". This is suboptimal, since a lot of
those fields are also part of the matching for changes, but ....

Anyway, something to think about.

On Tue, May 10, 2016 at 7:39 AM, Brien Dieterle <> wrote:

> Well it is formatted for Windows vfat but it is mounted RW so there was
> probably an error that caused it to remount read only. I'd backup any data
> you need off that drive and run
> sudo umount /dev/sdd1
> sudo fsck.vfat -a /dev/sdd1
> to check and repair filesystem errors.
> On May 10, 2016 3:39 AM, "Michael" <> wrote:
>
>> /dev/sdd1 on /media/bmike1/RedSanDisk type vfat
>> (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
>>
>>
>> On Tue, May 10, 2016 at 12:18 AM, James Mcphee <> wrote:
>>
>>> Plug it in, run "mount", just the command, no options, to print mount
>>> options, and show us the filesystem and options?
>>>
>>> On Mon, May 9, 2016 at 8:28 PM, Michael <> wrote:
>>>
>>>> df says it is 85% full with 5 G left of 30. I sure hope it isn't
>>>> dying.... I bought it less than a year ago. I only write to it around 8
>>>> times a month. as for how it is mounted this is the first time it has
>>>> messed up on me since I bought it.
>>>>
>>>> On Mon, May 9, 2016 at 11:01 PM, Bob Elzer <> wrote:
>>>>
>>>>> I have a feeling that your USB drive may be dying.
>>>>>
>>>>> If it is flash, how many times have you copied to it? A lot?
>>>>>
>>>>> What size is it? Is it near full?
>>>>> On May 9, 2016 7:21 PM, "Michael" <> wrote:
>>>>>
>>>>>> what about this:
>>>>>> "read only file system" thing?
>>>>>>
>>>>>> On Mon, May 9, 2016 at 10:15 PM, Sesso <> wrote:
>>>>>>
>>>>>>> Try using just --delete instead of --delete-before
>>>>>>>
>>>>>>> Sent from my iPhone
>>>>>>>
>>>>>>> On May 9, 2016, at 7:09 PM, Michael <> wrote:
>>>>>>>
>>>>>>> well, I just ran it with the trailing slash and it gave me the same
>>>>>>> output as before except it happened immediately. The USB drive wasn't
>>>>>>> accessd for five minutes.
>>>>>>>
>>>>>>> On Mon, May 9, 2016 at 10:04 PM, Bob Elzer <>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> My syncs look like this
>>>>>>>>
>>>>>>>> Rsync -rauh --delete /frompath/fromdir /topath/todir
>>>>>>>>
>>>>>>>> This copies the fromdir into the todir directory and copies all
>>>>>>>> files and directories below fromdir
>>>>>>>>
>>>>>>>> -r recursive
>>>>>>>> -a archive - which is synonymous to -rlptgoD
>>>>>>>> -u update :don't over write newer files
>>>>>>>> -W copy whole files (don't do delta)
>>>>>>>> -h human readable numbers
>>>>>>>>
>>>>>>>> This backs up my stuff to an external drive, thus I don't need to
>>>>>>>> do a delta or compression because it is all local
>>>>>>>> --delete Any files that were removed from the source will be
>>>>>>>> removed from the destination
>>>>>>>>
>>>>>>>> If I were copying across a network, I add -z and remove -W
>>>>>>>> Which will compress the transfer and only send changes when
>>>>>>>> possible.
>>>>>>>>
>>>>>>>> Normally I use --quiet and change it to --verbose or --progress
>>>>>>>> when I want to monitor it
>>>>>>>> On May 9, 2016 4:05 PM, "Michael" <> wrote:
>>>>>>>>
>>>>>>>>> When I run rsync one file (a directory) will not sync and the
>>>>>>>>> files in that file. I was wondering why. I thought that maybe if the file
>>>>>>>>> was in there to start that would fix it and it does so if only temporarily.
>>>>>>>>> Upon the next run of rsync the directory in question is deleted.
>>>>>>>>> the command that is run:
>>>>>>>>> $ rsync -aWuq --delete-before /home/bmike1/Documents
>>>>>>>>> /media/bmike1/RedSanDisk
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> https://docs.google.com/document/d/1FAfv-aLaQR6HWUx8M-aZF4QL8oAsi6SH2Xg01vKpTPI/edit?usp=sharing
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> :-)~MIKE~(-:
>>>>>>>>>
>>>>>>>>> ---------------------------------------------------
>>>>>>>>> PLUG-discuss mailing list -
>>>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------
>>>>>>>> PLUG-discuss mailing list -
>>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> :-)~MIKE~(-:
>>>>>>>
>>>>>>> ---------------------------------------------------
>>>>>>> PLUG-discuss mailing list -
>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------
>>>>>>> PLUG-discuss mailing list -
>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> :-)~MIKE~(-:
>>>>>>
>>>>>> ---------------------------------------------------
>>>>>> PLUG-discuss mailing list -
>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>
>>>>>
>>>>> ---------------------------------------------------
>>>>> PLUG-discuss mailing list -
>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> :-)~MIKE~(-:
>>>>
>>>> ---------------------------------------------------
>>>> PLUG-discuss mailing list -
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>
>>>
>>>
>>>
>>> --
>>> James McPhee
>>>
>>>
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list -
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>
>>
>>
>>
>> --
>> :-)~MIKE~(-:
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list -
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>




--
James McPhee

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss