= Export iSCSI with gustini = This document describes how to add new new volumes on gustini and add them into the OS. == via Web-Frontend == {{{ * Log into gustini via webfrontend * Manage + Volume Management - add volume add volume size and name but leave LUN blank (NONE) - volume mapping find the next free scsi-lun * run "multipathd -k" on dijkstra + show topology geo2-boot (3600c0ff000d5f6bde2d4cf4901000000) dm-7 HP ,MSA2012i [size=245M][features=0][hwhandler=0] \_ round-robin 0 [prio=0][active] \_ 1:0:0:1 sda 8:0 [active][ready] \_ 0:0:0:1 sdb 8:16 [active][ready] ^ that is the LUN find the next unused one and map it + on dijkstra: rescan the iscsi bus iscsiadm -m node --targetname "iqn.1986-03.com.hp:storage.msa2012i.0834d5ecda.a" --rescan + on dijkstra: add aliases to the wwids (show topology) + on dijkstra: /etc/init.d/multipath-tools reload }}} == via telnet interface == {{{ * Log into gustini via telnet * create a new volume (eg berlioz-boot) on vdisk giustini-vdisk-1: + create volume vdisk giustini-vdisk-1 size 256MB berlioz-boot (there is a 'help create volume' command with lots of informations) * find the next free LUN numbers on traetta: + show host-maps traetta * map the new volume to traetta.debian.org, LUN 12 + map volume berlioz-boot lun 12 host traetta access rw (again, there is a 'help map volume' command with lots of informations) }}}