This post is more than 5 years old
5 Practitioner
•
274.2K Posts
0
13809
How to clear read-only attribute on directory ?
Although SyncIQ policy is deleted after failover&failback, read-only attribute remained on target dirctory.
It seems that syncIQ proccess did not complete correctly.
And
"isi domain list" displayed Incomplete entries as below.
//*************************************//
rdciq1-1# pwd
/ifs/sync/source1
rdciq1-1# touch bbb
touch: bbb: Read-only file system
rdciq1-1# isi domain ls
Root Path | Type
------------------+------------------
/ifs/sml/a1 | SmartLock
/ifs/sync/source1 | SyncIQ,Incomplete
/ifs/sync/source1 | Incomplete
rdciq1-1# isi version
Isilon OneFS v7.0.1.6 B_7_0_1_181(RELEASE): 0x7000150006000B5:Tue May 21 20:16:36 PDT 2013 root@fastbuild-04.west.isilon.com:/build/mnt/obj.RELEASE/build/mnt/src/sys/IQ.amd64.release
//*************************************//
Does anyone know how to clear read-only attribute on directories or delete domain entries forcibly ?
andypern
4 Posts
1
June 21st, 2013 08:00
(courtesy of knargi )
There have been instances where the R/O flag on a domain is not properly cleaned up after a SIQ policy is deleted. the various 'isi sync..' commands don't appear to solve this, so it may be necessary to manually remove the domain restriction from the directory in question.
Note, the following steps should ONLY be performed when under supervision by Isilon support and/or escalations:
SSH as root into the cluster in question run: isi domain list --long
You will get some output with all of the domain ID’s and it will tell you if its locked by smartlock or syncIQ.
isi domain list –long
ID | Root Path | Type | Override Ret. Date | Default Min. Ret.
------+-------------+-------------------+--------------------+------------------
65536 | /ifs/target | SyncIQ | None | None
Find the domain ID of the job that you want to remove and then run the following command
/usr/libexec/isilon/isi_domain –x
In this example
/usr/libexec/isilon/isi_domain –65536
That should clear the R/O flag on the directory, and allow R/W activity on the folder.
dynamox
2 Intern
2 Intern
•
20.4K Posts
1
June 13th, 2013 22:00
list local targets
isi sync target list -v
ID: 4a975a663f4b4a892eff277b003728a8
Policy Name: example
Target Dir: /ifs/data/qa
Source Information:
Cluster: isilonpoc
Cluster ID: 000c29c4820efc831651570e35913d079975
Last Coordinator IP: 127.0.0.1
Legacy Policy: No
Job Status: Success
Last Update: Sun Jun 2 16:35:17 2013
====
and then delete using ID
isi sync target break --policy=4a975a663f4b4a892eff277b003728a8
Anonymous
5 Practitioner
5 Practitioner
•
274.2K Posts
0
June 13th, 2013 23:00
Thanks for your reply.
There was no target list as follows.
===========
# isi sync target list -v
No policies listed in target database.
===========
So , I would like to delete phantom entries..
regards
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
June 14th, 2013 04:00
did you run it on source or target cluster ?
Anonymous
5 Practitioner
5 Practitioner
•
274.2K Posts
0
June 23rd, 2013 17:00
Thank you very much for your answer.
I could remove the read-only attribute by using
"/usr/libexec/isilon/isi_domain -x" .
regards sato
mkuhns1
19 Posts
0
October 16th, 2013 14:00
FYI - For me the solution from dynamox worked. The isi_domain command did this on my 7.0.2.4 cluster:
isiclus-02-1# /usr/libexec/isilon/isi_domain -65536
isi_domain: usage: isi_domain <-a lin>|<-[dilmrxw] dom>
isiclus-02-1#
...yes, my job ID was the same as in the example.
10GB7200
11 Posts
0
October 12th, 2016 01:00
The correct command should be: /usr/libexec/isilon/isi_domain -x -