45c093a158a5d09b5286b0ba838bb586924ebd2b
[mirror/dsa-wiki.git] / input / howto / export-iscsi.creole
1 = Export iSCSI with gustini =
2 This document describes how to add new new volumes on gustini and add them into the OS.
3 {{{
4 * Log into gustini via webfrontend
5 * Manage
6   + Volume Management
7     - add volume 
8       add volume size and name but leave LUN blank (NONE)
9     - volume mapping
10       find the next free scsi-lun
11       * run "multipathd -k" on dijkstra
12         + show topology
13         geo2-boot (3600c0ff000d5f6bde2d4cf4901000000) dm-7 HP      ,MSA2012i      
14         [size=245M][features=0][hwhandler=0]
15         \_ round-robin 0 [prio=0][active]
16          \_ 1:0:0:1 sda 8:0   [active][ready]
17          \_ 0:0:0:1 sdb 8:16  [active][ready]
18                   ^ that is the LUN
19       find the next unused one and map it
20   + on dijkstra: rescan the iscsi bus
21     iscsiadm -m node --targetname "iqn.1986-03.com.hp:storage.msa2012i.0834d5ecda.a" --rescan
22
23   + on dijkstra: add aliases to the wwids (show topology)
24   + on dijkstra: /etc/init.d/multipath-tools reload
25 }}}