Print

Print


Dear Fabrizio.
Thank You.

statvfs [vfilesystempath]
  gets info about a virtual file system.

I dimly, as can work any LINE for vfilesystempath -
...
root://senf04.itep.ru:1094/>statvfs ANYSTRING
r/w nodes: 1 r/w free space: 10243 r/w utilization: 0 staging nodes: 1
staging free space: 10243 staging utilization: 0

Best regards, Yevgeniy.

> Hi,
>
>   This reports like 20081216.1030, not 20080923...
>
>   Anyway, as far as I know, statvfs shows only the "max contiguous
> space", and not the total size.
>
>   Nice or not, this is what is clearly written in the documentation, and
> what I wrote in the previous mails to Natalya.
>
>   I agree that an option to get the total size would be interesting. Andy?
>
> Fabrizio
>
>
> Y.Lyublev ha scritto:
> > Dears.
> > We have installed XROOTD 20080923 on one server with
> > 2 filesystems for xrootd.
> > [root@senf04 ~]# df -h
> > Filesystem            Size  Used Avail Use% Mounted on
> > ...
> > /dev/sda1              11T  2.8G   11T   1% /pool1
> > /dev/sdb1              11T  1.2G   11T   1% /pool2
> >
> > Config files xrootd.cf xrootd.xrootd.cf and have
> > ...
> > oss.cache public /pool1/xrootd
> > oss.cache public /pool2/xrootd
> > ...
> > But subcommand statvfs from xrd command with any parameter shows
information
> > for one pool only -
> > [root@senf04 ~]# /opt/xrootd/bin/xrd senf04.itep.ru
> > (C) 2004 SLAC INFN $Revision: 1.21 $ - Xrootd version: 20081216.1030
> > Welcome to the xrootd command line interface.
> > Type 'help' for a list of available commands.
> > root://senf04.itep.ru:1094/>statvfs ANY
> > r/w nodes: 1 r/w free space: 10243 r/w utilization: 0 staging nodes: 1
> > staging free space: 10243 staging utilization: 0
> >
> > root://senf04.itep.ru:1094/>statvfs /
> > r/w nodes: 1 r/w free space: 10243 r/w utilization: 0 staging nodes: 1
> > staging free space: 10243 staging utilization: 0
> >
> > Why?
> > Best regards, Yevgeniy.
> >