[OpenAFS] strange errors when using a iso file mounted as a loop device, if the iso file is located in AFS

Giovanni Bracco giovanni.bracco@enea.it
Thu, 13 Jul 2017 15:02:15 +0200

On 13/07/17 13:42, Stephan Wiesand wrote:
>> On 13. Jul 2017, at 12:54, Giovanni Bracco <giovanni.bracco@enea.it> wrote:
>> The error is related to accessing archive files that are contained in image ISO files that are physically located in AFS.
>> The typical and repeated error is:
>>    Errors extracting '/mnt/iso2/common/LINX64.GZ'
>>    '"/opt/ansys_inc/extract.sh"' terminated after 1 attempts with the following error(s):
>>        Unknown error
>>    Exit Code: 2
>>       tar: This does not look like a tar archive
>> The ISO is mounted locally to the server with
>> mount -o loop -t iso9660 file_in_afs.iso /mnt/iso2
>> When the iso file is moved on the server local file-system the error disappears.
>> The client:
>> AFS version:  OpenAFS 1.6.7 built  2014-04-05
>> CentOS 6.7 kernel 2.6.32-358.23.2.el6.x86_64
>> Any suggestion?
> Obviously, try a recent client - 1.6.7 is rather ancient.
OK, I agree that we should upgrade our client/server but for the moment 
I was curious if other have experienced the same problem.

> And what's the fileserver version?

> What are the sizes of the image and the client cache (and which cache type are you using)?
# cat /usr/vice/etc/cacheinfo

/dev/ram0               495844    271833    198411  58% /afscache

the iso size was 3.5 GB

In  other similar cases we had not problem in the past.
We have also tried on different clients (which exact the same 
configuration but with the same kind of errors)


Giovanni Bracco
Via E. Fermi 45
I-00044 Frascati (Roma) Italy
phone +39-06-9400-5597  mobile +39-3351992144
FAX   +39-06-9400-5735
E-mail  giovanni.bracco@enea.it
WWW http://www.afs.enea.it/bracco