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

Stephan Wiesand stephan.wiesand@desy.de
Thu, 13 Jul 2017 13:42:23 +0200


> On 13. Jul 2017, at 12:54, Giovanni Bracco <giovanni.bracco@enea.it> =
wrote:
>=20
> The error is related to accessing archive files that are contained in =
image ISO files that are physically located in AFS.
>=20
> 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
>=20
> The ISO is mounted locally to the server with
> mount -o loop -t iso9660 file_in_afs.iso /mnt/iso2
>=20
> When the iso file is moved on the server local file-system the error =
disappears.
>=20
> 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
>=20
> Any suggestion?

Obviously, try a recent client - 1.6.7 is rather ancient.

And what's the fileserver version?

What are the sizes of the image and the client cache (and which cache =
type are you using)?

--=20
Stephan Wiesand
DESY -DV-
Platanenallee 6
15738 Zeuthen, Germany