OpenFiler Deployment [03]: How to create iSCSI partition and connection

Author:  Matt Song

Date:     2010/10/23

 

 

Go to service tab, enable iSCSI target server

OpenFiler Deployment [03]: How to create iSCSI partition and connection_第1张图片

 

Create iSCSI logic partition LUN

Go to Volumes tab, we can see the 'vmstorage' volume we just created. click 'add volume'

In this case, we create a LUN named 'lun01' with 50GB. DO remember to change the filesystem/volume type to 'iSCSI'. click 'create'

clip_image004

 

Enable IP network

Go to system tab, drop down the page, input the valid parameters for 'Network Access Configuration', in this case we named the network as 'VM' and use C class network address with /24 netmask.

clip_image006

 

Configure iSCSI parameter

Go to volumes tab, click 'iSCSI Targets', you gonna find a Target IQN String, this string is called 'iSCSI qualified number', it is an unique ID for each iSCSI. Now we should do is click 'add'

(If 'add' button is disabled, make sure you have enabled the 'iSCSI target server' service)

It's OK to use default setting, just click 'update'.

clip_image008

 

Now switch to LUN mapping. Click 'map'

clip_image010

 

Some information about 'write-thru' and 'write-back' on R/W mode from openfiler official forum:

Write-back would be better than write-through but should only be used when your system is on a UPS and is configured to shutdown automatically in the event of a power failure (or if performance is more important than possible data loss).

 

 

The next step is, go to Network ACL tab, change the access to 'allow' (the network is we just created), then click update.

clip_image012

 

The CHAP tab is used for make the system more safety, but in this case is useless, so we just ignore it.

 

For now, all the configuration have done. : )

 

你可能感兴趣的:(Connection,partition,Deployment,how,openfiler)