Table of Contents
This article describes how to mount the iSCSI storage of a moonshot in rescue mode.
Note: Information about IP, user name as well as password of the iSCSI storage, can be found in the ZKM under the item "Network hard disk".
1. add internal IP in /etc/network/interfaces
iface eth0:0 inet static
2. start up internal IP
3. install open-iscsi
apt-get install open-iscsi -y
4. Check /etc/iscsi/iscsid.conf file
The following entries are checked in the file:
node.startup = automatic
node.session.auth.authmethod = CHAP
5. Testing the connection to the storage
ping -c 3
6. Restart Open-iSCSI
7. Login to the storage
iscsiadm -m discovery -t sendtargets -p
iscsiadm -m node --login
You should now be able to see the storage with fdisk -l .
8. Mount storage to /mnt
mount /dev/sdb1 /storage
If no sda was displayed with "fdisk -l", the specification in the mount command is not "sdb1" but "sda1".