6.5 HP StoreAll OS User Guide

Finding the corresponding object ID from a hash name
NOTE: These steps are for someone with administrator privileges.
The HTTP StoreAll REST API object mode saves files on files system with hashed names which are
generated while uploading objects/files and not with their actual name, specified by the user
during their initial uploading.
In the steps below, assume your user name is jsmith, and that you know the location of the hash
reference to which you want to find the corresponding file name.
To obtain the corresponding object ID string name from a hash name:
1. To find the directory path of the HTTP share, enter the following command:
ibrix_httpshare -l -f ibrixFS
The directory path of the HTTP share is under the Path column, and the URL Path is under the
URL Path column.
2. Go to the directory path of the HTTP share by entering the following command:
[root@bv07-07 3ca]#cd /ibrixFS/objectStore/
In the following example, /ibrixFS/objectStore/ is the directory path of the HTTP Object
Mode API share defined for the ibrixFS file system.
3. View the contents of the /ibrixFS/objectStore/ directory by entering the following
command:
[root@bv07-07 objectStore]# ls -l
The following is displayed:
total 12
drwxrwxrwx 3 jsmith objectapi_group 4096 Dec 7 15:43 2003
drwxrwxrwx 3 ENAS\user1 ENAS\domain^users 4096 Dec 7 14:54 367002807
In this example, 2003 is the owner user ID of the user jsmith and 367002807 is the Active
Directory ID of another user (user1) in the ENAS domain. To find the user ID of a local user,
enter the command:
ibrix_localusers -l -u <username>
To find the user ID of an AD or LDAP user, contact the AD or LDAP servers.
4. Go to the 2003 directory because it references the user jsmith.
[root@bv07-07 objectStore]# cd 2003
5. List the contents of the 2003 directory:
[root@bv07-07 2003]# ls -l
total 4 drwx------ 3 jsmith objectapi_group 4096 Dec 7 15:49
newcontainer
In this instance newcontainer is the name of the container containing the hash reference.
All items from this directory level down are a hash reference.
6. Go to the container containing the hash name for the object that you want to find the
corresponding file name:
[root@bv07-07 2003]# cd newcontainer
210 HTTP-REST API object mode shares