Announcement

Collapse
No announcement yet.

rsync skipping file deletion

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    rsync skipping file deletion

    I do not know when it started, but when I do my rsync backups to an external USB drive, I now get the message

    IO error encountered -- skipping file deletion

    The dumb program does not even have the decency to tell me what files it wants to delete!

    The script is:

    #
    rsync --delete -av \
    --exclude "lost+found" \
    --exclude ".gvfs" \
    --exclude ".Trash-1000" \
    --exclude ".mozilla/firefox/*.default/Cache"\
    --exclude ".kde/share/apps/amarok/albumcovers/cache"\
    --exclude ".local/share/Trash" \
    --exclude .xnview/cache/ \
    --exclude .thumbnails/ \
    --exclude travel_pix/ \
    --exclude mp3/ \
    --exclude tmp/ \
    --exclude tmp_pix/ \
    --exclude .mozilla-thunderbird/ \
    --exclude .mozilla/ \
    --exclude .adobe/ \
    --exclude .macromedia/ \
    --exclude *.ERR \
    /home/jon /media/jon_bak_3/home_jon \
    2>bak_homejonsansmoz3.ERR

    (It's not really a script, as it is not executable. I run it with . script-name.)

    I checked dmesg afterwards, which told me

    [ 5258.879165] EXT3-fs warning: maximal mount count reached, running e2fsck is recommended

    so I ran es2fsck, which told me (almost instantly) that the file system is clean. (Yes, I unmounted it first.)


    Such problems have been discussed on the Ubuntu forum, but seemed to revolve around a directory called .gvfs. I have deleted this and the problem persists.

    Anyone have any ideas? I do not like to have any problems at all when I am doing backups, especially unexplained ones.

    Thanks in advance.
    'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

    #2
    Re: rsync skipping file deletion

    Not an answer to your direct question, but an observation on your deleting of the .gvfs directory in your users home directory.

    gvfs
    Description: userspace virtual filesystem - server
    gvfs is a userspace virtual filesystem where mount runs as a separate
    processes which you talk to via D-Bus. It also contains a gio module
    that seamlessly adds gvfs support to all applications using the gio
    API. It also supports exposing the gvfs mounts to non-gio applications
    using fuse.
    .
    This package contains the gvfs server that provides gvfs mounts to all
    gio applications, and the minimal set of backends.
    You will find that this application is installed on your system (sudo apt-get install --simulate gvfs).

    Added:
    Dated, but this might shed some light on your issue and lead you in the right direction for a solution:
    POSSIBLE SOLUTIONS: Re: /home/<user>/.gvfs causing problems for rsync
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment

    Working...
    X