Test freenas9.1 set up an iscsi Disk Library

Source: Internet
Author: User

FreeNAS is a free NAS server that converts a common PC into a network storage server. Based on FreeBSD, Samba, and PHP, the software supports CIFS (samba), FTP, NFSprotocols, SoftwareRAID (, 5) and web interface setting tools.

Version: FreeNAS-9.1.1-RELEASE-x64

Download Official Website: http://www.freenas.org/

Note: 1. There are at least two disks. One is for the system zone and the other is for the cabinet. Memory at least 512 MBbasememorysize (UFSonly), 4096 MBormore (ZFS)
Hard Disk: avirtualdiskatleast2GBinsizetoholdtheoperatingsystemandswap
Atleastonemorevirtualdiskatleast4GBinsizetobeusedasdatastorage
One network adapter, abridgedadapter

2. Nic Address Configuration:

On the browser interface, enter the IP address generated by the machine and then access:

Enteranoptionfrom1-11: 1
1) em0
Selectaninterface (qtoquit): 1
Deleteexistingconfig? (Y/n) n
ConfigureinterfaceforDHCP? (Y/n) n
ConfigureIPv4? (Y/n) y
Interfacename:
Ip: 172.16.0.116/24
Netmask: 255.255.255.0, or/24or24
IPv4Address: 172.16.0.116/24
Savinginterfaceconfiguration: OK
ConfigureIPv6? (Y/n) n restart

3. Enter the browser logon address, open storage, and click zfsvolumemanager.

Open the create zfs interface, add the relevant hard disk, add addvolume, select the generated zfs, and click createzvol

Generate a volume. Allocable size. 650) this. width = 650; "title =" 1.png" alt = "164018935.png" src =" http://www.bkjia.com/uploads/allimg/131228/04503A093-0.png "/>

4. Click services --- iscsi.

Generation in turn: ADinitators --- can limit the associated network 650) this. width = 650; "title =" 2.png" alt = "164043954.png" src =" http://www.bkjia.com/uploads/allimg/131228/0450362335-1.png "/>,

Addextent, where 2 GB is created by the volume

650) this. width = 650; "title =" 3.png" alt = "164206727.png" src =" http://www.bkjia.com/uploads/allimg/131228/0450362a5-2.png "/>

Addportal

650) this. width = 650; "title =" 4.png" alt = "164411842.png" src =" http://www.bkjia.com/uploads/allimg/131228/0450364202-3.png "/>, -- addtarget

650) this. width = 650; "title =" 5.png" alt = "164545956.png" src =" http://www.bkjia.com/uploads/allimg/131228/0450363U0-4.png "/>, -- addassociatedtargets650) this. width = 650; "title =" 6.png" alt = "164650959.png" src =" http://www.bkjia.com/uploads/allimg/131228/04503B1a-5.png "/>

Click service services on the menu to start iscsi.

5. Use the client for verification: centos6.2x64 and install yuminstalliscsi-init *

Iscsiadm-mdiscoverydb-tst-p172.16.0.116-D-l

Serviceiscsistart

Chkconfigiscsion



This article is from the StarSeven blog, please be sure to keep this source http://lcpljc.blog.51cto.com/200989/1302563

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.