2011-05-24 Spent some time working on an Ubuntu ser ... 9 years ago
Spent some time working on an Ubuntu server which has to be an iscsi initiator (it has to mount an iscsi lun from a netapp server). It took a bit of work to find all the right options to make the filesystem mount and unmount repeatedly and reliably. Lots of reading in Using iSCSI On Ubuntu 10.04 (Initiator And Target) - HowtoForge.
My two tips:
- Use the _netdev mountflag in fstab
- Making sure the session is started at boot:iscsiadm -m node -o update --targetname iqn.1992-08.com.netapp:sn.******** --name node.startup --value automatic