Concern: rsync failing to find some attributes in a file transfer?
L. A. Walsh
rsync at tlinx.org
Sat Jul 26 06:48:00 MDT 2014
Kevin Korb wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 07/26/2014 01:52 AM, L. A. Walsh wrote:
>
>> I have a regular script I run to make static "snapshots" of my
>> home file system, with each being all the files that changed in the
>> past 24 hours.
>>
>
> I am not clear about the nature of this script. Please provide more
> details.
>
It's a script that uses the rsync command listed below. It's the rsync
command
below that that issued the error messages.
>
>> I just moved my home partition to a new harddisk w/more space.
>>
>
> Home Partition? Are we in 1995? Why would you have a partition
> mounted anywhere other than /boot ?
>
----
My mom and dad put things on 1 partition, so do many non-computer
types. It's not flexible or safe enough for my needs. How would you
separate out
programs and data? How do you upgrade your OS without destroying your
data?
How do you implement different backup policies for different types of
data?
If you want to move your home partition to a different part of the disk
or with
different make params or even a different file system, how do you do that?
When you move your home partition, to a new disk, how do you switch out the
home, or media, or whatever partition without rebooting? This isn't
MS-DOS or
Windows... If you have everything formatted into one partition, how do
you make
snapshots. If you only have 1 partition, where you do daily backups
to? You DO
run daily backups, don't you?
>
>> I ran the util and have gotten odd results each time I ran it.
>>
>
> What util? What results?
>
-----
The results I posted below -- the util.. um... gee, let me think... I'm
posting to
an rsync list.... maybe it was visicalc?... nah... rsync! what would I
be posting to
this list for if this wasn't about rsync?
>
>> This one bothers me... as I'm not sure why the attrs would be
>> missing.
>>
>
> Is it really that just extended attributes are missing? You seemed to
> be in a panic.
>
----
Panic would be to my state like like famine to my missing my afternoon
snack.
Concern!=panic.
>
>> How can the names be transfered but no content? Is that possible?
>>
>
> I am uncertain what this question means. Maybe I have interpreted the
> rest of your email in the wrong context. Maybe not. I am not sure.
> Please provide technical details.
>
I thought I did provide the tech details... file system, rsync command
that produced it,
kernel version. file system params...what more did you have in mind?
Missing abbreviated xattr value, "trusted.SGI_ACL_DEFAULT", for
"/home.diff/Bliss/Documents/law/Pictures/Scans/SwordArtOnline"
The name "trusted.SGI_ACL_DEFAULT" is the name of an extended attribute..
For some reason, the name is present in the index of extattrs, but the
content associated with that ACL is missing.
Another reason for splitting up file systems:... did you notice the execution
time at the end: rsync took 135m, 26s. Do you know how long it would take
if I added about 20x to that space? What's this about 1995? Do you still
have the same data needs now that you did in 95?
But all that's apart from the output of "the util" (that this list is about) with
it's version number listed below even! Cripes.
>
>> Ideas?
>>
>> Thanks!
>>
>>
>> Version info:
>>
>>
>>> rsync --version
>>>
>> rsync version 3.1.0 protocol version 31 Copyright (C) 1996-2013
>> by Andrew Tridgell, Wayne Davison, and others. Web site:
>> http://rsync.samba.org/ Capabilities: 64-bit files, 64-bit inums,
>> 64-bit timestamps, 64-bit long ints, socketpairs, hardlinks,
>> symlinks, IPv6, batchfiles, inplace, append, ACLs, xattrs, iconv,
>> symtimes, prealloc, no SLP
>>
>>
>>> uname -a
>>>
>> Linux Ishtar 3.15.6-Isht-Van #1 SMP PREEMPT Sat Jul 19 12:31:28 PDT
>> 2014 x86_64 x86_64 x86_64 GNU/Linux
>>
>> File system info:
>>
>>
>>> xfs_info /home
>>>
>> meta-data=/dev/mapper/Data-Home isize=512 agcount=32,
>> agsize=12582896 blks = sectsz=4096 attr=2
>> data = bsize=4096 blocks=402652672,
>> imaxpct=5 = sunit=16 swidth=16 blks
>> naming =version 2 bsize=4096 ascii-ci=0 log
>> =internal bsize=4096 blocks=32768, version=2 =
>> sectsz=4096 sunit=1 blks, lazy-count=1 realtime =none
>> extsz=4096 blocks=0, rtextents=0 -------------------
>>
>> Command (called from a script file in perl):
>>
>> my $rcmd = [$Rsync]; push( @$rcmd, qw( --8-bit-output --acls
>> --archive --hard-links --human-readable --no-inc-recursive
>> --one-file-system --prune-empty-dirs --whole-file --xattrs ),
>> "--compare-dest=$base_lvh->fs_mp/.");
>>
>>
>>
>>
>> output of the program:
>>
>> Rsync with 9 excludes from config file... Missing abbreviated xattr
>> value, trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/Bliss/Documents/law/Pictures/Artists" Missing
>> abbreviated xattr value, trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/Bliss/Documents/law/Pictures/Avatars/Production"
>> Missing abbreviated xattr value, trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/Bliss/Documents/law/Pictures/Scans/Dragonaut-The
>> Resonance" Missing abbreviated xattr value,
>> trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/Bliss/Documents/law/Pictures/Scans/HighSchoolDxD"
>> Missing abbreviated xattr value, trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/Bliss/Documents/law/Pictures/Scans/I can't do H"
>> Missing abbreviated xattr value, trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/Bliss/Documents/law/Pictures/Scans/Konachan" Missing
>> abbreviated xattr value, trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/Bliss/Documents/law/Pictures/Scans/Maria-sama-ga-miteru"
>>
>>
>>
> Missing abbreviated xattr value, trusted.SGI_ACL_DEFAULT, for
>
>> "/home.diff/Bliss/Documents/law/Pictures/Scans/Miscellaneous"
>> Missing abbreviated xattr value, trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/Bliss/Documents/law/Pictures/Scans/SwordArtOnline"
>> Missing abbreviated xattr value, trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/Bliss/Documents/law/Pictures/Scans/To Love Ru" Missing
>> abbreviated xattr value, trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/Bliss/Documents/law/Pictures/Scans/kiddy grade" Missing
>> abbreviated xattr value, trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/Bliss/Documents/law/lastfm" Missing abbreviated xattr
>> value, trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/Bliss/Documents/law/reality" Missing abbreviated xattr
>> value, trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/Bliss/law.V2/bin/lib/P/blib" Missing abbreviated xattr
>> value, trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/Bliss/law.V2/bin/lib/mem" Missing abbreviated xattr
>> value, trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/Bliss/law.V2/bin/lib/orig" Missing abbreviated xattr
>> value, trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/Bliss/law.V2/bin/lib/test" Missing abbreviated xattr
>> value, trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/Bliss/law.V2/bin/oldmapdrives" Missing abbreviated
>> xattr value, trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/Bliss/law.V2/bin/reg" Missing abbreviated xattr value,
>> trusted.SGI_ACL_DEFAULT, for "/home.diff/Bliss/law.V2/bin/tmp"
>> Missing abbreviated xattr value, trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/Bliss/law.V2/bin/vbs" Missing abbreviated xattr value,
>> trusted.SGI_ACL_DEFAULT, for "/home.diff/root/1223/etc/fonts"
>> Missing abbreviated xattr value, trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/root/1223/etc/local" Missing abbreviated xattr value,
>> trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/root/1223/etc/samba/save0820/internals" Missing
>> abbreviated xattr value, trusted.SGI_ACL_DEFAULT, for
>> "/home.diff/root/1223/selinux" Missing abbreviated xattr value,
>> trusted.SGI_ACL_DEFAULT, for "/home.diff/splunk/bin" rsync took
>> 135m, 26s
>>
>> Why would or how would the files and attr-names get transfered but
>> be missing?
>>
>>
>>
>
> - --
> ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
> Kevin Korb Phone: (407) 252-6853
> Systems Administrator Internet:
> FutureQuest, Inc. Kevin at FutureQuest.net (work)
> Orlando, Florida kmk at sanitarium.net (personal)
> Web page: http://www.sanitarium.net/
> PGP public key available on web site.
> ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlPTTEMACgkQVKC1jlbQAQe7FgCfQekeId3YTBI1jwCY1ECIp4XG
> nuQAnRIutsq7YPrOvSWiJBd8q9YpzYNF
> =GCIg
> -----END PGP SIGNATURE-----
>
More information about the rsync
mailing list