[OpenAFS] Re: butm: Tape close failed. Error 22

Hans-Werner Paulsen hans@MPA-Garching.MPG.DE
Fri, 10 Jan 2003 13:59:11 +0100


On Fri, Jan 10, 2003 at 11:06:29AM +0100, Jean-Marc Chaton wrote:
> * Michael Aldrich [Thu, 09/01/2003 at 13:30 -0500]
> > Hi,
> > I have not been able to find a solution or answer. It has no negative effects 
> > on my backup system.
> > Thanks
> > Mike
> 
> Same situation here, the message but no impact on backups.
> 

Hi AFS Users,
there is a simple solution:
In the file ".../usd/usd_file.c" in the function "usd_FileClose"
the routine "fsync" is called on a special file which does not
support synchronization. (errno=EINVAL).
Removing the "S_ISCHR(mode)" test will remove the error message.
(This was already done for AFS_AIX_ENV).

-- 
Hans-Werner Paulsen		hans@MPA-Garching.MPG.DE
MPI für Astrophysik		Tel 089-30000-2602
Karl-Schwarzschild-Str. 1	Fax 089-30000-2235	
D-85741 Garching