目錄
<dl></dl>
<dt>8.1. Network Storage - Openfiler</dt>
<dd><dl></dl></dd>
<dt>8.1.1. Accounts</dt>
<dt>8.1.2. Volumes</dt>
<dt>8.1.2.1. RAID</dt>
<dt>8.1.2.2. iSCSI</dt>
<dt>8.1.3. Quota</dt>
<dt>8.1.4. Shares</dt>
<dt>8.2. OpenMediaVault</dt>
<dt>8.3. FreeNAS</dt>
Openfiler is a powerful, intuitive browser-based network storage software distribution. Openfiler delivers file-based Network Attached Storage and block-based Storage Area Networking in a single framework.
openfiler 的官方網站
過程 8.1. Openfiler Storage Control Center
登入管理界面
初始帳号和密碼是: openfiler/password
首先要修改預設密碼
Accounts->Admin Password
Submit 送出
使用者認證
openfiler.ldif
添加people組織單元
Accounts->Authentication
Use LDAP: 打勾
Services->LDAP Settings
Services->Enable/Disable
Accounts->Account Administration
Group Administration
User Administration
檢視組織單元:ou=people,dc=bg7nyt,dc=cn
卷管理 [Volumes]
我這裡是使用VMware做的試驗,在VMware中增加一些硬碟即可.
Volumes -> Physical Storage Mgmt.
openfiler安裝在/dev/sda,/dev/sda硬碟空間不用太大,單獨給openfiler使用.建議做RAID 1(硬體RAID卡或伺服器主版提供的RAID)
其它硬碟是用于存儲的硬碟,如果有條件這些硬碟組也最好做成硬RAID,沒有條件我們可以在openfiler中做軟體RAID.
點選"Edit Disk"清單内硬碟标簽,之後可以看到"Create a partition in /dev/sdb"
單擊"Create"建立分區
Back to the list of physical storage devices
如果沒有特别需求,不需要建立多個分區.
Volumes->Volume Group Mgmt.
Volume Group 可以實作動态擴充空間,注意如果在使用中有一個成員盤損壞,你将無法恢複資料.
應急使用可以,不建議長期使用.
單擊"Add volume group"建立vg0
表 8.1. Volume Group Management
Volume Group Name
Size
Allocated
Free
Members
Add physical storage
Delete VG
vg0
15.94 GB
0 bytes
View member
PVs Add
PVs Delete
擴充Volume Group單擊[PVs Add]按鈕
分區清單前面打勾
[Submit]送出
Volumes -> Create New Volume
選擇VG
建立卷
單擊[Create]按鈕
Openfiler提供軟RAID.
單擊[Create]按鈕建立RAID組成員
單擊[Back to the list of physical storage devices]傳回到 "Physical Storage Management"
Volumes -> Software RAID Mgmt.
單擊[Add array]建立RAID
RAID建立完成後,就可以卷組和卷
Volumes -> Volume Group Mgmt. -> Create New Volume
RAID 6 采用雙校驗盤最少4塊硬碟
單擊[Update]按鈕
Services -> Enable/Disable -> iSCSI target 确認已經 Enable
General -> Local Networks
Volumes -> List of Existing Volumes -> Select Volume Group
單擊 iScsi 卷清單 Properties 下的 [Edit] 連接配接
預設是:Deny, 修為Allow
開始菜單 找到 Microsoft iSCSI Initiator 并運作
單擊 Discovery 頁籤
單擊 [ Add ] 按鈕
單擊 [ OK ] 按鈕
單擊 Targets 頁籤
單擊 [Refresh] 按鈕 -> [Log On...]
完成Initiator設定
我的電腦 -> 單擊滑鼠右鍵 -> 管理
初始化硬碟
選擇硬碟
初始化完成,紅色圖示消失後你就可以對磁盤分區,挂載卷,格式化。
使用 iSCSI 與使用本地磁盤完全一樣。
Status -> iSCSI
注意
有些檔案系統不支援Quota
Quota -> Guest Quota
單擊[Change]按鈕
單擊[Apply]按鈕
Shares
單擊清單内的連接配接.
單擊 [Create Sub-folder] 按鈕 建立檔案夾
單擊[Change]按鈕 修改
組的權限制
主機通路權限配置
原文出處:Netkiller 系列 手劄
本文作者:陳景峯
轉載請與作者聯系,同時請務必标明文章原始出處和作者資訊及本聲明。