Recent posts (max 20) - Browse or Archive for more

New CFSv2 monthly dataset

A new dataset with monthly-aggregated variables is now available. Provides a fast access to a subset of variables at a monthly resolution

New paper about ECOMS UDG available

The ECOMS User Data Gateway: Towards seasonal forecast data provision and research reproducibility in the era of Climate Services http://www.meteo.unican.es/en/node/73360

Hora UTC

En un sistema hay dos relojes:

  • hardware clock
  • system clock

El System clock lo fijan cuatros factores:

  • El valor de la hora
  • El estándar de hora
  • Zona horaria
  • DST (dayling Saving time)

Hay dos estandares de hora:

  • localtime depende de "time zone"
  • UTC coordinated Universal Time es un estándar Global

El reloj hardware

Conocido como CMOS clock o Real Time CLOCK (RTC)

[root@spock Europe]# hwclock --show
Wed 10 May 2017 09:27:26 AM CEST  -0.825893 seconds
#sincroniza la hora RTC con la del sistema 
[root@spock Europe]# hwclock --systohc

Reloj del sistema:

[root@spock zoneinfo]# date
Wed May 10 09:41:51 CEST 2017

[root@spock zoneinfo]# date -u
Wed May 10 07:44:11 UTC 2017


Para cambiarlo:

[root@spock Etc]# cp /etc/localtime /etc/localtime.old

[root@spock Etc]# strings /etc/localtime
TZif2
WEST
WEMT
CEST
TZif2
WEST
WEMT
CEST
CET-1CEST,M3.5.0,M10.5.0/3}}}

[root@spock Etc]# ln -sf /usr/share/zoneinfo/UTC /etc/localtime
[root@spock Etc]# date
Wed May 10 08:03:27 UTC 2017

En España:

  • CET ( Central European Time ) GMT +1
  • CEST( Central European Sumer Time ) GMT +2

Filtering ESGF datasets versions in the metalink

clear all,fclose all;close all;clc;
nameFile='./hadgem2_es.metalink';
xmlLines=textread(nameFile,'%s','delimiter','\r\n');
endFiles=find(ismember(deblank(xmlLines),{'</file>'}));Nfiles=length(endFiles);
startFiles=[];fileProperties=cell(Nfiles,3);contador=1;
for i=1:length(xmlLines)
    sd=strfind(xmlLines{i},'<file name="');
    if ~isempty(sd)
        startFiles=[startFiles;i];
        fileName=['./' xmlLines{i}(sd+12:end-2)];
        [pathName,fileName,extFile]=fileparts(fileName);
        [aux1,aux2,vFile]=fileparts(pathName);vFile=vFile(2:end);
fileProperties{contador,1}=fileName;fileProperties{contador,2}=vFile;fileProperties{contador,3}=i;
        contador=contador+1;
    end
end
[fileNames,I1,I2]=unique(fileProperties(:,1));
lastFile=cell(length(I1),3);
for i=1:length(I1)
    indFiles=find(I2==i);
versiones=strvcat(fileProperties(indFiles,2));versiones=datenum([str2num(versiones(:,2:5)) str2num(versiones(:,6:7)) str2num(versiones(:,8:9)) repmat([0 0 0],length(indFiles),1)]);
[a1,a2]=max(versiones);lastFile(i,:)=fileProperties(indFiles(a2),:);
end
fid=fopen([nameFile '_last_version.metalink'],'w');
for i=1:min(startFiles)-1
    fprintf(fid,'%s \r\n',xmlLines{i});
end
Nfiles=length(I1);
for i=1:Nfiles
    indFile=find(startFiles==lastFile{i,3});
    for j=startFiles(indFile):endFiles(indFile)
        fprintf(fid,'%s \r\n',xmlLines{j});
    end
end
for i=max(endFiles)+1:length(xmlLines)
    fprintf(fid,'%s \r\n',xmlLines{i});
end
fclose(fid); 

How to find subversion working copies in my disk

I need to find all the SVN working copies in my hard disk and this is the find command I have executed

$ find / -type d -exec test -e "{}/.svn" \; -prune -print

New variables in CFSv2

New variables available in CFSv2_seasonal dataset, including relative humidity (calculated on-the-fly by loadeR.ECOMS >= v1.0-1)

loadeR.ECOMS v1.0-0 released

A new version of the R data access interface has been released: loadeR.ECOMS v1.0-0 (which supersedes ecoms.Raccess) More info in http://meteo.unican.es/trac/wiki/udg/ecoms/RPackage/versions

GloSea5 dataset published

The GloSea5 hindcast has been published (surface variables: daily precipitation and temperature).

Fixed problems with EOBS datasets

The EOBS datasets were suffering some problems due name server resolution for the ECA's Opendap server: opendap.nmdc.eu

This has been fixed pointing to the KNMI's opendap server: opendap.knmi.nl

Remember that this dataset is a remote dataset which is been accessed on-demand, therefore some connection issue are expected.

Regards

Antonio

Weight Loss were initially

Here look inside reading not drop meant it yeah yes Daddy a member are you going to do d expected at you like watching feat okay boot camp to help you get a chance as a sec yea multiply me to reset report I need a few 24th Dec 30 few seconds 28 let market for women at all let's go him go to the buyer for second yeah right let's go why cool guy that were initially it hard for really quick nap cardio don't quit hey are you an aggregate of shape not have the time to make when you've got a big one don't get poor what yeah not have go what work yeah Vivabiotics pillow hello board.

http://www.maletestosteronebooster.org/vivabiotics/

Git/Github Tutorial

GitHub is an open source version control system (VCS) called Git. Git is responsible for everything GitHub-related that happens locally on your computer.


Setting up Git in command line

  1. Download and install the latest version of Git
  2. On your computer, open the Terminal application.
  3. Tell Git your name so your commits will be properly labeled. Type everything after the $ here:
$ git config --global user.name "YOUR NAME"
  1. Tell Git the email address that will be associated with your Git commits. The email you specify should be the same one you used to sign up for GitHub
$ git config --global user.email "YOUR EMAIL ADDRESS"

Authenticating with GitHub from Git

When you connect to a GitHub repository from Git, you'll need to authenticate with GitHub using either HTTPS or SSH. To learn more.: https://help.github.com/articles/set-up-git#next-steps-authenticating-with-github-from-git


Fork a Repository

A fork is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project. Most commonly, forks are used to either propose changes to someone else's project or to use someone else's project as a starting point for your own idea.

  • Propose changes to someone else's project → using forks to propose changes is for bug fixes. If the project owner likes your work, they might pull your fix into the original repository!
  • Use someone else's project as a starting point for your own idea → Use someone else's project as a starting point for your own idea. At the heart of open source is the idea that by sharing code, we can make better, more reliable software. In fact, when you create a repository on GitHub?, you have a choice of automatically including a license file, which determines how you want your project to be shared with others.

Forking a repository is a simple two-step process.

  1. On GitHub, navigate to the repository https://github.com/octocat/Spoon-Knife
  2. In the top-right corner of the page, click Fork.

That's it! Now, you have a fork of the original repository.


Keep your fork synced

You might fork a project in order to propose changes to the upstream, or original, repository. In this case, it's good practice to regularly sync your fork with the upstream repository. To do this, you'll need to use Git on the command line.

Create a local clone of your fork

Right now, you have a fork of the Spoon-Knife repository on GitHub, but you don't have the files in that repository on your computer. Let's create a clone of your fork locally on your computer.

  1. On GitHub, navigate to your fork of the Spoon-Knife repository.
  2. In the right sidebar of your fork's repository page, click to copy the clone URL for your fork. This will either be an HTTPS or SSH clone URL, depending on how you authenticate to GitHub.
  3. Open Terminal (for Mac and Linux users) or the command line (for Windows users).
  4. Type git clone, and then paste the URL you copied in Step 2. It will look like this, with your GitHub username instead of YOUR-USERNAME:
    $ git clone https://github.com/YOUR-USERNAME/Spoon-Knife
    
  5. Press Enter. Your local clone will be created.
    $ git clone https://github.com/YOUR-USERNAME/Spoon-Knife
    # Cloning into `Spoon-Knife`...
    # remote: Counting objects: 10, done.
    # remote: Compressing objects: 100% (8/8), done.
    # remove: Total 10 (delta 1), reused 10 (delta 1)
    # Unpacking objects: 100% (10/10), done.
    

Now, you have a local copy of your fork of the Spoon-Knife repository!

Configure Git to sync your fork with the original Spoon-Knife repository

When you fork a project in order to propose changes to the original repository, you can configure Git to pull changes from the original, or upstream, repository into the local clone of your fork.

  1. On GitHub, navigate to the octocat/Spoon-Knife repository.
  2. In the right sidebar of the repository page, click to copy the clone URL for the repository.
  3. Open Terminal (for Mac and Linux users) or the command line (for Windows users).
  4. Change directories to the location of the fork you cloned in Step 2: Create a local clone of your fork.

To go to your home directory, type just cd with no other text. To list the files and folders in your current directory, type ls. To go into one of your listed directories, type cd your_listed_directory. To go up one directory, type cd ...

  1. Type git remote -v and press Enter. You'll see the current configured remote repository for your fork.
    $ git remote -v
    # origin  https://github.com/YOUR_USERNAME/YOUR_FORK.git (fetch)
    # origin  https://github.com/YOUR_USERNAME/YOUR_FORK.git (push)
    
  2. Type git remote add upstream, and then paste the URL you copied in Step 2 and press Enter. It will look like this:
    $ git remote add upstream https://github.com/octocat/Spoon-Knife.git
    
  3. To verify the new upstream repository you've specified for your fork, type $ $ git remote -v again. You should see the URL for your fork as origin, and the URL for the original repository as upstream.
    $ git remote -v
    # origin    https://github.com/YOUR_USERNAME/YOUR_FORK.git (fetch)
    # origin    https://github.com/YOUR_USERNAME/YOUR_FORK.git (push)
    # upstream  https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git (fetch)
    # upstream  https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git (push)
    

Working with git/github

Local repository flow

Add and commit


You can register the changes by adding them to Index. For that, you must use:

$ git add <filename>
$ git add .

This is the first step in the work-flow. Then, to do a commit for this changes in local repository, you must use:

$ git commit -m "Commit message"

Now the file is included in the HEAD, but not yet in your remote repository.

Send changes to remote repository

Your changes are now in the HEAD of your local copy. To send this changes to your remote repository, you must execute:

$ git push 

Branches

The branches in Git are used to develop functionality isolated from each other. When you create a repository, the main branch by default is "master". The idea is create new branches during the development, and when you finish, you must merge them in the main branch.


Create a new branch

$ git branch feature_x

Change current branch

$ git checkout branch_name

Create a new branch named "feature_x" and change the current branch to the branch created

$ git checkout -b feature_x

Return to the main branch

$ git checkout master

Delete a branch

$ git branch -d branch_name

Keep in mind that, a new branch will not be available to others unless you upload (push) the branch to your remote repository

Update and merge

Update your local repository to the last version in remote repository

$ git pull

Merge a branch with active branch in your local repository.

$ git merge <branch>

In both cases Git will try merge automatically the changes. Unfortunately, it is not always possible and may cause conflicts. In this case, you are responsible of the merge those conflicts manually by editing the files shown by Git. After modification, you need to mark them with:

$ git add <filename>

You can review the changes before merging using:

$ git diff <source_branch> <target_branch> 

Tags

It's recommended create tags for each new released version of software.

Create a new tag named 1.0.0

$ git tag 1.0.0 1b2e1d63ff

1b2e1d63ff refers to the "commit id" (10 characters). You can get the commit id

$ git log

Also you can use less characters for the tag but it must be a unique value.

Push tags to git repo

$ git push --tags

Replace local changes

If you do something wrong, you can replace local changes using the command

$ git checkout -- <filename>

This command replaces the changes in your working directory with the latest content from HEAD. The changes that have been added to the Index, as well as new files, will remain unchanged. If you want reset the local repository to the original repository. Note that, all changes will be lost.

$ git fetch origin
$ git reset --hard origin/master

Working with git/github in ESGF

Installation of Egit

The last versions of Eclipse includes the EGit plugin in their default configuration and is not needed install it.

You can install it via the Eclipse installation manager. Start this manager via the Help → Install new Software menu entry.

URL:

http://download.eclipse.org/egit/updates

for more -> http://www.vogella.com/tutorials/EclipseGit/article.html#egitconfiguration

Import a Project

In eclipse go to File > Import...

  1. Select Git > Projects from Git. Then, select a repository source. In case of local projects select "Existing local repository". In this tutorial we will import a remote project, for import remote projects select "Clone URI".

  1. Select a wizard for import projects in a eclipse project. In this case select "Use the New Project wizard". Then select the appropriate project. RememberUncheck use default location and select the git directory in your file system.


Gitflow Workflow (Vincent Driessen workflow)

This workflow is Vincent Driessen branching model post it http://nvie.com/posts/a-succesful-git-branching-model. The "rules" Vincent states in his blog is an example of how git allows us to implement a workflow for our team.

Remember that this workflow presented here are an example of what’s possible—they are not hard-and-fast rules for using Git in the workplace. So, don't be afraid to adopt some aspects of a workflow and disregard others. The goal should always be to make Git work for you, not the other way around.

The Gitflow Workflow defines a strict branching model designed around the project release. While somewhat more complicated than other workflows.

This workflow doesn’t add any new concepts or commands beyond what’s required for the Feature Branch Workflow. Instead, it assigns very specific roles to different branches and defines how and when they should interact. In addition to feature branches, it uses individual branches for preparing, maintaining, and recording releases. Of course, you also get to leverage all the benefits of the Feature Branch Workflow: pull requests, isolated experiments, and more efficient collaboration.

The Gitflow Workflow still uses a central repository as the communication hub for all developers.

Historical Branches


Instead of a single master branch, this workflow uses two branches to record the history of the project. The master branch stores the official release history, and the develop branch serves as an integration branch for features. It's also convenient to tag all commits in the master branch with a version number

The rest of this workflow revolves around the distinction between these two branches.

Feature Branches


Each new feature should reside in its own branch, which can be pushed to the central repository for backup/collaboration. But, instead of branching off of master, feature branches use develop as their parent branch. When a feature is complete, it gets merged back into develop. Features should never interact directly with master.

Release Branches


Once develop has acquired enough features for a release (or a predetermined release date is approaching), you fork a release branch off of develop. Creating this branch starts the next release cycle, so no new features can be added after this point—only bug fixes, documentation generation, and other release-oriented tasks should go in this branch. Once it's ready to ship, the release gets merged into master and tagged with a version number. In addition, it should be merged back into develop, which may have progressed since the release was initiated. Using a dedicated branch to prepare releases makes it possible for one team to polish the current release while another team continues working on features for the next release. It also creates well-defined phases of development (e.g., it‘s easy to say, “this week we’re preparing for version 4.0” and to actually see it in the structure of the repository).

Maintenance Branches


Maintenance or “hotfix” branches are used to quickly patch production releases. This is the only branch that should fork directly off of master. As soon as the fix is complete, it should be merged into both master and develop (or the current release branch), and master should be tagged with an updated version number. Having a dedicated line of development for bug fixes lets your team address issues without interrupting the rest of the workflow or waiting for the next release cycle. You can think of maintenance branches as ad hoc release branches that work directly with master.

More

GIT CHEAT SHEET https://training.github.com/kit/downloads/github-git-cheat-sheet.pdf
Git Cheatsheet -an interaction from NDP Software http://ndpsoftware.com/git-cheatsheet.html
Visualizing Git Concepts with D3 http://onlywei.github.io/explain-git-with-d3/
Understanding the GitHub Flow - https://guides.github.com/introduction/flow/index.html

Links & References

https://help.github.com/
http://git-scm.com/book/
https://www.atlassian.com/es/git
http://rogerdudler.github.io/git-guide/index.es.html
http://nvie.com/posts/a-successful-git-branching-model/

TDS is reporting too many open files

The Thredds data server is reporting too many opened files when many users are accessing concurrently to the opendap service.

This is happenning with the ECOMS data gateway which is publishing virtual datasets (NcML) aggregating a huge number of files. For example, the System4 vistual datasets are a collection of 135k of GRIB files and therefore the potential amount of files for this datasets is 3x the amount files (405k files)

To avoid this the limit on opened files must be increased.

The current limits for a session can be checked as:

[user@oceano ~]# ulimit -Hn
16384
[user@oceano ~]# ulimit -Sn
16384

and for a process the PID is required. For example:

[user@oceano ~]# cat /proc/10051/limits
Limit                     Soft Limit           Hard Limit           Units
Max cpu time              unlimited            unlimited            seconds
Max file size             unlimited            unlimited            bytes
Max data size             unlimited            unlimited            bytes
Max stack size            10485760             unlimited            bytes
Max core file size        0                    unlimited            bytes
Max resident set          unlimited            unlimited            bytes
Max processes             191823               191823               processes
Max open files            16384                16384                files
Max locked memory         32768                32768                bytes
Max address space         unlimited            unlimited            bytes
Max file locks            unlimited            unlimited            locks
Max pending signals       191823               191823               signals
Max msgqueue size         819200               819200               bytes
Max nice priority         0                    0
Max realtime priority     0                    0

To increase the limit have to edit the security limits for the user:

[root@oceano ~]# nano /etc/security/limits.conf

and write down the hard and soft limits. For example:

user            soft    nofile           100000
user            hard    nofile           100000

be sure that system wide limits are also increased:

cat /proc/sys/fs/file-max

or that you can edit sysctl properties and reload them:

[root@oceano ~]# nano /etc/sysctl.conf

adding this line

fs.file-max = 500000

and reload the new propertie value:

[root@oceano ~]# sysctl -p
...

and check that the new value is update:

[root@oceano ~]# cat /proc/sys/fs/file-max
500000

and for the user limits the user needs to start a new session a check the new limits:

[user@oceano ~]# ulimit -Hn
100000
[user@oceano ~]# ulimit -Sn
100000

and also we can check that processes use the same limits

[user@oceano TDS5]$ cat /proc/32090/limits
Limit                     Soft Limit           Hard Limit           Units
Max cpu time              unlimited            unlimited            seconds
Max file size             unlimited            unlimited            bytes
Max data size             unlimited            unlimited            bytes
Max stack size            10485760             unlimited            bytes
Max core file size        0                    unlimited            bytes
Max resident set          unlimited            unlimited            bytes
Max processes             191823               191823               processes
Max open files            1000000              1000000              files
Max locked memory         32768                32768                bytes
Max address space         unlimited            unlimited            bytes
Max file locks            unlimited            unlimited            locks
Max pending signals       191823               191823               signals
Max msgqueue size         819200               819200               bytes
Max nice priority         0                    0
Max realtime priority     0                    0

Using pre-built netCDF-C Libraries for Visual Studio with MinGW

http://www.unidata.ucar.edu/software/netcdf/docs/winbin.html

http://www.mingw.org/wiki/CreateImportLibraries

D:\NetCDF>dlltool -d netcdf.def -D netcdf.dll -l libnetcdf.a
EXPORTS
Cde2h
Cdh2e
NC3__enddef
NC3_abort
NC3_close
NC3_create
NC3_del_att
NC3_get_att
NC3_get_vara
NC3_inq
NC3_inq_att
NC3_inq_attid
NC3_inq_attname
NC3_inq_base_pe
NC3_inq_format
NC3_inq_format_extended
NC3_inq_type
NC3_inq_unlimdim
NC3_open
NC3_put_att
NC3_put_vara
NC3_redef
NC3_rename_att
NC3_set_base_pe
NC3_set_fill
NC3_sync
NC4__enddef
NC4_abort
NC4_close
NC4_create
NC4_def_compound
NC4_def_dim
NC4_def_enum
NC4_def_grp
NC4_def_opaque
NC4_def_var
NC4_def_var_chunking
NC4_def_var_deflate
NC4_def_var_endian
NC4_def_var_fill
NC4_def_var_fletcher32
NC4_def_vlen
NC4_del_att
NC4_get_att
NC4_get_var_chunk_cache
NC4_get_vara
NC4_get_vlen_element
NC4_inq
NC4_inq_att
NC4_inq_attid
NC4_inq_attname
NC4_inq_compound_field
NC4_inq_compound_fieldindex
NC4_inq_dim
NC4_inq_dimid
NC4_inq_dimids
NC4_inq_enum_ident
NC4_inq_enum_member
NC4_inq_grp_full_ncid
NC4_inq_grp_parent
NC4_inq_grpname
NC4_inq_grpname_full
NC4_inq_grps
NC4_inq_ncid
NC4_inq_type
NC4_inq_type_equal
NC4_inq_typeid
NC4_inq_typeids
NC4_inq_unlimdim
NC4_inq_unlimdims
NC4_inq_user_type
NC4_inq_var_all
NC4_inq_varid
NC4_inq_varids
NC4_insert_array_compound
NC4_insert_compound
NC4_insert_enum
NC4_open
NC4_put_att
NC4_put_vara
NC4_put_vlen_element
NC4_redef
NC4_rename_att
NC4_rename_dim
NC4_rename_grp
NC4_rename_var
NC4_set_fill
NC4_set_var_chunk_cache
NC4_sync
NC4_var_par_access
NCD3_close
NCD3_inq_format_extended
NCD3_open
NC_findtestserver
cdChar2Comp
cdParseRelunits
cdRel2Iso
nc__create
nc__create_mp
nc__enddef
nc__open
nc__open_mp
nc__testurl
nc_abort
nc_advise
nc_close
nc_copy_att
nc_copy_var
nc_create
nc_def_compound
nc_def_dim
nc_def_enum
nc_def_grp
nc_def_opaque
nc_def_var
nc_def_var_chunking
nc_def_var_chunking_ints
nc_def_var_deflate
nc_def_var_endian
nc_def_var_fill
nc_def_var_fletcher32
nc_def_vlen
nc_del_att
nc_delete
nc_delete_mp
nc_enddef
nc_free_string
nc_free_vlen
nc_free_vlens
nc_get_att
nc_get_att_double
nc_get_att_float
nc_get_att_int
nc_get_att_long
nc_get_att_longlong
nc_get_att_schar
nc_get_att_short
nc_get_att_string
nc_get_att_text
nc_get_att_ubyte
nc_get_att_uchar
nc_get_att_uint
nc_get_att_ulonglong
nc_get_att_ushort
nc_get_chunk_cache
nc_get_chunk_cache_ints
nc_get_var
nc_get_var1
nc_get_var1_double
nc_get_var1_float
nc_get_var1_int
nc_get_var1_long
nc_get_var1_longlong
nc_get_var1_schar
nc_get_var1_short
nc_get_var1_string
nc_get_var1_text
nc_get_var1_ubyte
nc_get_var1_uchar
nc_get_var1_uint
nc_get_var1_ulonglong
nc_get_var1_ushort
nc_get_var_chunk_cache
nc_get_var_chunk_cache_ints
nc_get_var_double
nc_get_var_float
nc_get_var_int
nc_get_var_long
nc_get_var_longlong
nc_get_var_schar
nc_get_var_short
nc_get_var_string
nc_get_var_text
nc_get_var_ubyte
nc_get_var_uchar
nc_get_var_uint
nc_get_var_ulonglong
nc_get_var_ushort
nc_get_vara
nc_get_vara_double
nc_get_vara_float
nc_get_vara_int
nc_get_vara_long
nc_get_vara_longlong
nc_get_vara_schar
nc_get_vara_short
nc_get_vara_string
nc_get_vara_text
nc_get_vara_ubyte
nc_get_vara_uchar
nc_get_vara_uint
nc_get_vara_ulonglong
nc_get_vara_ushort
nc_get_varm
nc_get_varm_double
nc_get_varm_float
nc_get_varm_int
nc_get_varm_long
nc_get_varm_longlong
nc_get_varm_schar
nc_get_varm_short
nc_get_varm_string
nc_get_varm_text
nc_get_varm_ubyte
nc_get_varm_uchar
nc_get_varm_uint
nc_get_varm_ulonglong
nc_get_varm_ushort
nc_get_vars
nc_get_vars_double
nc_get_vars_float
nc_get_vars_int
nc_get_vars_long
nc_get_vars_longlong
nc_get_vars_schar
nc_get_vars_short
nc_get_vars_string
nc_get_vars_text
nc_get_vars_ubyte
nc_get_vars_uchar
nc_get_vars_uint
nc_get_vars_ulonglong
nc_get_vars_ushort
nc_get_vlen_element
nc_inq
nc_inq_att
nc_inq_attid
nc_inq_attlen
nc_inq_attname
nc_inq_atttype
nc_inq_base_pe
nc_inq_compound
nc_inq_compound_field
nc_inq_compound_fielddim_sizes
nc_inq_compound_fieldindex
nc_inq_compound_fieldname
nc_inq_compound_fieldndims
nc_inq_compound_fieldoffset
nc_inq_compound_fieldtype
nc_inq_compound_name
nc_inq_compound_nfields
nc_inq_compound_size
nc_inq_dim
nc_inq_dimid
nc_inq_dimids
nc_inq_dimlen
nc_inq_dimname
nc_inq_enum
nc_inq_enum_ident
nc_inq_enum_member
nc_inq_format
nc_inq_format_extended
nc_inq_grp_full_ncid
nc_inq_grp_ncid
nc_inq_grp_parent
nc_inq_grpname
nc_inq_grpname_full
nc_inq_grpname_len
nc_inq_grps
nc_inq_libvers
nc_inq_natts
nc_inq_ncid
nc_inq_ndims
nc_inq_nvars
nc_inq_opaque
nc_inq_path
nc_inq_type
nc_inq_type_equal
nc_inq_typeid
nc_inq_typeids
nc_inq_unlimdim
nc_inq_unlimdims
nc_inq_user_type
nc_inq_var
nc_inq_var_chunking
nc_inq_var_chunking_ints
nc_inq_var_deflate
nc_inq_var_endian
nc_inq_var_fill
nc_inq_var_fletcher32
nc_inq_var_szip
nc_inq_vardimid
nc_inq_varid
nc_inq_varids
nc_inq_varname
nc_inq_varnatts
nc_inq_varndims
nc_inq_vartype
nc_inq_vlen
nc_insert_array_compound
nc_insert_compound
nc_insert_enum
nc_open
nc_put_att
nc_put_att_double
nc_put_att_float
nc_put_att_int
nc_put_att_long
nc_put_att_longlong
nc_put_att_schar
nc_put_att_short
nc_put_att_string
nc_put_att_text
nc_put_att_ubyte
nc_put_att_uchar
nc_put_att_uint
nc_put_att_ulonglong
nc_put_att_ushort
nc_put_var
nc_put_var1
nc_put_var1_double
nc_put_var1_float
nc_put_var1_int
nc_put_var1_long
nc_put_var1_longlong
nc_put_var1_schar
nc_put_var1_short
nc_put_var1_string
nc_put_var1_text
nc_put_var1_ubyte
nc_put_var1_uchar
nc_put_var1_uint
nc_put_var1_ulonglong
nc_put_var1_ushort
nc_put_var_double
nc_put_var_float
nc_put_var_int
nc_put_var_long
nc_put_var_longlong
nc_put_var_schar
nc_put_var_short
nc_put_var_string
nc_put_var_text
nc_put_var_ubyte
nc_put_var_uchar
nc_put_var_uint
nc_put_var_ulonglong
nc_put_var_ushort
nc_put_vara
nc_put_vara_double
nc_put_vara_float
nc_put_vara_int
nc_put_vara_long
nc_put_vara_longlong
nc_put_vara_schar
nc_put_vara_short
nc_put_vara_string
nc_put_vara_text
nc_put_vara_ubyte
nc_put_vara_uchar
nc_put_vara_uint
nc_put_vara_ulonglong
nc_put_vara_ushort
nc_put_varm
nc_put_varm_double
nc_put_varm_float
nc_put_varm_int
nc_put_varm_long
nc_put_varm_longlong
nc_put_varm_schar
nc_put_varm_short
nc_put_varm_string
nc_put_varm_text
nc_put_varm_ubyte
nc_put_varm_uchar
nc_put_varm_uint
nc_put_varm_ulonglong
nc_put_varm_ushort
nc_put_vars
nc_put_vars_double
nc_put_vars_float
nc_put_vars_int
nc_put_vars_long
nc_put_vars_longlong
nc_put_vars_schar
nc_put_vars_short
nc_put_vars_string
nc_put_vars_text
nc_put_vars_ubyte
nc_put_vars_uchar
nc_put_vars_uint
nc_put_vars_ulonglong
nc_put_vars_ushort
nc_put_vlen_element
nc_redef
nc_rename_att
nc_rename_dim
nc_rename_grp
nc_rename_var
nc_set_base_pe
nc_set_chunk_cache
nc_set_chunk_cache_ints
nc_set_default_format
nc_set_fill
nc_set_var_chunk_cache
nc_set_var_chunk_cache_ints
nc_show_metadata
nc_strerror
nc_sync
ncabort
ncattcopy
ncattdel
ncattget
ncattinq
ncattname
ncattput
ncattrename
ncclose
nccreate
ncdimdef
ncdimid
ncdiminq
ncdimrename
ncendef
ncerr
ncinquire
ncopen
ncopts
ncrecget
ncrecinq
ncrecput
ncredef
ncsetfill
ncsync
nctypelen
ncvardef
ncvarget
ncvarget1
ncvargetg
ncvargets
ncvarid
ncvarinq
ncvarput
ncvarput1
ncvarputg
ncvarputs
ncvarrename

New Python package

The UDG has incorporated a new python package.

This first version is only intended to help with the new http authentication. The UDG authentication requires handle http redirects and cookies.

  • Posted: 2014-01-23 20:25 (Updated: 2014-02-26 11:07)
  • Author: antonio
  • Categories: (none)
  • Comments (55)

Re-branding to ECOMS UDG

The data portal has been re-branded to ECOMS User Data Gateway (ECOMS UDG).

This re-branding has deprecated the oldish Portal term to Gateway term. This concept represents a better approach to the ECOMS UDG philosophy

Now the UDG is covering the ECOMS inititive. ECOMS is the framework for the SPECS, EUPORIAS and NACLIM project.

Therefore some wiki names and links has been rename and changed accordingly to this new new.

Please let us to know any broken link: drop us a ticket!!

The CFSRR dataset has been added to the portal

The CFSRR dataset has been added to the Data Portal

First version of the user data portal

Delivered the first version of the data server and access scripts (including only System4 datasets). See SpecsEuporias?'s wiki

How to install the certificate in CE/SE

Create the request certificates for CE/SE with the following commands:

[root@computer~]$ openssl pkcs12 -clcerts -nokeys -in cert.p12 -out hostcert.pem
[root@computer~]$ openssl pkcs12 -clcerts -nodes -in cert.p12 -out hostkey.pem
[root@computer~]$ chmod 400 hostkey.pem
[root@computer~]$ chmod 644 hostcert.pem

En 2017:

Se copia directamente

cp ce01.key hostkey.pem
cp ce01_macc_unican.es.crt  hostcert.pem
  • On CE, the host certificate has to be available in :
    $ ls -l /etc/grid-security/*pem
    -rw-r--r-- 1 root   root   1939 Mar 18 11:06 /etc/grid-security/hostcert.pem
    -r-------- 1 root   root   3782 Mar 18 11:06 /etc/grid-security/hostkey.pem
    -rw-r--r-- 1 tomcat tomcat 1939 Mar 18 11:08 /etc/grid-security/tomcat-cert.pem
    -r-------- 1 tomcat tomcat 3782 Mar 18 11:08 /etc/grid-security/tomcat-key.pem
    
    
    $ ls -l /home/glite/.certs
    total 8
    -rw-r--r-- 1 glite glite 1939 Mar 18 12:00 hostcert.pem
    -r-------- 1 glite glite 3782 Mar 18 11:10 hostkey.pem
    

En 2017: /var/lib/glite/.certs

  • On SE, the host certificate has to be available in several places:
    $ ls -l /etc/grid-security/host*
    -rw-r--r-- 1 root root 1609 Jan 22 13:34 /etc/grid-security/hostcert.pem
    -r-------- 1 root root 1077 Jan 22 13:33 /etc/grid-security/hostkey.pem
    
    $ ls -l /etc/grid-security/dpmmgr/
    total 8
    -rw-r--r-- 1 dpmmgr dpmmgr 1609 Jan 22 13:34 dpmcert.pem
    -r-------- 1 dpmmgr dpmmgr 1077 Jan 22 13:33 dpmkey.pem
    
    $ ls -l /var/lib/ldap/.globus/
    total 8
    -rw-r--r-- 1 ldap ldap 1609 Jan 22 13:34 usercert.pem
    -r-------- 1 ldap ldap 1077 Jan 22 13:33 userkey.pem
    
    $ ls -l /home/edginfo/.globus/
    total 8
    -rw-r--r-- 1 edginfo edginfo 1609 Jan 22 13:34 usercert.pem
    -r-------- 1 edginfo edginfo 1077 Jan 22 13:33 userkey.pem
    
    $ ls -l /home/edguser/.globus/
    total 8
    -rw-r--r-- 1 edguser edguser 1609 Jan 22 13:34 usercert.pem
    -r-------- 1 edguser edguser 1077 Jan 22 13:33 userkey.pem
    
  • Posted: 2013-03-18 11:19 (Updated: 2017-03-30 13:25)
  • Author: carlos
  • Categories: (none)
  • Comments (307)

The new Specs-Euporias Data Portal

Please drop her all your comments.

  • Posted: 2013-03-15 18:03
  • Author: antonio
  • Categories: (none)
  • Comments (279)

Disk failed replacement in OpenIndiana

root@seal:~# cat /var/adm/messages
Feb 16 10:55:50 seal scsi: [ID 365881 kern.info] /pci@7a,0/pci8086,340e@7/pci1000,3080@0 (mpt_sas2):
Feb 16 10:55:50 seal    Log info 0x31080000 received for target 22.
Feb 16 10:55:50 seal    scsi_status=0x0, ioc_status=0x804b, scsi_state=0x0
Feb 16 11:01:29 seal scsi: [ID 107833 kern.warning] WARNING: /pci@7a,0/pci8086,340e@7/pci1000,3080@0 (mpt_sas2):
Feb 16 11:01:29 seal    Disconnected command timeout for Target 22
Feb 16 11:01:29 seal scsi: [ID 365881 kern.info] /pci@7a,0/pci8086,340e@7/pci1000,3080@0 (mpt_sas2):
Feb 16 11:01:29 seal    Log info 0x31140000 received for target 22.
Feb 16 11:01:29 seal    scsi_status=0x0, ioc_status=0x8048, scsi_state=0xc
Feb 16 11:01:29 seal scsi: [ID 365881 kern.info] /pci@7a,0/pci8086,340e@7/pci1000,3080@0 (mpt_sas2):
Feb 16 11:01:29 seal    Log info 0x31140000 received for target 22.
Feb 16 11:01:29 seal    scsi_status=0x0, ioc_status=0x8048, scsi_state=0xc
Feb 16 11:01:29 seal scsi: [ID 365881 kern.info] /pci@7a,0/pci8086,340e@7/pci1000,3080@0 (mpt_sas2):
Feb 16 11:01:29 seal    Log info 0x31140000 received for target 22.
Feb 16 11:01:29 seal    scsi_status=0x0, ioc_status=0x8048, scsi_state=0xc
Feb 16 11:01:29 seal scsi: [ID 365881 kern.info] /pci@7a,0/pci8086,340e@7/pci1000,3080@0 (mpt_sas2):
Feb 16 11:01:29 seal    Log info 0x31140000 received for target 22.
Feb 16 11:01:29 seal    scsi_status=0x0, ioc_status=0x8048, scsi_state=0xc
Feb 16 11:01:29 seal scsi: [ID 365881 kern.info] /pci@7a,0/pci8086,340e@7/pci1000,3080@0 (mpt_sas2):
Feb 16 11:01:29 seal    Log info 0x31140000 received for target 22.
Feb 16 11:01:29 seal    scsi_status=0x0, ioc_status=0x8048, scsi_state=0xc
Feb 16 11:01:29 seal scsi: [ID 365881 kern.info] /pci@7a,0/pci8086,340e@7/pci1000,3080@0 (mpt_sas2):
Feb 16 11:01:29 seal    Log info 0x31140000 received for target 22.
Feb 16 11:01:29 seal    scsi_status=0x0, ioc_status=0x8048, scsi_state=0xc
Feb 16 11:01:29 seal scsi: [ID 365881 kern.info] /pci@7a,0/pci8086,340e@7/pci1000,3080@0 (mpt_sas2):
Feb 16 11:01:29 seal    Log info 0x31140000 received for target 22.
Feb 16 11:01:29 seal    scsi_status=0x0, ioc_status=0x8048, scsi_state=0xc
Feb 16 11:01:59 seal scsi: [ID 107833 kern.warning] WARNING: /pci@7a,0/pci8086,340e@7/pci1000,3080@0 (mpt_sas2):
Feb 16 11:01:59 seal    passthrough command timeout
Feb 16 11:02:01 seal scsi: [ID 365881 kern.info] /pci@7a,0/pci8086,340e@7/pci1000,3080@0 (mpt_sas2):
Feb 16 11:02:01 seal    mpt2 Firmware version v14.0.0.0 (?)
Feb 16 11:02:01 seal scsi: [ID 365881 kern.info] /pci@7a,0/pci8086,340e@7/pci1000,3080@0 (mpt_sas2):
Feb 16 11:02:01 seal    mpt2: IOC Operational.
Feb 16 11:03:46 seal scsi_vhci: [ID 734749 kern.warning] WARNING: vhci_scsi_reset 0x1
root@seal:~# iostat -xne
                            extended device statistics       ---- errors ---
    r/s    w/s   kr/s   kw/s wait actv wsvc_t asvc_t  %w  %b s/w h/w trn tot device
  129.2    8.0 2325.4   25.6  0.0  0.8    0.0    6.2   0  18   0   0   0   0 c2t5000CCA369C5A420d0
   88.7    4.9 1923.5   22.8  0.0  0.4    0.0    4.4   0  10   0   0   0   0 c2t5000CCA369C59910d0
  129.1    8.0 2325.7   25.6  0.0  0.9    0.0    6.2   0  18   0   0   0   0 c2t5000CCA369C5A432d0
  115.3    4.3 2088.5   30.0  0.0  0.6    0.0    5.1   0  13   0   0   0   0 c2t5000CCA369C5A374d0
  115.4    4.3 2087.8   30.0  0.0  0.6    0.0    5.0   0  13   0   0   0   0 c2t5000CCA369C59954d0
  115.8    6.6 2098.5   24.9  0.0  0.6    0.0    5.1   0  14   0   0   0   0 c2t5000CCA369C54C04d0
  129.2    8.0 2325.4   25.6  0.0  0.8    0.0    6.2   0  18   0   0   0   0 c2t5000CCA369C52E05d0
  129.2    8.0 2325.4   25.6  0.0  0.8    0.0    6.2   0  18   0   0   0   0 c2t5000CCA369C5A416d0
  115.8    6.5 2098.0   24.9  0.0  0.6    0.0    5.2   0  14   0   0   0   0 c2t5000CCA369C55766d0
  115.2    4.3 2087.5   30.0  0.0  0.6    0.0    5.1   0  13   0   0   0   0 c2t5000CCA369C5A407d0
  115.4    6.6 2099.5   25.0  0.0  0.6    0.0    5.2   0  14   0   0   0   0 c2t5000CCA369C598A7d0
   88.5    5.0 1923.9   22.9  0.0  0.4    0.0    4.2   0   9   0   0   0   0 c2t5000CCA369C59907d0
  115.5    4.3 2085.9   30.0  0.0  0.6    0.0    5.0   0  13   0   0   0   0 c2t5000CCA369C5A409d0
  129.0    8.0 2326.2   25.6  0.0  0.9    0.0    6.2   0  18   0   0   0   0 c2t5000CCA369C5C19Ad0
  115.6    6.6 2099.1   25.0  0.0  0.6    0.0    5.2   0  14   0   3   7  10 c2t5000CCA369C554CAd0
    0.0   15.9    0.6  720.7  0.0  0.0    0.0    1.4   0   0   0   0   0   0 c2t5E83A974348B629Ad0
  115.8    6.6 2098.1   24.9  0.0  0.6    0.0    5.1   0  14   0   0   0   0 c2t5000CCA369C599ACd0
  115.0    4.3 2089.8   30.0  0.0  0.6    0.0    5.1   0  13   0   0   0   0 c2t5000CCA369C5A42Dd0
  115.4    4.3 2088.2   30.0  0.0  0.6    0.0    5.1   0  13   0   0   0   0 c2t5000CCA369C5A41Dd0
   88.4    5.0 1923.7   22.9  0.0  0.4    0.0    4.2   0   9   0   5   4   9 c2t5000CCA369C5190Dd0
    6.2   11.5   37.1  107.8  0.0  0.2    0.0   11.0   0   5   0   0   0   0 c3t0d0
   17.2    7.7  391.7  776.1  0.0  0.1    0.0    2.4   0   1   0   0   0   0 c5t2d0
   85.9    5.4 1913.6   26.1  0.0  0.5    0.0    5.0   0  11   0   0   0   0 c5t3d0
   85.1    5.5 1908.9   26.2  0.0  0.5    0.0    5.1   0  11   0   0   0   0 c5t4d0
  119.8    9.4 2361.0   30.7  0.0  1.0    0.0    8.1   0  21   0   0   0   0 c5t5d0
  120.1    9.4 2360.0   30.7  0.0  1.0    0.0    8.1   0  20   0   0   0   0 c5t6d0
  120.1    9.4 2360.1   30.7  0.0  1.0    0.0    8.0   0  20   0   0   0   0 c5t7d0
  104.8    6.0 2257.4   38.1  0.0  0.8    0.0    7.0   0  16   0   0   0   0 c5t8d0
  104.8    6.0 2257.5   38.1  0.0  0.8    0.0    6.9   0  16   0   0   0   0 c5t9d0
  104.5    5.9 2258.6   38.1  0.0  0.8    0.0    7.1   0  16   0   0   0   0 c5t10d0
  104.8    5.9 2257.5   38.1  0.0  0.8    0.0    6.9   0  16   0   0   0   0 c5t11d0
   94.2    5.4 1884.4   26.1  0.0  0.3    0.0    3.3   0   8   0   0   0   0 c5t12d0
   85.3    5.5 1927.2   26.2  0.0  0.5    0.0    5.3   0  11   0   0   0   0 c3t1d0
  138.1    8.0 2296.1   25.6  0.0  0.7    0.0    4.7   0  15   0  81   0  81 c2t5000CCA369C508E0d0
   85.2    5.5 1909.0   26.2  0.0  0.5    0.0    5.1   0  11   0   0   0   0 c3t3d0
   85.7    5.5 1925.7   26.2  0.0  0.5    0.0    5.1   0  11   0   0   0   0 c3t4d0
   18.3    7.6  378.7  774.8  0.0  0.1    0.0    2.3   0   1   0   0   0   0 c3t5d0
  103.9    5.9 2260.3   38.1  0.0  0.8    0.0    7.1   0  16   0   0   0   0 c3t6d0
   85.5    5.5 1926.5   26.2  0.0  0.5    0.0    5.3   0  11   0   0   0   0 c3t7d0
   85.1    5.5 1909.5   26.2  0.0  0.5    0.0    5.2   0  11   0   0   0   0 c3t8d0
   85.2    5.4 1916.0   26.1  0.0  0.5    0.0    5.2   0  11   0   0   0   0 c3t9d0
  119.6    9.3 2362.0   30.7  0.0  1.1    0.0    8.2   0  21   0   0   0   0 c3t10d0
  119.9    9.3 2361.3   30.7  0.0  1.1    0.0    8.2   0  21   0   0   0   0 c3t11d0
  119.6    9.4 2362.4   30.7  0.0  1.1    0.0    8.2   0  21   0   0   0   0 c3t12d0
  120.0    9.4 2361.2   30.8  0.0  1.1    0.0    8.2   0  21   0   0   0   0 c3t13d0
  119.8    9.4 2361.8   30.8  0.0  1.1    0.0    8.3   0  21   0   0   0   0 c3t14d0
  119.3    9.4 2363.7   30.8  0.0  1.1    0.0    8.4   0  21   0   0   0   0 c3t15d0
  119.6    9.3 2362.5   30.7  0.0  1.1    0.0    8.2   0  21   0   0   0   0 c3t16d0
  119.8    9.3 2361.7   30.7  0.0  1.1    0.0    8.2   0  21   0   0   0   0 c3t17d0
  103.5    5.9 2261.8   38.1  0.0  0.8    0.0    7.2   0  16   0   0   0   0 c3t18d0
  104.2    5.9 2259.4   38.1  0.0  0.8    0.0    7.0   0  16   0   0   0   0 c3t19d0
  103.7    5.9 2261.1   38.1  0.0  0.8    0.0    7.2   0  16   0   0   0   0 c3t20d0
  104.0    5.9 2260.2   38.1  0.0  0.8    0.0    7.0   0  16   0   0   0   0 c3t21d0
  103.9    5.9 2260.5   38.1  0.0  0.8    0.0    7.1   0  16   0   0   0   0 c3t22d0
  104.4    5.9 2259.0   38.1  0.0  0.8    0.0    7.0   0  16   0   0   0   0 c3t23d0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.4   0   0   0   0   0   0 c3t24d0
    0.0   15.9    0.6  720.7  0.0  0.0    0.0    1.0   0   0   0  92   0  92 c2t5E83A972B7F39C50d0
  125.0    6.6 2067.4   25.0  0.0  0.5    0.0    3.5   0  11   0  81   0  81 c2t5000CCA369C50370d0
   94.5    5.0 1901.5   22.9  0.0  0.3    0.0    2.6   0   7   0  76   0  76 c2t5000CCA369C47080d0
  124.4    4.4 2058.2   30.0  0.0  0.4    0.0    3.5   0  10   0  88   0  88 c2t5000CCA369C504D1d0
  124.6    6.6 2068.8   24.9  0.0  0.5    0.0    3.6   0  11   0  85   3  88 c2t5000CCA369C508E5d0
  138.2    8.0 2295.7   25.6  0.0  0.7    0.0    4.7   0  15   0  81   0  81 c2t5000CCA369C505D5d0
   94.4    4.9 1896.4   22.7  0.0  0.3    0.0    2.6   0   7   0  75   0  75 c2t5000CCA369C51558d0
  124.3    4.4 2058.7   30.0  0.0  0.4    0.0    3.5   0  10   0  88   0  88 c2t5000CCA369C4F888d0
  138.0    8.0 2296.2   25.6  0.0  0.7    0.0    4.8   0  15   0  81   0  81 c2t5000CCA369C508C9d0
  125.0    6.5 2066.8   24.9  0.0  0.5    0.0    3.5   0  11   0  81   0  81 c2t5000CCA369C50679d0
  138.2    8.0 2295.6   25.6  0.0  0.7    0.0    4.7   0  15   0  80   0  80 c2t5000CCA369C50609d0
   94.9    4.9 1899.6   22.8  0.0  0.3    0.0    2.7   0   7   0  74   0  74 c2t5000CCA369C5177Bd0
   94.9    4.9 1899.3   22.8  0.0  0.3    0.0    2.7   0   7   0  75   0  75 c2t5000CCA369C5084Bd0
  138.2    8.0 2295.8   25.6  0.0  0.7    0.0    4.7   0  15   0  81   0  81 c2t5000CCA369C506BBd0
  123.8    4.3 2061.0   30.0  0.0  0.5    0.0    3.6   0  11   0  88   0  88 c2t5000CCA369C4E90Bd0
  124.8    6.6 2068.0   24.9  0.0  0.5    0.0    3.5   0  11   0  81   0  81 c2t5000CCA369C509ECd0
  124.6    6.6 2068.8   25.0  0.0  0.5    0.0    3.5   0  11   0  80   0  80 c2t5000CCA369C508ECd0
   94.5    4.9 1896.1   22.7  0.0  0.3    0.0    2.6   0   7   0  75   0  75 c2t5000CCA369D347CEd0
  124.7    6.5 2068.2   24.9  0.0  0.5    0.0    3.5   0  11   0  81   0  81 c2t5000CCA369C5026Ed0
   94.6    4.9 1895.8   22.7  0.0  0.3    0.0    2.6   0   7   0  75   0  75 c2t5000CCA369C5178Fd0
  124.2    4.4 2059.3   30.0  0.0  0.5    0.0    3.5   0  10   0  88   0  88 c2t5000CCA369C50F1Fd0
  138.1    8.0 2295.7   25.6  0.0  0.7    0.0    4.7   0  15   0  81   0  81 c2t5000CCA369C506AFd0
  123.0    4.3 2044.5   30.0  0.1  0.8    0.7    6.1   2  16   0 1903 4197 6100 c2t5000CCA369C50680d0
    5.6   11.5   43.5  107.8  0.0  0.2    0.0   11.0   0   5   0   0   0   0 c5t1d0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0   0   0   1   0   0   1 c2t50014EE205B5C957d0
    0.3   27.7    1.4 2277.8  0.0  1.1    0.0   37.5   0  11   0   0   0   0 c2t5000CCA37DC58190d0
    0.3   27.8    1.4 2277.7  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC53370d0
    0.3   27.8    1.4 2277.8  0.0  1.1    0.0   37.3   0  11   0   0   0   0 c2t5000CCA37DC56E70d0
    0.3   27.8    1.4 2276.9  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC60F80d0
    0.3   27.8    1.3 2277.8  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC5FCB0d0
    0.3   27.8    1.4 2277.0  0.0  1.0    0.0   37.3   0  11   0   0   0   0 c2t5000CCA37DC60DA0d0
    0.4   27.8    1.7 2277.8  0.0  1.0    0.0   37.1   0  11   0   0   0   0 c2t5000CCA37DC55170d0
    0.3   27.7    1.4 2277.0  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC60AA1d0
    0.3   27.7    1.4 2277.9  0.0  1.1    0.0   37.5   0  11   0   0   0   0 c2t5000CCA37DC5F9B1d0
    0.3   27.8    1.4 2277.8  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC52AC1d0
    0.3   27.7    1.4 2277.6  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC5F831d0
    0.3   27.7    1.4 2277.7  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC55121d0
    0.3   27.8    1.4 2277.1  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC60C21d0
    0.3   27.8    1.4 2277.6  0.0  1.1    0.0   37.3   0  11   0   0   0   0 c2t5000CCA37DC31681d0
    0.3   27.8    1.3 2277.9  0.0  1.0    0.0   37.3   0  11   0   0   0   0 c2t5000CCA37DC60F61d0
    0.3   27.8    1.3 2277.8  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC5FEC1d0
    0.3   27.7    1.4 2277.8  0.0  1.1    0.0   37.5   0  11   0   0   0   0 c2t5000CCA37DC53322d0
    0.3   27.7    1.4 2277.9  0.0  1.1    0.0   37.5   0  11   0   0   0   0 c2t5000CCA37DC5FAD2d0
    0.3   27.8    1.4 2277.7  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC350B2d0
    0.3   27.8    1.4 2277.8  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC59312d0
    0.3   27.8    1.4 2277.7  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC56F33d0
    0.3   27.8    1.4 2277.7  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC5E303d0
    0.3   27.8    1.4 2277.0  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC59433d0
    0.3   27.8    1.5 2277.0  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC5E343d0
    0.3   27.7    1.4 2277.0  0.0  1.1    0.0   37.5   0  11   0   0   0   0 c2t5000CCA37DC60AD4d0
    0.3   27.8    1.4 2277.9  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC5FDA4d0
    0.3   27.8    1.4 2277.8  0.0  1.1    0.0   37.3   0  11   0   0   0   0 c2t5000CCA37DC60D34d0
    0.4   27.8    1.7 2277.0  0.0  1.1    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC4C814d0
    0.3   27.8    1.4 2277.9  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC5FEB4d0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.6   0   0   0   0   0   0 c2t5000CCA37DC53385d0
    0.3   27.7    1.4 2277.1  0.0  1.1    0.0   37.5   0  11   0   0   0   0 c2t5000CCA37DC61E25d0
    0.3   27.7    1.4 2277.8  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC5FB35d0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.6   0   0   0   0   0   0 c2t5000CCA37DC53395d0
    0.4   27.8    1.8 2278.0  0.0  1.1    0.0   37.3   0  11   0   0   0   0 c2t5000CCA37DC56FB5d0
    0.3   27.8    1.4 2277.9  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC60345d0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.5   0   0   0   0   0   0 c2t5000CCA37DC5FF35d0
    0.3   27.8    1.4 2277.8  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC53335d0
    0.3   27.7    1.4 2277.0  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC53296d0
    0.3   27.8    1.4 2277.6  0.0  1.0    0.0   37.3   0  11   0   0   0   0 c2t5000CCA37DC58926d0
    0.3   27.8    1.3 2277.8  0.0  1.0    0.0   37.3   0  11   0   0   0   0 c2t5000CCA37DC58956d0
    0.3   27.8    1.4 2277.6  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC28966d0
    0.3   27.8    1.4 2277.8  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC5FF06d0
    0.3   27.8    1.4 2277.0  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC56D06d0
    0.3   27.8    1.4 2278.0  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC58576d0
    0.3   27.8    1.4 2277.7  0.0  1.1    0.0   37.3   0  11   0   0   0   0 c2t5000CCA37DC5FCA7d0
    0.3   27.8    1.4 2277.0  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC4C877d0
    0.3   27.7    1.4 2277.6  0.0  1.1    0.0   37.5   0  11   0   0   0   0 c2t5000CCA37DC532C8d0
    0.3   27.7    1.4 2277.0  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC60368d0
    0.3   27.8    1.4 2277.8  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC5FC58d0
    0.3   27.8    1.4 2277.0  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC5FDB8d0
    0.3   27.8    1.4 2276.9  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC57008d0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.6   0   0   0   0   0   0 c2t5000CCA37DC4FD78d0
    0.3   27.7    1.4 2277.0  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC60CB9d0
    0.4   27.8    1.5 2277.0  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC59489d0
    0.3   27.7    1.4 2277.0  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC3519Ad0
    0.3   27.8    1.4 2278.0  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC5F76Ad0
    0.3   27.7    1.4 2277.9  0.0  1.1    0.0   37.5   0  11   0   0   0   0 c2t5000CCA37DC619DAd0
    0.3   27.7    1.5 2277.1  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC5BBAAd0
    0.4   27.8    1.5 2277.1  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC5881Ad0
    0.3   27.7    1.5 2277.1  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC5E18Ad0
    0.3   27.8    1.5 2277.2  0.0  1.0    0.0   37.3   0  11   0   0   0   0 c2t5000CCA37DC5FF0Ad0
    0.3   27.8    1.3 2277.9  0.0  1.0    0.0   37.3   0  11   0   0   0   0 c2t5000CCA37DC57FCAd0
    0.3   27.8    1.4 2277.7  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC56D0Ad0
    0.3   27.7    1.3 2278.0  0.0  1.1    0.0   37.5   0  11   0   0   0   0 c2t5000CCA37DC5889Bd0
    0.3   27.7    1.4 2277.7  0.0  1.1    0.0   37.5   0  11   0   0   0   0 c2t5000CCA37DC581EBd0
    0.3   27.7    1.5 2277.1  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC5F9FBd0
    0.3   27.7    1.4 2277.8  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC61D8Bd0
    0.3   27.8    1.4 2277.7  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC60CCBd0
    0.3   27.8    1.4 2277.8  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC5FEABd0
    0.3   27.8    1.3 2277.8  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC602FCd0
    0.4   27.8    1.7 2277.9  0.0  1.1    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC60E7Cd0
    0.3   27.8    1.4 2277.8  0.0  1.1    0.0   37.3   0  11   0   0   0   0 c2t5000CCA37DC6032Cd0
    0.3   27.8    1.4 2277.7  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC5FD7Cd0
    0.3   27.8    1.3 2278.0  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC5335Cd0
    0.3   27.7    1.4 2277.8  0.0  1.1    0.0   37.5   0  11   0   0   0   0 c2t5000CCA37DC61D7Dd0
    0.3   27.8    1.4 2277.7  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC61D6Dd0
    0.4   27.7    1.7 2277.0  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC6172Dd0
    0.4   27.7    1.5 2277.1  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC5891Dd0
    0.3   27.8    1.4 2277.0  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC4B7BDd0
    0.3   27.8    1.4 2277.9  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC56E8Dd0
    0.3   27.7    1.3 2277.9  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC532CEd0
    0.4   27.8    1.5 2277.8  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC6275Ed0
    0.3   27.7    1.4 2277.7  0.0  1.1    0.0   37.5   0  11   0   0   0   0 c2t5000CCA37DC59DAEd0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.6   0   0   0   0   0   0 c2t5000CCA37DC56D8Ed0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.6   0   0   0   0   0   0 c2t5000CCA37DC5336Ed0
    0.3   27.8    1.4 2277.0  0.0  1.1    0.0   37.4   0  11   0   0   0   0 c2t5000CCA37DC5FC4Ed0
    0.4   27.7    1.7 2277.0  0.0  1.1    0.0   37.3   0  11   0   0   0   0 c2t5000CCA37DC60CAFd0
    0.3   27.8    1.4 2277.9  0.0  1.1    0.0   37.3   0  11   0   0   0   0 c2t5000CCA37DC60FBFd0
    0.3   27.8    1.4 2277.7  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC56FEFd0
    0.3   27.8    1.4 2277.7  0.0  1.0    0.0   37.2   0  11   0   0   0   0 c2t5000CCA37DC4B46Fd0
root@seal:~# zpool offline oceano c2t5000CCA369C50680d0
root@seal:~# zpool replace oceano c2t5000CCA369C50680d0 c3t24d0
root@seal:~$ zpool status oceano
  pool: oceano
 state: DEGRADED
status: One or more devices is currently being resilvered.  The pool will
        continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
  scan: resilver in progress since Sat Feb 16 11:06:51 2013
    23.3G scanned out of 128T at 15.5M/s, (scan is slow, no estimated time)
    13.7M resilvered, 0.02% done
config:

        NAME                         STATE     READ WRITE CKSUM
        oceano                       DEGRADED     0     0     0
          raidz2-0                   ONLINE       0     0     0
            c2t5000CCA369C5A416d0    ONLINE       0     0     0
            c2t5000CCA369C5A420d0    ONLINE       0     0     0
            c2t5000CCA369C5A432d0    ONLINE       0     0     0
            c2t5000CCA369C505D5d0    ONLINE       0     0     0
            c2t5000CCA369C506AFd0    ONLINE       0     0     0
            c2t5000CCA369C506BBd0    ONLINE       0     0     0
            c2t5000CCA369C5C19Ad0    ONLINE       0     0     0
            c2t5000CCA369C508C9d0    ONLINE       0     0     0
            c2t5000CCA369C52E05d0    ONLINE       0     0     0
            c2t5000CCA369C508E0d0    ONLINE       0     0     0
            c2t5000CCA369C50609d0    ONLINE       0     0     0
          raidz2-1                   ONLINE       0     0     0
            c5t5d0                   ONLINE       0     0     0
            c5t6d0                   ONLINE       0     0     0
            c5t7d0                   ONLINE       0     0     0
            c3t10d0                  ONLINE       0     0     0
            c3t11d0                  ONLINE       0     0     0
            c3t12d0                  ONLINE       0     0     0
            c3t13d0                  ONLINE       0     0     0
            c3t14d0                  ONLINE       0     0     0
            c3t15d0                  ONLINE       0     0     0
            c3t16d0                  ONLINE       0     0     0
            c3t17d0                  ONLINE       0     0     0
          raidz2-2                   ONLINE       0     0     0
            c5t8d0                   ONLINE       0     0     0
            c5t9d0                   ONLINE       0     0     0
            c5t10d0                  ONLINE       0     0     0
            c5t11d0                  ONLINE       0     0     0
            c3t6d0                   ONLINE       0     0     0
            c3t18d0                  ONLINE       0     0     0
            c3t19d0                  ONLINE       0     0     0
            c3t20d0                  ONLINE       0     0     0
            c3t21d0                  ONLINE       0     0     0
            c3t22d0                  ONLINE       0     0     0
            c3t23d0                  ONLINE       0     0     0
          raidz2-3                   DEGRADED     0     0     0
            c2t5000CCA369C5A41Dd0    ONLINE       0     0     0
            c2t5000CCA369C4E90Bd0    ONLINE       0     0     0
            c2t5000CCA369C5A42Dd0    ONLINE       0     0     0
            c2t5000CCA369C4F888d0    ONLINE       0     0     0
            c2t5000CCA369C5A374d0    ONLINE       0     0     0
            c2t5000CCA369C50F1Fd0    ONLINE       0     0     0
            c2t5000CCA369C5A407d0    ONLINE       0     0     0
            spare-7                  OFFLINE      0     0     0
              c2t5000CCA369C50680d0  OFFLINE      0     0     0
              c3t24d0                ONLINE       0     0     0  (resilvering)
            c2t5000CCA369C5A409d0    ONLINE       0     0     0
            c2t5000CCA369C504D1d0    ONLINE       0     0     0
            c2t5000CCA369C59954d0    ONLINE       0     0     0
          raidz2-4                   ONLINE       0     0     0
            c2t5000CCA369C55766d0    ONLINE       0     0     0
            c2t5000CCA369C508E5d0    ONLINE       0     0     0
            c2t5000CCA369C54C04d0    ONLINE       0     0     0
            c2t5000CCA369C508ECd0    ONLINE       0     0     0
            c2t5000CCA369C554CAd0    ONLINE       0     0     0
            c2t5000CCA369C50370d0    ONLINE       0     0     0
            c2t5000CCA369C598A7d0    ONLINE       0     0     0
            c2t5000CCA369C509ECd0    ONLINE       0     0     0
            c2t5000CCA369C599ACd0    ONLINE       0     0     0
            c2t5000CCA369C5026Ed0    ONLINE       0     0     0
            c2t5000CCA369C50679d0    ONLINE       0     0     0
          raidz2-5                   ONLINE       0     0     0
            c2t5000CCA369D347CEd0    ONLINE       0     0     0
            c2t5000CCA369C5084Bd0    ONLINE       0     0     0
            c2t5000CCA369C5190Dd0    ONLINE       0     0     0
            c2t5000CCA369C51558d0    ONLINE       0     0     0
            c2t5000CCA369C5177Bd0    ONLINE       0     0     0
            c2t5000CCA369C59907d0    ONLINE       0     0     0
            c2t5000CCA369C5178Fd0    ONLINE       0     0     0
            c2t5000CCA369C59910d0    ONLINE       0     0     0
            c2t5000CCA369C47080d0    ONLINE       0     0     0
          raidz2-6                   ONLINE       0     0     0
            c5t4d0                   ONLINE       0     0     0
            c5t12d0                  ONLINE       0     0     0
            c3t7d0                   ONLINE       0     0     0
            c3t8d0                   ONLINE       0     0     0
            c3t9d0                   ONLINE       0     0     0
            c3t1d0                   ONLINE       0     0     0
            c3t3d0                   ONLINE       0     0     0
            c5t3d0                   ONLINE       0     0     0
            c3t4d0                   ONLINE       0     0     0
        logs
          mirror-7                   ONLINE       0     0     0
            c2t5E83A972B7F39C50d0    ONLINE       0     0     0
            c2t5E83A974348B629Ad0    ONLINE       0     0     0
        cache
          c5t2d0                     ONLINE       0     0     0
          c3t5d0                     ONLINE       0     0     0
        spares
          c3t24d0                    INUSE     currently in use

errors: No known data errors

And now we locate the disk following the instructions on DiskLocationOpenindiana

root@seal:~# sg_inq -u /dev/rdsk/c2t5000CCA369C50680d0
SCSI_IDENT_LUN_NAA=5000cca369c50680
SCSI_IDENT_PORT_NAA=5003048001155a4c
SCSI_IDENT_PORT_RELATIVE=1
root@seal:~# sg_inq -u /dev/es/ses2
SCSI_IDENT_PORT_NAA=5003048001155a7d
SCSI_IDENT_LUN_NAA=5003048001155a7d
root@seal:~# sg_ses -I 0,0 -p aes /dev/es/ses2
  LSI CORP  SAS2X36           0717
  Primary enclosure logical identifier (hex): 5003048001155a7f
Additional element status diagnostic page:
  generation code: 0x0
  additional element status descriptor list
      Element index: 0
        Transport protocol: SAS
        number of phys: 1, not all phys: 0, device slot number: 0
        phy index: 0
          device type: no device attached
          initiator port for:
          target port for: SATA_device
          attached SAS address: 0x5003048001155a7f
          SAS address: 0x5003048001155a4c
          phy identifier: 0x0
root@seal:~# sg_ses -I 0,0 --set=fault /dev/es/ses2
root@seal:~# sg_ses -I 0,0 --get=fault /dev/es/ses2
1