Re: Linuxulator: syscall statfs64 not implemented?

From: Paul Mather <paul_at_gromit.dlib.vt.edu>
Date: Thu, 24 Aug 2006 13:19:56 -0400
On Thursday 24 August 2006 04:07, Divacky Roman wrote:

> On Wed, Aug 23, 2006 at 02:56:57PM -0400, Paul Mather wrote:
> > On Wed, 2006-08-23 at 19:47 +0200, Divacky Roman wrote:
> > > On Wed, Aug 23, 2006 at 11:49:53AM -0400, Paul Mather wrote:
> > > > On Mon, 2006-08-21 at 15:46 +0200, Divacky Roman wrote:
> > > > > > it seems like very trivial so expect patch today ;)
> > > > >
> > > > > www.stud.fit.vutbr.cz/~xdivac02/statfs64.patch
> > > > >
> > > > > pls tell me if this works, thnx
> > > >
> > > > The patch applied and built on i386.  However, when I run the
> > > > resultant kernel, the problem of the "syscall statfs64 not
> > > > implemented" messages goes away but my Tivoli backup still
> > > > fails (in a different way).  (The same Tivoli client and setup
> > > > worked on i386 -CURRENT prior to mid-August, and currently is
> > > > working on an i386 6.1-STABLE system.)
> > > >
> > > > Now, when the scheduled backup runs, I get things like this in
> > > > my dsmerror.log:
> > > >
> > > > 08/23/06   02:58:37 TransErrno: Unexpected error from
> > > > GetFSInfo:statfs, errno = 14 08/23/06   02:58:38 ANS1228E
> > > > Sending of object '/backup' failed 08/23/06   02:58:38 ANS1063E
> > > > The specified path is not a valid file system or logical volume
> > > > name.
> > > >
> > > > 08/23/06   02:58:38 ANS1228E Sending of object '/backup/var'
> > > > failed 08/23/06   02:58:38 ANS1063E The specified path is not a
> > > > valid file system or logical volume name.
> > > >
> > > > 08/23/06   02:58:38 ANS1228E Sending of object '/backup/usr'
> > > > failed 08/23/06   02:58:38 ANS1063E The specified path is not a
> > > > valid file system or logical volume name.
> > > >
> > > > 08/23/06   02:58:40 ANS1512E Scheduled event
> > > > 'DESKTOP_DAILY_BACKUP' failed.  Return code = 12.
> > > >
> > > >
> > > > I don't know if this indicates that there is a problem with the
> > > > implementation of statfs64/statfs, now.  (I don't know if it
> > > > complicates matters, but I'm backing up mounted snapshots.)
> > >
> > > pls, can you build -DDEBUG version of linuxolator and show me
> > > what it prints?
> >
> > Here is the output and debug output in /var/log/messages resulting
> > from running the following command:
>
> pls, can you apply this patch:
>
> --- /tmp/tmp.72430.0	Thu Aug 24 10:06:00 2006
> +++ /root/projects/soc2006/compat/linux/linux_stats.c	Thu Aug 24
> 10:04:56 2006 _at__at_ -427,8 +427,8 _at__at_
>  	LCONVPATHEXIST(td, args->path, &path);
>
>  #ifdef DEBUG
> -	if (ldebug(statfs))
> -		printf(ARGS(statfs, "%s, *"), path);
> +	if (ldebug(statfs64))
> +		printf(ARGS(statfs64, "%s, *"), path);
>  #endif
>  	error = kern_statfs(td, path, UIO_SYSSPACE, &bsd_statfs);
>  	LFREEPATH(path);
>
> and show me the output again. (I forgot to change the debuging print
> so I cannot distinguish call to statfs and statfs64). anyway - in the
> output you provided me all statfs[64] calls succeeded and I didnt see
> anything obvious. I might try my own tests...

Attached is the output from running the same command as before, i.e.:

zappa# /compat/linux/opt/tivoli/tsm/client/ba/bin/dsmc 
incremental /backup/var
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
  Client Version 5, Release 3, Level 2.1 
  Client date/time: 08/24/06   13:06:34
(c) Copyright by IBM Corporation and other(s) 1990, 2005. All Rights 
Reserved.

Node Name: ZAPPA.DLIB.VT.EDU
Session established with server ADSM: AIX-RS/6000
  Server Version 5, Release 2, Level 6.3
  Server date/time: 08/24/06   13:06:34  Last access: 08/24/06   
03:16:06


Incremental backup of volume '/backup/var'
ANS1228E Sending of object '/backup/var' failed
ANS1063E The specified path is not a valid file system or logical volume 
name.



Cheers,

Paul.
-- 
e-mail: paul_at_gromit.dlib.vt.edu

"Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid."
        --- Frank Vincent Zappa

Received on Thu Aug 24 2006 - 15:20:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:59 UTC