[wellylug] rsync acting differently
Daniel Pittman
daniel at rimspace.net
Wed Feb 4 13:22:00 NZDT 2009
Carl Turney <c.turney at orcon.net.nz> writes:
> With the script below, I use rsync to mirror the /boot partition and
> the / (without /boot) partition on to removable ATA/IDE hard drives.
[...]
> But corresponding commands in my Ubuntu Hardy (different hard disks,
> same platform otherwise) seem to send the copies to the /mnt/newroot
> DIRECTORY of the ORIGINAL source root partition (and probably NOT on
> to the mounted partition - I haven't checked if it is there).
They will not be.
> After umount-ing and even power cycling, they're in the wrong place.
Well, naturally. Your script wrote them to the wrong place. This isn't
going to magically change no matter what you do.
> I've just done a complete system update on my Hardy.
> This problem does NOT seem to happen to the /mnt/newboot (e.g.
> /dev/sdb1) stage.
>
> I =am= taking into account differences like Ubuntu recognising it as
> /dev/sdb3 vs Fedora's /dev/hde3.
>
> Any ideas?
Your mount command is, at a guess, failing. Post the output of running
the commands to the list, expunging any unhelpful verbiage from rsync,
if you want us to actually help identify what has gone wrong.
Regards,
Daniel
More information about the wellylug
mailing list