Asset ID: |
1-71-1437484.1 |
Update Date: | 2012-08-29 |
Keywords: | |
Solution Type
Technical Instruction Sure
Solution
1437484.1
:
Pillar Axiom: How to remove Axiom NAS file locks through Windows
Related Items |
- Pillar Axiom 300 Storage System
- Pillar Axiom 600 Storage System
- Pillar Axiom 500 Storage System
|
Related Categories |
- PLA-Support>Sun Systems>DISK>Pillar Axiom>SN-DK: Ax600
|
In this Document
Applies to:
Pillar Axiom 500 Storage System - Version Not Applicable to Not Applicable [Release N/A]
Pillar Axiom 600 Storage System - Version Not Applicable to Not Applicable [Release N/A]
Pillar Axiom 300 Storage System - Version Not Applicable to Not Applicable [Release N/A]
Information in this document applies to any platform.
Goal
This fix is available for AxiomOne 04.05.02 and higher running on the Axiom NAS storage array.
Fix
Way to remove stale locks on a file:
Example: Need to remove locks on a file z which path X:dir1/dir2/myfile . In the same directory as dir2 ie at X:dir1/dir2, there exists a directory called .attributes. List the directory of X:dir1/dir2/.attributes.
X:\dir1\dir2\.attributes>dir
Volume in drive X is fakelabel
Volume Serial Number is 0000-0002
Directory of X:\dir1\dir2\.attributes
09/20/2011 05:20 AM <DIR> .
09/20/2011 05:20 AM <DIR> ..
02/25/2011 06:23 PM 1,024 myfile.XML
1 File(s) 1,464 bytes
2 Dir(s) 483,172,352 bytes free
In this path, you will see a file named myfile.xml. Open the this file in notepad /wordpad or in perferred xml editor. Editing the file will result in the following example output:
<?xml version="1.0"?>
<ATTRIBUTES>
<PDSVERSION>2.0</PDSVERSION>
<Immutable>0</Immutable>
<Expired>0</Expired>
<RecordIntegrity>0</RecordIntegrity>
<CreationTime>1316521232</CreationTime>
<ImmutableTime></ImmutableTime>
<ExpirationTime></ExpirationTime>
<IntegrityCheckTime></IntegrityCheckTime>
<InternalHashType>SHA-1</InternalHashType>
<InternalHashValue></InternalHashValue>
<ApplicationHashValue></ApplicationHashValue>
</ATTRIBUTES>
To unlock the file in this directory, add a tag as follows to the file
<ResetLocks></ResetLocks> .
Once complete, the file will looks as follows:
<?xml version="1.0"?>
<ATTRIBUTES>
<PDSVERSION>2.0</PDSVERSION>
<Immutable>0</Immutable>
<Expired>0</Expired>
<RecordIntegrity>0</RecordIntegrity>
<CreationTime>1316521232</CreationTime>
<ImmutableTime></ImmutableTime>
<ExpirationTime></ExpirationTime>
<IntegrityCheckTime></IntegrityCheckTime>
<InternalHashType>SHA-1</InternalHashType>
<InternalHashValue></InternalHashValue>
<ApplicationHashValue></ApplicationHashValue>
<ResetLocks></ResetLocks> .
</ATTRIBUTES>
Now save the file. In saving the file, the locks on the file X:dir1/dir2/myfile would be removed.
NOTE: The xml file is a synthetic file and it is not saved on disk. No need worry about removing the tag of the file which was added to the file. In addition, if one needs to remove the locks on the file again, please repeat the steps mentioned in this documentation.
Attachments
This solution has no attachment