Unsolved
This post is more than 5 years old
5 Posts
0
1269
May 13th, 2009 12:00
Change iSCSI lun from read to read write
Hello
How do I change an iSCSI lun to r/w from read only? According to the help guide and select te lune--> porperties. then check or on check the read only box.
When I try that I do not have a check box. I am running dart 5.6.
Taken from the man pages
If selected, the LUN is read-only; otherwise the LUN is read/write. To change the status, select or clear the option, and then click Apply.
Thanks
a newbie
How do I change an iSCSI lun to r/w from read only? According to the help guide and select te lune--> porperties. then check or on check the read only box.
When I try that I do not have a check box. I am running dart 5.6.
Taken from the man pages
If selected, the LUN is read-only; otherwise the LUN is read/write. To change the status, select or clear the option, and then click Apply.
Thanks
a newbie
No Events found!


Rainer_EMC
6 Operator
•
8.6K Posts
0
May 13th, 2009 13:00
maybe your LUN is considered busy
this is from the server_iscsi CLI command:
-lun -modify -target -readonly {yes [-Force]|no}
Modifies a LUN by changing it to read-only or read/write. The LUN
cannot be a promoted snapshot. The -readonly no option converts
the specified read-only LUN into a read/write LUN (for example, to
change a replication destination LUN into a copy of the source LUN).
The -readonly yes option converts the specified read/write LUN to
read-only (for example, to prepare a replication source LUN for
failback). If the LUN¿s mask grants access to an iSCSI initiator, and
that initiator is logged in to the target that contains the LUN, the
-readonly yes option fails unless the -Force option is included.
I would either try to unmask the LUN or use the CLI with -Force
for example:
To change LUN 24 (a read-only replication destination LUN) on target t1 to a read/write LUN, type:
$ server_iscsi server_2 -lun -modify 24 -target t1 -readonly no