Re: rsync to my external eSATA HD is crashing/freezing my system...

2018-03-25 Thread Morgan Read via rsync

On 19/03/18 14:01, Morgan Read wrote:

Hello list

I've been running the following command, first in fc20 and then now 
(since the beginning of March) in fc26:
now=$(date +"%Y%m%d-%H%M"); sudo rsync -ahuAESX -vi /home/ 
/run/media/readlegal/Backup/home > 
/run/media/readlegal/Backup/rsync-changes_$now


Since the move to fc26, this command has caused the complete 
freeze/crash of the system.  I tried it under multi-user non-graphic 
mode in case it was something to do with new graphics systems (don't 
know why).  The output of the above always stops at:

sending incremental file list
.d..t.. Music/FLACs/Various_Artists/Temple_Sampler/
 >f+ 
Music/FLACs/Various_Artists/Temple_Sampler/13-brian_mcneill-the_butterfly_chain.flac 



(total 183 bytes file size, always)

By complete freeze/crash I mean:
* hard-drive light indicates spinning, but no noise (activity)
* unable to ssh in
* unable to ping
* in multi-user text, I'm first able to switch to another login console, 
but then unable to progress past the login password; after switching to 
other consoles, the original login screen attempt has gone blank other 
than a blinking cursor top left
* in graphic mode, there's no (inter)activity whatsoever possible - 
though screen has desktop on it

* the only apparent solution is a hard reset

The external drive is a WD 750GB hard-drive in a StarTech.com external 
hard-drive caddy connected via eSATA cable to an old Dell Vostro 3500.


Any help or suggestions debugging this would be really appreciated.

Many thanks
Morgan.



Did you check the drive for SMART info/errors? Sounds to me like a
hardware problem.

bye  Fabi


Thanks Fabian for coming back to me with that - unfortunate, I don't 
think the problems is quite so easily solved as getting a new hard-drive :-(


As I mentioned above, all was going well until the upgrade from f20 to 
f26 - any help would be really appreciated as I'm without backup and 
this is failure leaves me just a tad worried...


Here's the output from smartctl:

$ sudo smartctl -a /dev/sdb
smartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.15.10-200.fc26.x86_64] 
(local build)

Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: Western Digital RE2 Serial ATA
Device Model: WDC WD7500AYYS-01RCA0
Serial Number:WD-WCAPT0894689
LU WWN Device Id: 5 0014ee 2ac2bb6df
Firmware Version: 30.04G30
User Capacity:750,156,374,016 bytes [750 GB]
Sector Size:  512 bytes logical/physical
Device is:In smartctl database [for details use: -P show]
ATA Version is:   ATA/ATAPI-7 (minor revision not indicated)
Local Time is:Sun Mar 25 14:27:01 2018 BST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x84) Offline data collection activity
was suspended by an interrupting 
command from host.
Auto Offline Data Collection: Enabled.
Self-test execution status:  (   0)	The previous self-test routine 
completed

without error or no self-test has ever
been run.
Total time to complete Offline
data collection:(15960) seconds.
Offline data collection
capabilities:(0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off 
support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities:(0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability:(0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time:(   2) minutes.
Extended self-test routine
recommended polling time:( 198) minutes.
Conveyance self-test routine
recommended polling time:(   6) minutes.
SCT capabilities:  (0x303f) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes wit

rsync to my external eSATA HD is crashing/freezing my system...

2018-03-19 Thread Morgan Read via rsync

Hello list

I've been running the following command, first in fc20 and then now 
(since the beginning of March) in fc26:
now=$(date +"%Y%m%d-%H%M"); sudo rsync -ahuAESX -vi /home/ 
/run/media/readlegal/Backup/home > 
/run/media/readlegal/Backup/rsync-changes_$now


Since the move to fc26, this command has caused the complete 
freeze/crash of the system.  I tried it under multi-user non-graphic 
mode in case it was something to do with new graphics systems (don't 
know why).  The output of the above always stops at:

sending incremental file list
.d..t.. Music/FLACs/Various_Artists/Temple_Sampler/
>f+ 
Music/FLACs/Various_Artists/Temple_Sampler/13-brian_mcneill-the_butterfly_chain.flac


(total 183 bytes file size, always)

By complete freeze/crash I mean:
* hard-drive light indicates spinning, but no noise (activity)
* unable to ssh in
* unable to ping
* in multi-user text, I'm first able to switch to another login console, 
but then unable to progress past the login password; after switching to 
other consoles, the original login screen attempt has gone blank other 
than a blinking cursor top left
* in graphic mode, there's no (inter)activity whatsoever possible - 
though screen has desktop on it

* the only apparent solution is a hard reset

The external drive is a WD 750GB hard-drive in a StarTech.com external 
hard-drive caddy connected via eSATA cable to an old Dell Vostro 3500.


Any help or suggestions debugging this would be really appreciated.

Many thanks
Morgan.

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


combining two back ups...

2018-02-22 Thread Morgan Read via rsync

Hello list,

See verbose background below[1]

I've just backed up my oldmachine that I have been using recently to an 
external drive with:

sudo rsync -avuAESX /home /run/media/mylogin/Backup/home

I have a newmachine that I want to back up to the same destination and 
merge to that backup because I'm about to send it away for repair - 
which is why I've been using the oldmachine.


I'm concerned that I've replaced some of the files in the oldmachine 
with symlinks, that I've updated some of the files on the oldmachine so 
that they are now newer than the files on the newmachine and perhaps 
deleted some files from the oldmachine.


What command should I use to ensure that the backup is updated from the 
newmachine with files for symlinks in the backup, newer files in the 
backup are preserved over older files from the newmachine, files that 
don't exist in the backup are added from the newmachine?


Will the same command do that:
sudo rsync -avuAESX /home /run/media/mylogin/Backup/home
?
I'm mainly unsure about what will happen to symlinks in the backup.

Thanks
Morgan.

[1] I have got my self in to the situation where I effectively have two 
backups that I need to merge to one - I have an oldmachine and a 
newmachine, I needed to back up the newmachine to the oldmachine and 
start using the oldmachine while the newmachine is repaired, so I 
rsync'd the newmachine to the oldmachine and started using the 
oldmachine for new work...  Now I'm concerned that I've lost some files 
from the oldmachine while the new machine has been lying idle...


--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


permissions changed by rsync over nfs?

2011-03-21 Thread Morgan Read
Hello wonderful rsync

I have a little problem...

I sync a file system with this command:
rsync -avzAXH --filter=-r *.jpg *.opml *.opml.backup *.m3u
--delete-after --exclude=MP3s /home/Music/ /misc/bigdisk.mythtv.lan/Music

/misc/bigdisk.mythtv.lan is an nfs mount mounted by autofs.
In /etc/auto.misc I have for /misc/bigdisk.mythtv.lan:
bigdisk.mythtv.lan  -fstype=nfs4192.168.1.105:/bigdisk

For /bigdisk I have in /etc/exports on 192.168.1.105:
/NFS4exports
192.168.1.0/255.255.255.0(rw,sync,nohide,no_subtree_check,no_root_squash,fsid=0)
/NFS4exports/bigdisk
192.168.1.0/255.255.255.0(rw,sync,nohide,no_subtree_check,no_root_squash)

My little problem is that with the above rsync command this file, for
instance:
/home/Music/FLACs/Billy_Bragg/Back_to_Basics$ ls -al
01-billy_bragg-the_milkman_of_human_kindness.flac
-rw-rw-rw-. 1 morgan morgan 16950902 2010-03-07 17:36
01-billy_bragg-the_milkman_of_human_kindness.flac
Becomes this file:
/misc/bigdisk.mythtv.lan/Music/FLACs/Billy_Bragg/Back_to_Basics$ ls -al
01-billy_bragg-the_milkman_of_human_kindness.flac
-rw---. 1 4294967294 4294967294 16950902 2010-03-07 17:36
01-billy_bragg-the_milkman_of_human_kindness.flac
Which is this file on 192.168.1.105 (mythtv.lan):
[root@mythtv Back_to_Basics]# ls -al
01-billy_bragg-the_milkman_of_human_kindness.flac
-rw---. 1 1000 1000 16950902 Mar  7  2010
01-billy_bragg-the_milkman_of_human_kindness.flac

Note the change in permissions...  Does anyone have any idea where/how
to change this so the permissions stay the same?

Many thanks,
M.
-- 
Morgan Read
NEW ZEALAND
mailto:mstuffATreadDOTorgDOTnz

Confused about DRM?
Get all the info you need at:
http://drm.info/
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: IO error causing file deletion failure?

2010-08-20 Thread Morgan Read
On 15/08/10 14:06, Morgan Read wrote:
 On 09/08/10 09:32, Matt McCutchen wrote:
 On Sat, 2010-08-07 at 19:54 +1200, Morgan Read wrote:
 I've been running this command, with the accompanying error:
 [r...@mythtv ~]# ssh -t rs...@192.168.1.40 sudo rsync -avzAXH
 --delete-after -e /home/rsync/bin/rsync_ssh /home/

 building file list ... rsync: readlink_stat(/home/morgan/.gvfs)
 failed: Permission denied (13)

 Yes, gvfs-fuse mounts a FUSE filesystem (which denies access to root by
 default) in an unwise place.

 https://encrypted.google.com/search?q=gvfs+rsync

 https://bugzilla.gnome.org/show_bug.cgi?id=560658

 You'll need to exclude /home/*/.gvfs .

 IO error encountered -- skipping file deletion

 If anyone is able shed some light on either the error or why it might
 prevent deleting files I could save on harddrives:)

 From the man page description of --delete

 If the sending side detects any I/O errors, then the deletion of
 any files at the destination will be automatically disabled.
 This is to prevent temporary filesystem failures (such as NFS
 errors) on the sending side from causing a massive deletion of
 files on the  destination.   You can override this with the
 --ignore-errors option.

 Matt  Henri thank you for following up.
 
 I've never worried about .gvfs because I knew it was only part of the
 mount system for gnome virtual file system (fuse).  It always threw
 errors, but I've never noticed that preventing deletion.  (Perhaps I've
 just never noticed...)  I'll fix that and see if skipping file deletion
 gets fixed in the process.
 
 Will report back, many thanks.
 M.
 
Yup, all good on taking out /home/*/.gvfs.  Guess I only missed that
before as I was on an old system and had a flood of other errors related
to extended attributes etc.  Now, after much hd thrashing, my b/u is
substantially smaller...

(OT, that .gvfs is really a complete stuff up, other than the problems
above, it doesn't mount my vfat iso with long file names, only the
truncated dos one - meaning I have to mount my IPLS.iso with sudo mount
-o loop IPLS.iso /mnt/cdrom anyway - go figure...  Note to self, must
file another bug report...)

Many thanks all.  (Henri, I'm in Auckland - but my brothers in ChCh if
that lessens the pain any:)

Regards,
Morgan.
-- 
Morgan Read
NEW ZEALAND
mailto:mstuffATreadDOTorgDOTnz
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: IO error causing file deletion failure?

2010-08-14 Thread Morgan Read
On 09/08/10 09:32, Matt McCutchen wrote:
 On Sat, 2010-08-07 at 19:54 +1200, Morgan Read wrote:
 I've been running this command, with the accompanying error:
 [r...@mythtv ~]# ssh -t rs...@192.168.1.40 sudo rsync -avzAXH
 --delete-after -e /home/rsync/bin/rsync_ssh /home/
 
 building file list ... rsync: readlink_stat(/home/morgan/.gvfs)
 failed: Permission denied (13)
 
 Yes, gvfs-fuse mounts a FUSE filesystem (which denies access to root by
 default) in an unwise place.
 
 https://encrypted.google.com/search?q=gvfs+rsync
 
 https://bugzilla.gnome.org/show_bug.cgi?id=560658
 
 You'll need to exclude /home/*/.gvfs .
 
 IO error encountered -- skipping file deletion
 
 If anyone is able shed some light on either the error or why it might
 prevent deleting files I could save on harddrives:)
 
 From the man page description of --delete
 
 If the sending side detects any I/O errors, then the deletion of
 any files at the destination will be automatically disabled.
 This is to prevent temporary filesystem failures (such as NFS
 errors) on the sending side from causing a massive deletion of
 files on the  destination.   You can override this with the
 --ignore-errors option.
 
Matt  Henri thank you for following up.

I've never worried about .gvfs because I knew it was only part of the
mount system for gnome virtual file system (fuse).  It always threw
errors, but I've never noticed that preventing deletion.  (Perhaps I've
just never noticed...)  I'll fix that and see if skipping file deletion
gets fixed in the process.

Will report back, many thanks.
M.

-- 
Morgan Read
NEW ZEALAND
mailto:mstuffATreadDOTorgDOTnz
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


IO error causing file deletion failure?

2010-08-07 Thread Morgan Read
Hello List

I've been running this command, with the accompanying error:
[r...@mythtv ~]# ssh -t rs...@192.168.1.40 sudo rsync -avzAXH
--delete-after -e /home/rsync/bin/rsync_ssh /home/
r...@192.168.1.100:/mnt/bigdisk/morgansmachine/home
r...@192.168.1.100's password:
building file list ... rsync: readlink_stat(/home/morgan/.gvfs)
failed: Permission denied (13)
done
morgan/.gconfd/
morgan/.gconfd/saved_state
IO error encountered -- skipping file deletion

sent 3708868 bytes  received 1038 bytes  33880.42 bytes/sec
total size is 82187744766  speedup is 22153.59
rsync error: some files/attrs were not transferred (see previous errors)
(code 23) at main.c(1039) [sender=3.0.6]
Connection to 192.168.1.40 closed.
[r...@mythtv ~]#

The script is:
exec ssh -i /home/rsync/.ssh/id_dsa $@

If anyone is able shed some light on either the error or why it might
prevent deleting files I could save on harddrives:)

A little bg:
I moved this harddrive from an old and now retired machine, it didn't
show this error then.  The old machine was running f8 while the new one
is running f12?

Many thanks,
M.
-- 
Morgan Read
NEW ZEALAND
mailto:mstuffATreadDOTorgDOTnz
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Invalid argument (22) Operation not supported (95) ???

2009-04-03 Thread Morgan Read
Hi Folks

I've gone back over the list and the only reference I've found to
Invalid argument (22) is here:
http://lists.samba.org/archive/rsync/2006-May/015478.html

That seems a different context of character set mismatches.

The common parts to my errors are:
rsync: rsync_xal_set: lsetxattr(...,security.selinux) failed:
Invalid argument (22)
And:
rsync: rsync_xal_set: lsetxattr(...,user.Beagle) failed: Operation
not supported (95)

Where ... is some reference to a file relative to the source.  Seems to
be a selinux issue on the former and a beagle issue on the latter.

Any ideas what's going on?

Thanks
-- 
Getting errors: There are problems with the signature (or similar)?
Update your system by installing certificates from CAcert Inc, see here:
http://wiki.cacert.org/wiki/BrowserClients?#head-259758ec5ba51c5205cfb179cf60e0b54d9e378b
Or, if Internet Explorer is your default browser, simply click this link:
http://www.cacert.org/index.php?id=17

Morgan Read
NEW ZEALAND
mailto:mstuffATreadDOTorgDOTnz

fedora + freedom; fact || fiction?
http://fedoraproject.org/wiki/Overview
get freed-ora!
http://www.fsfla.org/svnwiki/selibre/linux-libre/freed-ora
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: ssh rsync equivalence?

2009-04-01 Thread Morgan Read
On 29/03/09 17:15, Morgan Read wrote:
 Hello Folks
 
...

On 30/03/09 04:45, Kyle Lanclos wrote:
 I suggest putting your 'ssh -i /some/key/here' into a small shell script,
 so that you do:

 rsync -e rsync_ssh

 ...and rsync_ssh looks like:

 #! /bin/sh

 exec ssh -i /home/key/here $@

 I think the single ticks in the -e option might be throwing something
 for a loop.

[r...@morgansoldmachine ~]# ssh -t rs...@morgansmachine sudo rsync
-avzAXHn --delete-after -e /home/rsync/bin/rsync_ssh /etc
r...@morgansoldmachine:/media/bigdisk/morgansmachine/etc
building file list ... done
created directory /media/bigdisk/morgansmachine/etc
etc/
etc/.pwd.lock
etc/.sudoers.tmp.swp
...
etc/yum/pluginconf.d/presto.conf
etc/yum/pluginconf.d/protect-packages.conf
etc/yum/pluginconf.d/whiteout.conf

sent 138652 bytes  received 17900 bytes  18417.88 bytes/sec
total size is 165558833  speedup is 1057.53 (DRY RUN)
Connection to 192.168.1.40 closed.
[r...@morgansoldmachine ~]#


Eureka!!!  I've done it!
Well, not me - thank you everyone.
Morgan.

-- 
Getting errors: There are problems with the signature (or similar)?
Update your system by installing certificates from CAcert Inc, see here:
http://wiki.cacert.org/wiki/BrowserClients?#head-259758ec5ba51c5205cfb179cf60e0b54d9e378b
Or, if Internet Explorer is your default browser, simply click this link:
http://www.cacert.org/index.php?id=17

Morgan Read
NEW ZEALAND
mailto:mstuffATreadDOTorgDOTnz

fedora + freedom; fact || fiction?
http://fedoraproject.org/wiki/Overview
get freed-ora!
http://www.fsfla.org/svnwiki/selibre/linux-libre/freed-ora
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


ssh rsync equivalence?

2009-03-28 Thread Morgan Read
Hello Folks

Can anyone help with why I can use ssh like so:

[r...@morgansoldmachine ~]# ssh -t rs...@192.168.1.40 sudo ssh -i
/home/rsync/.ssh/id_dsa r...@192.168.1.100
Last login: Tue Mar 24
21:32:51 2009 from morgansmachine.lan
[r...@morgansoldmachine ~]# logout

Connection to 192.168.1.100 closed.
Connection to 192.168.1.40 closed.
[r...@morgansoldmachine ~]#


But, when I use the same command with the -e option via rsync it fails:

[r...@morgansoldmachine ~]# ssh -t rs...@192.168.1.40 sudo rsync
-avzAXHn --delete-after -e 'ssh -i /home/rsync/.ssh/id_dsa' /etc
r...@192.168.1.100:/media/bigdisk/morgansmachine/etc
r...@192.168.1.100's password:
Permission denied, please try again.
r...@192.168.1.100's password:
Permission denied, please try again.
r...@192.168.1.100's password:
Permission denied (publickey,gssapi-with-mic,password).
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(600) [sender=3.0.5]
Connection to 192.168.1.40 closed.
[r...@morgansoldmachine ~]#


I lost all my hair getting ssh sorted, only to have it fail when run via
rsync...

Many thanks,
Morgan.
-- 
Getting errors: There are problems with the signature (or similar)?
Update your system by installing certificates from CAcert Inc, see here:
http://wiki.cacert.org/wiki/BrowserClients?#head-259758ec5ba51c5205cfb179cf60e0b54d9e378b
Or, if Internet Explorer is your default browser, simply click this link:
http://www.cacert.org/index.php?id=17

Morgan Read
NEW ZEALAND
mailto:mstuffATreadDOTorgDOTnz

fedora + freedom; fact || fiction?
http://fedoraproject.org/wiki/Overview
get freed-ora!
http://www.fsfla.org/svnwiki/selibre/linux-libre/freed-ora
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


More trouble with -e ! [Was: Re: Trouble with -e ...]

2009-03-24 Thread Morgan Read
I've followed-up the original question bottom (very strange!).

But, that answer just led directly to this question.
Why doesn't this work:
[r...@morgansoldmachine ~]# ssh -t rs...@192.168.1.40 sudo rsync
-avzAXHn --delete-after -e 'ssh -i /home/rsync/.ssh/id_dsa' /etc
r...@192.168.1.100:/media/bigdisk/morgansmachine/etc
r...@192.168.1.100's password:
Permission denied, please try again.
r...@192.168.1.100's password:
Permission denied, please try again.
r...@192.168.1.100's password:
Permission denied (publickey,gssapi-with-mic,password).
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(600) [sender=3.0.5]
Connection to 192.168.1.40 closed.
[r...@morgansoldmachine ~]#

When this does work:
[r...@morgansoldmachine ~]# ssh -t rs...@192.168.1.40 sudo ssh -i
/home/rsync/.ssh/id_dsa r...@192.168.1.100last login: Tue Mar 24
21:32:51 2009 from morgansmachine.lan
[r...@morgansoldmachine ~]# logout

Connection to 192.168.1.100 closed.
Connection to 192.168.1.40 closed.
[r...@morgansoldmachine ~]#
???

Aren't they equivalent?  Why am I being asked for a password for ssh via
rsync when I have successfully set up ssh for public key authentication?
 Can anyone shed some light, I'm in the dark.

Regards,
Morgan.

On 23/03/09 23:46, Paul Slootman wrote:
 On Sun 22 Mar 2009, Morgan Read wrote:
 
 But yet:
 [r...@morgansoldmachine ~]# ssh -t rs...@morgansmachine sudo rsync -n
 --rsh=’/usr/bin/ssh -i /home/rsync/.ssh/id_dsa’ /etc
 r...@morgansoldmachine:/media/bigdisk/morgansmachine/etc
 rsync: Failed to exec \#342\#200\#231/usr/bin/ssh: No such file or
 directory (2)
 
 You're not using normal shell quotes...
 If I cut and paste your --rsh line into this:
 $ LANG=C cat -v
 I get the following output:
 --rsh=m-b...@m-^y/usr/bin/ssh -i /home/rsync/.ssh/id_dsam-b...@m-^y /etc
 
 Those escapes match exactly the \#342\#200\#231 shown in your error
 message.
 
 Use ' not ’ is the short version of this answer.

That has got to be the weirdest thing!  I type ' and it seems I got ’ !!
 I've scrolled back through my consol and sure enough they're ’ not ' ,
but how they got there I know not because when I type a ' now, ' is what
I get!!!


-- 
Getting errors: There are problems with the signature (or similar)?
Update your system by installing certificates from CAcert Inc, see here:
http://wiki.cacert.org/wiki/BrowserClients?#head-259758ec5ba51c5205cfb179cf60e0b54d9e378b
Or, if Internet Explorer is your default browser, simply click this link:
http://www.cacert.org/index.php?id=17

Morgan Read
NEW ZEALAND
mailto:mstuffATreadDOTorgDOTnz

fedora + freedom; fact || fiction?
http://fedoraproject.org/wiki/Overview
get freed-ora!
http://www.fsfla.org/svnwiki/selibre/linux-libre/freed-ora
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Trouble with -e ...

2009-03-21 Thread Morgan Read
Hello folks

Can any one help with why:
[r...@morgansoldmachine ~]# ssh -t rs...@morgansmachine sudo ssh -i
/home/rsync/.ssh/id_dsa r...@morgansoldmachine
Last login: Sun Mar 22 10:55:41 2009 from morgansmachine.lan
[r...@morgansoldmachine ~]# logout

Connection to morgansoldmachine closed.
Connection to morgansmachine closed.
[r...@morgansoldmachine ~]#

Works
But yet:
[r...@morgansoldmachine ~]# ssh -t rs...@morgansmachine sudo rsync -n
--rsh=’/usr/bin/ssh -i /home/rsync/.ssh/id_dsa’ /etc
r...@morgansoldmachine:/media/bigdisk/morgansmachine/etc
rsync: Failed to exec \#342\#200\#231/usr/bin/ssh: No such file or
directory (2)
rsync error: error in IPC code (code 14) at pipe.c(84) [sender=3.0.5]
rsync: writefd_unbuffered failed to write 4 bytes [sender]: Broken pipe (32)
rsync error: error in IPC code (code 14) at io.c(1509) [sender=3.0.5]
Connection to morgansmachine closed.
[r...@morgansoldmachine ~]#

Doesn't work...

Any ideas much appreciated.
Regards,
Morgan.
-- 
Getting errors: There are problems with the signature (or similar)?
Update your system by installing certificates from CAcert Inc, see here:
http://wiki.cacert.org/wiki/BrowserClients?#head-259758ec5ba51c5205cfb179cf60e0b54d9e378b
Or, if Internet Explorer is your default browser, simply click this link:
http://www.cacert.org/index.php?id=17

Morgan Read
NEW ZEALAND
mailto:mstuffATreadDOTorgDOTnz

fedora + freedom; fact || fiction?
http://fedoraproject.org/wiki/Overview
get freed-ora!
http://www.fsfla.org/svnwiki/selibre/linux-libre/freed-ora
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: rsync error?

2007-11-16 Thread Morgan Read
On Thu, 2007-11-15 at 11:31 +0100, Daniel Maher wrote:
 On Thu, 2007-11-15 at 22:55 +1300, Morgan Read wrote:
 
  [EMAIL PROTECTED] ~]$ rsync -a -X -A -z -v /home/morgan/Documents
  192.168.1.30:/home/morgan/Documents
  [EMAIL PROTECTED]'s password: 
  building file list ... done
  rsync: rsync_xal_set:
  lsetxattr(Documents/Projects/CBT/SH20/HearingSubmission/ManukauBridgeSubCBT_PostPatrick_3_2.doc,user.Beagle.AttrTime)
   failed: Permission denied (13)
  rsync: rsync_xal_set:
 
 Though i'm relatively new to rsync, i've been mired in ACL and xattrs
 hell for a while now, and have seen this behaviour before. :P
 
 Can user morgan set ACLs on the filesystem of the receiving machine?
 If so, can user morgan set ACLs to the exactly the same state as the
 sending machine?  If the answer to either of these is no, then you're
 going to run into problems like the one you've described.
Don't know but suspect no is the answer to both Qs: destination system
is my old laptop running fc5 that I'm begining to use as a mirror, with
a file system that pre-dates fc5 (perhaps 4 or 3).  Not sure ACLs were
up and running on it.  Once everything is sorted Ill be updating it.

Regards,
M.
-- 
Getting errors: There are problems with the signature (or similar)?
Update your system by installing certificates from CAcert Inc, see here:
http://wiki.cacert.org/wiki/BrowserClients?#head-259758ec5ba51c5205cfb179cf60e0b54d9e378b
Or, if Internet Explorer is your default browser, simply click this
link:
http://www.cacert.org/index.php?id=17

Morgan Read
NEW ZEALAND
mailto:mstuffATreadDOTorgDOTnz

fedora: Freedom Forever!
http://fedoraproject.org/wiki/Overview

By choosing not to ship any proprietary or binary drivers, Fedora does
differ from other distributions. ...
Quote: Max Spevik
   http://interviews.slashdot.org/article.pl?sid=06/08/17/177220

RMS on fedora:
   http://fedoraproject.org/wiki/FreeSoftwareAnalysis/FSF


smime.p7s
Description: S/MIME cryptographic signature
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync error?

2007-11-16 Thread Morgan Read
On Thu, 2007-11-15 at 19:37 +0100, Wesley W. Terpstra wrote:
 On Nov 15, 2007, at 10:55 AM, Morgan Read wrote:
  Can anyone help me with the following error - is it serious; is the  
  file
  transferred; are the other files transferred?
 
 The file is transferred as are the other files.
 However, rsync probably gives a non-zero exit status.
 
  lsetxattr(Documents/Projects/CBT/SH20/HearingSubmission/ 
  ManukauBridgeSubCBT_PostPatrick_3_2.doc,user.Beagle.AttrTime)  
  failed: Permission denied (13)
 
 The things that failed to copy are meta-data used by beagle (the  
 gnome desktop search tool). This meta-data is expendable. Don't worry.
 
 As a point of interest; what version of rsync is this, and was the  
 file read-only?
Thanks Wesley

Yes, it was read only file - but, only one of many in that particular
directory.

Version of rsync:
[EMAIL PROTECTED] ~]$ rpm -q rsync
rsync-2.6.9-3.fc7

Regards,
M.
-- 
Getting errors: There are problems with the signature (or similar)?
Update your system by installing certificates from CAcert Inc, see here:
http://wiki.cacert.org/wiki/BrowserClients?#head-259758ec5ba51c5205cfb179cf60e0b54d9e378b
Or, if Internet Explorer is your default browser, simply click this link:
http://www.cacert.org/index.php?id=17

Morgan Read
NEW ZEALAND
mailto:mstuffATreadDOTorgDOTnz

fedora: Freedom Forever!
http://fedoraproject.org/wiki/Overview

By choosing not to ship any proprietary or binary drivers, Fedora does
differ from other distributions. ...
Quote: Max Spevik
   http://interviews.slashdot.org/article.pl?sid=06/08/17/177220

RMS on fedora:
   http://fedoraproject.org/wiki/FreeSoftwareAnalysis/FSF


smime.p7s
Description: S/MIME cryptographic signature
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

rsync error?

2007-11-15 Thread Morgan Read
Hi Folks

Can anyone help me with the following error - is it serious; is the file
transferred; are the other files transferred?

[EMAIL PROTECTED] ~]$ rsync -a -X -A -z -v /home/morgan/Documents
192.168.1.30:/home/morgan/Documents
[EMAIL PROTECTED]'s password: 
building file list ... done
rsync: rsync_xal_set:
lsetxattr(Documents/Projects/CBT/SH20/HearingSubmission/ManukauBridgeSubCBT_PostPatrick_3_2.doc,user.Beagle.AttrTime)
 failed: Permission denied (13)
rsync: rsync_xal_set:
lsetxattr(Documents/Projects/CBT/SH20/HearingSubmission/ManukauBridgeSubCBT_PostPatrick_3_2.doc,user.Beagle.Fingerprint)
 failed: Permission denied (13)
rsync: rsync_xal_set:
lsetxattr(Documents/Projects/CBT/SH20/HearingSubmission/ManukauBridgeSubCBT_PostPatrick_3_2.doc,user.Beagle.MTime)
 failed: Permission denied (13)
rsync: rsync_xal_set:
lsetxattr(Documents/Projects/CBT/SH20/HearingSubmission/ManukauBridgeSubCBT_PostPatrick_3_2.doc,user.Beagle.Uid)
 failed: Permission denied (13)

sent 1572135 bytes  received 20 bytes  89837.43 bytes/sec
total size is 2063655599  speedup is 1312.63
rsync error: some files could not be transferred (code 23) at
main.c(977) [sender=2.6.9]
[EMAIL PROTECTED] ~]$ 


Thanks,
M.
-- 
Getting errors: There are problems with the signature (or similar)?
Update your system by installing certificates from CAcert Inc, see here:
http://wiki.cacert.org/wiki/BrowserClients?#head-259758ec5ba51c5205cfb179cf60e0b54d9e378b
Or, if Internet Explorer is your default browser, simply click this link:
http://www.cacert.org/index.php?id=17

Morgan Read
NEW ZEALAND
mailto:mstuffATreadDOTorgDOTnz

fedora: Freedom Forever!
http://fedoraproject.org/wiki/Overview

By choosing not to ship any proprietary or binary drivers, Fedora does
differ from other distributions. ...
Quote: Max Spevik
   http://interviews.slashdot.org/article.pl?sid=06/08/17/177220

RMS on fedora:
   http://fedoraproject.org/wiki/FreeSoftwareAnalysis/FSF


smime.p7s
Description: S/MIME cryptographic signature
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync error?

2007-11-15 Thread Morgan Read
On Thu, 2007-11-15 at 19:37 +0100, Wesley W. Terpstra wrote:
 On Nov 15, 2007, at 10:55 AM, Morgan Read wrote:
  Can anyone help me with the following error - is it serious; is the  
  file
  transferred; are the other files transferred?
 
 The file is transferred as are the other files.
 However, rsync probably gives a non-zero exit status.
 
  lsetxattr(Documents/Projects/CBT/SH20/HearingSubmission/ 
  ManukauBridgeSubCBT_PostPatrick_3_2.doc,user.Beagle.AttrTime)  
  failed: Permission denied (13)
 
 The things that failed to copy are meta-data used by beagle (the  
 gnome desktop search tool). This meta-data is expendable. Don't worry.
 
 As a point of interest; what version of rsync is this, and was the  
 file read-only?
Thanks Wesley

Yes, it was read only file - but, only one of many in that particular
directory.

Version of rsync:
[EMAIL PROTECTED] ~]$ rpm -q rsync
rsync-2.6.9-3.fc7

Regards,
M.
-- 
Getting errors: There are problems with the signature (or similar)?
Update your system by installing certificates from CAcert Inc, see here:
http://wiki.cacert.org/wiki/BrowserClients?#head-259758ec5ba51c5205cfb179cf60e0b54d9e378b
Or, if Internet Explorer is your default browser, simply click this link:
http://www.cacert.org/index.php?id=17

Morgan Read
NEW ZEALAND
mailto:mstuffATreadDOTorgDOTnz

fedora: Freedom Forever!
http://fedoraproject.org/wiki/Overview

By choosing not to ship any proprietary or binary drivers, Fedora does
differ from other distributions. ...
Quote: Max Spevik
   http://interviews.slashdot.org/article.pl?sid=06/08/17/177220

RMS on fedora:
   http://fedoraproject.org/wiki/FreeSoftwareAnalysis/FSF


smime.p7s
Description: S/MIME cryptographic signature
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync error?

2007-11-15 Thread Morgan Read
On Thu, 2007-11-15 at 11:31 +0100, Daniel Maher wrote:
 On Thu, 2007-11-15 at 22:55 +1300, Morgan Read wrote:
 
  [EMAIL PROTECTED] ~]$ rsync -a -X -A -z -v /home/morgan/Documents
  192.168.1.30:/home/morgan/Documents
  [EMAIL PROTECTED]'s password: 
  building file list ... done
  rsync: rsync_xal_set:
  lsetxattr(Documents/Projects/CBT/SH20/HearingSubmission/ManukauBridgeSubCBT_PostPatrick_3_2.doc,user.Beagle.AttrTime)
   failed: Permission denied (13)
  rsync: rsync_xal_set:
...

 Can user morgan set ACLs on the filesystem of the receiving machine?
 If so, can user morgan set ACLs to the exactly the same state as the
 sending machine?  If the answer to either of these is no, then you're
 going to run into problems like the one you've described.
Don't know but suspect no is the answer to both Qs: destination system
is my old laptop running fc5 that I'm begining to use as a mirror, with
a file system that pre-dates fc5 (perhaps 4 or 3).  Not sure ACLs were
up and running on it.  Once everything is sorted Ill be updating it.

Regards,
M.

-- 
Getting errors: There are problems with the signature (or similar)?
Update your system by installing certificates from CAcert Inc, see here:
http://wiki.cacert.org/wiki/BrowserClients?#head-259758ec5ba51c5205cfb179cf60e0b54d9e378b
Or, if Internet Explorer is your default browser, simply click this link:
http://www.cacert.org/index.php?id=17

Morgan Read
NEW ZEALAND
mailto:mstuffATreadDOTorgDOTnz

fedora: Freedom Forever!
http://fedoraproject.org/wiki/Overview

By choosing not to ship any proprietary or binary drivers, Fedora does
differ from other distributions. ...
Quote: Max Spevik
   http://interviews.slashdot.org/article.pl?sid=06/08/17/177220

RMS on fedora:
   http://fedoraproject.org/wiki/FreeSoftwareAnalysis/FSF


smime.p7s
Description: S/MIME cryptographic signature
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html