I find updating an existing image with si_getclient is not deleting old files even though rsync options include --delete. This is because I'm getting an IO error when rsync runs, so rsync plays it safe and doesn't delete anything:
/usr/sbin/si_getimage, lines 396-7: # compile rsync options $options = "--delete --delete-excluded --exclude-from=$final_exclude_file"; Retrieving image SLES9-i386-xSeries342 from 128.48.101.111 ------------- SLES9-i386-xSeries342 IMAGE RETRIEVAL PROGRESS ------------- receiving file list ... done IO error encountered - skipping file deletion etc/mtab opt/tivoli/tsm/client/ba/bin/dsmerror.log opt/tivoli/tsm/client/ba/bin/dsmsched.log var/log/messages var/log/warn sent 229 bytes received 878210 bytes 585626.00 bytes/sec total size is 1043988114 speedup is 1188.46 rsync error: some files could not be transferred (code 23) at main.c(1158) I can fix this by adding "--ignore-errors" to rsync options. But I'm curious what the IO error might be. I would prefer to fix this instead. -- -ashley Did you try poking at it with a stick? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Sisuite-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisuite-users
