Welcome! » Log In » Create A New Profile

os error 22 detecting file system propertieson cygwin

Posted by Anonymous 
os error 22 detecting file system propertieson cygwin
January 06, 2004 03:17PM
I found another different error trying to do a similiar thing.
this time its a local to local backup on windows:

C:rdiff-backup>python2.3.exe C:rdiff-backuprdiff-backup --remote-schema
'plin
k -C -i sloth.PPK %s rdiff-backup --server' -v6 --print-statistics c:temp
"i:c
lientdb globalbackuptest"
Remote schema option ignored - no remote file descriptions.
########## /cygdrive/c/rdiff-backup/c:temp
/cygdrive/c/DOCUME~1/user/LOCALS~1/T
emp
########## /cygdrive/c/rdiff-backup /cygdrive/c/DOCUME~1/user/LOCALS~1/Temp
########## /cygdrive/c /cygdrive/c/DOCUME~1/user/LOCALS~1/Temp
########## /cygdrive /cygdrive/c/DOCUME~1/user/LOCALS~1/Temp
Making directory i:clientdb globalbackuptest
Making directory i:clientdb globalbackuptest/rdiff-backup-data
Unable to import module xattr. EAs not supported on filesystem at c:temp
Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at c:temp
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
Access control lists Off
Extended attributes Off
Mac OS X style resource forks Off
-----------------------------------------------------------------
Making directory i:clientdb
globalbackuptest/rdiff-backup-data/rdiff-backup.t
mp.0
Hard linking i:clientdb
globalbackuptest/rdiff-backup-data/rdiff-backup.tmp.0
/hardlinked_file2 to i:clientdb
globalbackuptest/rdiff-backup-data/rdiff-back
up.tmp.0/hardlinked_file1
Traceback (most recent call last):
File "C:rdiff-backuprdiff-backup", line 24, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/cygdrive/c/rdiff-backup/rdiff_backup/Main.py", line 247, in Main
take_action(rps)
File "/cygdrive/c/rdiff-backup/rdiff_backup/Main.py", line 218, in
take_action

elif action == "backup": Backup(rps[0], rps[1])
File "/cygdrive/c/rdiff-backup/rdiff_backup/Main.py", line 257, in Backup
backup_set_fs_globals(rpin, rpout)
File "/cygdrive/c/rdiff-backup/rdiff_backup/Main.py", line 375, in
backup_set_
fs_globals
dest_fsa = rpout.conn.fs_abilities.get_fsabilities_readwrite(
File "/cygdrive/c/rdiff-backup/rdiff_backup/fs_abilities.py", line 380, in
get
_fsabilities_readwrite
return FSAbilities(desc_string).init_readwrite(
File "/cygdrive/c/rdiff-backup/rdiff_backup/fs_abilities.py", line 142, in
ini
t_readwrite
self.set_hardlinks(subdir)
File "/cygdrive/c/rdiff-backup/rdiff_backup/fs_abilities.py", line 205, in
set
_hardlinks
assert hl_source.getinode() == hl_dest.getinode()
AssertionError

Can anyone suggest a work around?

dave
os error 22 detecting file system propertieson cygwin
January 06, 2004 03:42PM
----- Original Message -----
From: "David Kempe" <dave < at > solutionsfirst.com.au>

[quote]I found another different error trying to do a similiar thing.
[/quote]
commenting out the hardlinks test and setting hardlinks = 0 now gives me
this:

C:rdiff-backup>python2.3.exe C:rdiff-backuprdiff-backup --remote-schema
'plin
k -C -i sloth.PPK %s rdiff-backup --server' -v7 --print-statistics
c:tempdrive
rs c:tempbackup23
Remote schema option ignored - no remote file descriptions.
########## /cygdrive/c/rdiff-backup/c:tempdrivers
/cygdrive/c/DOCUME~1/dave/LO
CALS~1/Temp
########## /cygdrive/c/rdiff-backup /cygdrive/c/DOCUME~1/dave/LOCALS~1/Temp
########## /cygdrive/c /cygdrive/c/DOCUME~1/dave/LOCALS~1/Temp
########## /cygdrive /cygdrive/c/DOCUME~1/dave/LOCALS~1/Temp
Making directory c:tempbackup23
Making directory c:tempbackup23/rdiff-backup-data
Unable to import module xattr. EAs not supported on filesystem at
c:tempdrive
rs
Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at c:tempdrivers
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
Access control lists Off
Extended attributes Off
Mac OS X style resource forks Off
-----------------------------------------------------------------
Making directory c:tempbackup23/rdiff-backup-data/rdiff-backup.tmp.0
Touching c:tempbackup23/rdiff-backup-data/rdiff-backup.tmp.0/foo
Deleting c:tempbackup23/rdiff-backup-data/rdiff-backup.tmp.0/foo
Directories on file system at
c:tempbackup23/rdiff-backup-data/rdiff-backup.tm
p.0 are not fsyncable.
Assuming it's unnecessary.
Unable to import module xattr. EAs not supported on filesystem at
c:tempbacku
p23/rdiff-backup-data/rdiff-backup.tmp.0
Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at
c:tempbackup23/rdiff-backup-data/rdiff-bac
kup.tmp.0
Touching c:tempbackup23/rdiff-backup-data/rdiff-backup.tmp.0/dir_inc_check
Deleting c:tempbackup23/rdiff-backup-data/rdiff-backup.tmp.0/dir_inc_check
Touching c:tempbackup23/rdiff-backup-data/rdiff-backup.tmp.0/regfile
Deleting c:tempbackup23/rdiff-backup-data/rdiff-backup.tmp.0/regfile
Touching c:tempbackup23/rdiff-backup-data/rdiff-backup.tmp.0/5-_ a.
Deleting c:tempbackup23/rdiff-backup-data/rdiff-backup.tmp.0/5-_ a.
Touching c:tempbackup23/rdiff-backup-data/rdiff-backup.tmp.0/A
Deleting c:tempbackup23/rdiff-backup-data/rdiff-backup.tmp.0/a
Touching c:tempbackup23/rdiff-backup-data/rdiff-backup.tmp.0/:
Deleting c:tempbackup23/rdiff-backup-data/rdiff-backup.tmp.0
Removing directory c:tempbackup23/rdiff-backup-data/rdiff-backup.tmp.0
-----------------------------------------------------------------
Detected abilities for destination (read/write) file system:
Characters needing quoting '^a-z0-9_ -.'
Ownership changing On
Hard linking Off
fsync() directories Off
Directory inc permissions Off
Access control lists Off
Extended attributes Off
Mac OS X style resource forks Off
-----------------------------------------------------------------
Fatal Error: Bad rdiff-backup-data dir on destination side

The rdiff-backup data directory
c:tempbackup23/rdiff-backup-data
exists, but we cannot find a valid current_mirror marker. You can
avoid this message by removing the rdiff_backup_data directory;
however any data in it will be lost.

Probably this error was caused because the first rdiff-backup session
into a new directory failed. If this is the case it is safe to delete
the rdiff_backup_data directory because there is no important
information in it.

Cleaning up

Which is great, the detection seems to work nicely. shame it can't backup
for an unknown reason.
Probably due to my clumsy fiddling with fs_abilities.py

dave
Sorry, only registered users may post in this forum.

Click here to login