Happy New Year Guys.
First: I just did what you said TheR in post 50
My ruby script is exactly as you have given and yes without the [RUBY][/RUBY]
My persistent.names.conf looks like below:
I hope this is right as I replaced the "whatever".
Code:
iqn.2001-05.com.equallogic:0-8a0906-0ae6a3c0a-7c3d255954e4ede6-storage1;storage1;iscsi/static
iqn.2001-05.com.equallogic:0-8a0906-12b6a3c0a-24cd25595514ede6-storage2;storage2;iscsi/scripts
After running the iscsiadm command I got the below message:
Code:
sudo iscsiadm -m session -R
Rescanning session [sid: 1, target: iqn.2001-05.com.equallogic:0-8a0906-0ae6a3c0a-7c3d255954e4ede6-storage1, portal: 172.16.1.100,3260]
Rescanning session [sid: 2, target: iqn.2001-05.com.equallogic:0-8a0906-12b6a3c0a-24cd25595514ede6-storage2, portal: 172.16.1.100,3260]
Also I don't have a /dev/iscsi directory
EDIT: I just checked again after a reboot to the server. The mounting is fine and I have now got a /dev/iscsi folder but it only has one link there for static and not for scripts? also the link for static is to sdd which is scripts as sde is static but I did ls in those folders and static is sde and scripts is sdd. Is something wrong?
Bookmarks