Print

Print


Hello,

at CNAF Tier 1 site I see that SE info providers for Castor system
publish constant values for both Storage Space Available/Used.
This value is set to 100 Petabytes, since the unit of measure for these
attributes is kilobyte.

About this, I would like to raise two issues:

1. are there/will be there any fix for this problem in order to have
dynamic info?

2. this value causes problems to applications that represent integer on
4 bytes. If they use a signed int4 (worst case), the max value is
2G*Kbyte=2Terabytes. I'm promoting the change of the unit of measure to
megabyte for next GLUE Schema revision. This would allow to represent up
to  2G*Mbyte=2Petabytes for a single storage space in the worst case
(signed int4). For more info:
http://infnforge.cnaf.infn.it/tracker/index.php?func=detail&aid=14&group_id=9&atid=118

Below you find the queries that show the problem.

Cheers,
                Sergio


example queries:

CASTORFTP-CMS

ldapsearch -h castorftp-1.cr.cnaf.infn.it -p 2135 -x -b
"mds-vo-name=local,o=grid" "objectclass=gluesa"
gluesastateavailablespace gluesastateusedspace

# extended LDIF
#
# LDAPv3
# base <mds-vo-name=local,o=grid> with scope sub
# filter: objectclass=gluesa
# requesting: gluesastateavailablespace gluesastateusedspace
#

# alice:alice, castorftp-1.cr.cnaf.infn.it, local, grid
dn:
GlueSARoot=alice:alice,GlueSEUniqueID=castorftp-1.cr.cnaf.infn.it,Mds-Vo-n
  ame=local,o=grid
GlueSAStateAvailableSpace:: MTAwMDAwMDAwMDAwMDAwIA==
GlueSAStateUsedSpace: 100000000000000

# atlas:atlas, castorftp-1.cr.cnaf.infn.it, local, grid
dn:
GlueSARoot=atlas:atlas,GlueSEUniqueID=castorftp-1.cr.cnaf.infn.it,Mds-Vo-n
  ame=local,o=grid
GlueSAStateAvailableSpace: 100000000000000
GlueSAStateUsedSpace: 100000000000000

# lhcb:lhcb, castorftp-1.cr.cnaf.infn.it, local, grid
dn:
GlueSARoot=lhcb:lhcb,GlueSEUniqueID=castorftp-1.cr.cnaf.infn.it,Mds-Vo-nam
  e=local,o=grid
GlueSAStateAvailableSpace: 100000000000000
GlueSAStateUsedSpace: 100000000000000

# dteam:dteam, castorftp-1.cr.cnaf.infn.it, local, grid
dn:
GlueSARoot=dteam:dteam,GlueSEUniqueID=castorftp-1.cr.cnaf.infn.it,Mds-Vo-n
  ame=local,o=grid
GlueSAStateAvailableSpace: 100000000000000
GlueSAStateUsedSpace: 100000000000000



CASTORFTP-1

ldapsearch -h castorftp-1.cr.cnaf.infn.it -p 2135 -x -b
"mds-vo-name=local,o=grid" "objectclass=gluesa"
gluesastateavailablespace gluesastateusedspace


# extended LDIF
#
# LDAPv3
# base <mds-vo-name=local,o=grid> with scope sub
# filter: objectclass=gluesa
# requesting: gluesastateavailablespace gluesastateusedspace
#

# alice:alice, castorftp-1.cr.cnaf.infn.it, local, grid
dn:
GlueSARoot=alice:alice,GlueSEUniqueID=castorftp-1.cr.cnaf.infn.it,Mds-Vo-n
  ame=local,o=grid
GlueSAStateAvailableSpace:: MTAwMDAwMDAwMDAwMDAwIA==
GlueSAStateUsedSpace: 100000000000000

# atlas:atlas, castorftp-1.cr.cnaf.infn.it, local, grid
dn:
GlueSARoot=atlas:atlas,GlueSEUniqueID=castorftp-1.cr.cnaf.infn.it,Mds-Vo-n
  ame=local,o=grid
GlueSAStateAvailableSpace: 100000000000000
GlueSAStateUsedSpace: 100000000000000

# lhcb:lhcb, castorftp-1.cr.cnaf.infn.it, local, grid
dn:
GlueSARoot=lhcb:lhcb,GlueSEUniqueID=castorftp-1.cr.cnaf.infn.it,Mds-Vo-nam
  e=local,o=grid
GlueSAStateAvailableSpace: 100000000000000
GlueSAStateUsedSpace: 100000000000000

# dteam:dteam, castorftp-1.cr.cnaf.infn.it, local, grid
dn:
GlueSARoot=dteam:dteam,GlueSEUniqueID=castorftp-1.cr.cnaf.infn.it,Mds-Vo-n
  ame=local,o=grid
GlueSAStateAvailableSpace: 100000000000000
GlueSAStateUsedSpace: 100000000000000