Comment 6 for bug 641816

Revision history for this message
Vladyslav Shtabovenko (vl-sht) wrote :

This bug is still present in Ubuntu 11.04 but in a slightly different form. After resume the open-iscsi service is always stopped even though it was running before the suspend. After resume I have

$sudo service open-iscsi status
 * iscsid is not running

If you start it by hand and then login to your storage again
$sudo service open-iscsi start
 * Starting iSCSI initiator service iscsid [ OK ]
 * Setting up iSCSI targets [ OK ]
$sudo iscsiadm -m node --targetname "iqn-2011-09.com.mydomain:storage.seagate" --portal "192.168.4.43:3260" --login
Logging in to [iface: default, target: iqn-2011-09.com.mydomain:storage.seagate, portal: 192.168.4.43,3260]
Login to [iface: default, target: iqn-2011-09.com.mydomain:storage.seagate, portal: 192.168.4.43,3260]: successful
Everything works again. I believe that Ubuntu stops the service before a suspend but forget to start it after resume.