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