This shows you the differences between two versions of the page.
saisp:labs:06:contents:06 [2014/03/29 23:21] mihai.carabas [06. LIO backstore as a physical block device] |
saisp:labs:06:contents:06 [2014/03/30 00:26] (current) mihai.carabas [06. LIO backstore as a physical block device] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== 06. LIO backstore as a physical block device ==== | + | ==== 06. [20p] LIO backstore as a physical block device ==== |
Creați un ''backstore'' de tip physical device (Hint: ''iblock'') folosind discul ''/dev/sdb'' de pe stația ''storage1''. Asociați ''backstore''-ul creat cu un LUN și montați-l pe stația ''storage3''. Nu uitați să mapați IQN-ul stației ''storage3'' la noul LUN. | Creați un ''backstore'' de tip physical device (Hint: ''iblock'') folosind discul ''/dev/sdb'' de pe stația ''storage1''. Asociați ''backstore''-ul creat cu un LUN și montați-l pe stația ''storage3''. Nu uitați să mapați IQN-ul stației ''storage3'' la noul LUN. | ||
- | <note warning>Implicit, clientul creat de voi va avea acces la ambele LUN-uri. Permiteți accesul doar pentru LUN2.</note> | + | <note warning>Implicit, clientul creat de voi va avea acces la toate LUN-urile. Permiteți accesul doar pentru ''LUN 2''. Eliminați de asemenea ''LUN 2'' de la IQN-ul stației ''storage2''.</note> |
<solution -hidden> | <solution -hidden> | ||
- | <code> | + | <code bash> |
root@storage1:~# targetcli | root@storage1:~# targetcli | ||
/> cd backstores/iblock | /> cd backstores/iblock |