How can I mount a Moonshot Storage (iSCSI) in the Rescue?

 

Explanation

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

auto eth0:0
iface eth0:0 inet static
address
netmask 255.255.252.0

 

2. start up internal IP

ifup eth0:0

 

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
node.session.auth.username =
node.session.auth.password =

 

5. Testing the connection to the storage

ping -c 3

 

6. Restart Open-iSCSI

/etc/init.d/open-iscsi restart

 

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".

You cannot comment on this entry