Re: rsync problem

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Bob Elzer
Date:  
To: Main PLUG discussion list
Subject: Re: rsync problem
what about running the rsync command from root?

if you know the root password, you can sudo to root and run the rsync
command and it should be able to accomplish any reads and writes


On Thu, Sep 27, 2018, 3:01 PM Matt Graham <> wrote:

> >>>> /dev/sdc1 on /media/bmike1/Seagate Expansion Drive1 type fuseblk
> >>>> bmike1@MikesBeast ~ $ ls -l /media/bmike1
> >>>> drwxr-xr-x 3 root root 4096 Sep 25 19:16 Seagate Expansion
> >>>> Drive
> >>>> drwxrwxrwx 1 bmike1 bmike1 4096 Sep 25 19:57 Seagate Expansion
> >>>> Drive1
> >>> Have a good look at the ls -l output and the output from mount.
> >>> This
> >>> is a problem people run into with automounters and sometimes
> >>> mounting by
> >>> device identifiers.
>
> > On Wed, Sep 26, 2018 at 8:34 PM Bob Elzer <> wrote:
> >> my guess would be you are not unmounting it correctly. if you yank it
> >> out before unmounting it, you could be interrupting some write
> >> operations. which could corrupt something.
> >> Questions would be are you unmounting before you remove it.
> On 2018-09-27 01:07, Michael wrote:
> > yes
>
> The way the problem is showing up makes me think it's the automounter
> doing something dumb. 2 directories in /media/bmike1 , one named with
> the filesystem label of the disk, one named that label+"1" is a classic
> programmer solution to the problem of having two filesystems with the
> same label present at the same time. Something somewhere forgot to
> clean up the old mountpoint, the automounter thinks the device is still
> there, and your backup fails because the device is mounted to a
> mountpoint that's not what you expect.
>
> So: Go in to whatever's doing your automounting, gnome-mount or
> whatever, and umount all the removable media devices it thinks are
> mounted. Unplug the disk. After that, there should be no directories
> in /media/bmike1/ . If there are, rmdir them. Then plug the disk back
> in. If you're lucky, the automounter will then put the disk on the
> right mountpoint.
>
> --
> Crow202 Blog: http://crow202.org/wordpress
> There is no Darkness in Eternity
> But only Light too dim for us to see.
> ---------------------------------------------------
> 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