rsync problem

James Mcphee jmcphe at gmail.com
Tue May 10 10:50:52 MST 2016


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 <briend at gmail.com> 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" <bmike1 at gmail.com> 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 <jmcphe at gmail.com> 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 <bmike1 at gmail.com> 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 <bob.elzer at gmail.com> 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" <bmike1 at gmail.com> wrote:
>>>>>
>>>>>> what about this:
>>>>>> "read only file system" thing?
>>>>>>
>>>>>> On Mon, May 9, 2016 at 10:15 PM, Sesso <sesso at djsesso.com> wrote:
>>>>>>
>>>>>>> Try using just --delete instead of --delete-before
>>>>>>>
>>>>>>> Sent from my iPhone
>>>>>>>
>>>>>>> On May 9, 2016, at 7:09 PM, Michael <bmike1 at gmail.com> 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 <bob.elzer at gmail.com>
>>>>>>> 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" <bmike1 at gmail.com> 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 - PLUG-discuss at lists.phxlinux.org
>>>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------
>>>>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> :-)~MIKE~(-:
>>>>>>>
>>>>>>> ---------------------------------------------------
>>>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------
>>>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> :-)~MIKE~(-:
>>>>>>
>>>>>> ---------------------------------------------------
>>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>
>>>>>
>>>>> ---------------------------------------------------
>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> :-)~MIKE~(-:
>>>>
>>>> ---------------------------------------------------
>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>
>>>
>>>
>>>
>>> --
>>> James McPhee
>>> jmcphe at gmail.com
>>>
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>
>>
>>
>>
>> --
>> :-)~MIKE~(-:
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>



-- 
James McPhee
jmcphe at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20160510/e354641f/attachment.html>


More information about the PLUG-discuss mailing list