diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2009-10-11 21:22:30 -0500 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2009-10-11 21:22:30 -0500 |
commit | 333f720ded74ab96281157d538e864682cbc5402 (patch) | |
tree | bb501ab5d039bb745415dd61d24bba40b3614ab5 /include | |
parent | ce63c33527a2ec22d9df4eda8b9e71cc7d325b9c (diff) | |
download | open-iscsi-333f720ded74ab96281157d538e864682cbc5402.tar.gz |
iscsiadm: fix discovery record use
iscsiadm is not using the discovery record settings. This has
iscsiadm -m discovery -t st -p ip:port
search for a discovery setting for ip:port. If found it will
use those values for discovery. Previously it would always
use the iscsid.conf settings.
To change the discovery settings for a record you can do
iscsiadm -m discovery -p ip:port -o update -n setting_name -v value
like in node mode.
Or you can completely remove the discovery record and targets found
through it by doing
iscsiadm -m discovery -p ip:port -o delete
then run the discovery command which will then use the iscsid.conf
values and create a new discovery record.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions