Difference between revisions of "1-bay NAS Dock"

From FriendlyELEC WiKi
Jump to: navigation, search
(Download Debian for NAS Image)
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[1-bay NAS Dock/zh|查看中文]]
 
[[1-bay NAS Dock/zh|查看中文]]
  
==介绍==
+
==Introduction==
 
[[File:1-bay NAS Dock.jpg|thumb|1-bay NAS Dock]]
 
[[File:1-bay NAS Dock.jpg|thumb|1-bay NAS Dock]]
* 1-bay NAS Dock是一个用于搭建迷你、小巧的桌上型NAS(Network Attached Storage:网络附属存储)设备的扩展模块。搭配NanoPi NEO和定制的金属外壳,能够快速的搭建属于你的专用数据存储服务器。
+
* The 1-bay NAS Dock is an expansion board which can be used to connect an external hard disk to a FriendlyElec's NanoPi NEO. Together with FriendlyElec's customized aluminum case and NanoPi NEO you can quickly assemble a storage server.
* 模块使用了台湾JMicron公司的高速USB转SATA芯片JM20329,通过USB接口和NanoPi NEO通讯。
+
* It uses JM20329 USB2SATA IC and communicates with a NanoPi NEO via USB interface.
* 支持2.5寸SATA硬盘或SSD。
+
* It works with a 2.5" SATA hard disk.
* 模块使用12V电源输入,并板载了TI公司稳定的DC-DC芯片,完成12V到5V的电压转换。使用板上的电源开关能方便的打开或关闭设备。
+
* It uses TI's DC-DC chipset to convert a 12V input to 5V. It has a power switch for users to turn on/off the device.
* 红绿双色指示灯能实时反映硬盘的使用状态,绿色表示电源,红色闪烁表示正在读写硬盘数据。注意:红色灯闪烁时严禁关闭电源或插拔硬盘,以免损坏数据。
+
* Its dual-color LED can indicate a connected hard disk's status. When the LED is green it means the power is on. When it is red-blinking it means the connected hard disk is reading/writing.Warning: when the status LED is red-blinking do NOT shut down the power or plug/unplug the power.
  
==特性==
+
==Hardware Spec==
* 使用高速稳定的USB转SATA芯片
+
* High-speed USB2SATA IC JM20329
* 输入电压:12V
+
* Supply voltage:12V
* 板载电源开关
+
* Onboard switch
* 双色状态指示灯
+
* Dual-color status LED
* USB Host接口
+
* USB Host
* 定制的金属外壳
+
* Customized aluminum case
* 完善的软件解决方案
+
* Ready-to-go software system
* PCB尺寸(mm):151x89.7
+
* PCB dimension(mm): 151 x 89.7
 
[[File:NAS Dock.png | frameless|500px|NAS Dock-01.PCB]]
 
[[File:NAS Dock.png | frameless|500px|NAS Dock-01.PCB]]
  
==硬件组装步骤==
+
==Hardware Setup==
搭建NAS设备,您需要准备以下物品:<br>
+
Essentials You Need for a Complete NAS Solution:<br>
(1) 1-bay NAS Dock;<br>
+
(1) 1-bay NAS Dock;<br>
(2) 配套螺丝;<br>
+
(2) Screw set;<br>
(3) 2.5寸HDD硬盘;<br>
+
(3) 2.5" HDD hard disk<br>
(4) 带散热片的NanoPi NEO。<br>
+
(4) NanoPi NEO with heat sink<br>
[[File:step0.png | frameless|500px|清单]]<br>
+
[[File:step0.png | frameless|500px| List]]<br>
NAS设备组装步骤如下:<br>
+
Steps to Assemble a NAS Device:<br>
(1)把硬盘装配在模块的SATA接口,并在底面用螺丝固定,如下图所示<br>
+
(1) Connect a 2.5"SATA hard disk to the dock and mount the disk on the dock with four screws<br>
[[File:step1.png | frameless|500px|步骤(1)]] [[File:step2.png | frameless|500px|步骤(2)]] <br>
+
[[File:step1.png | frameless|500px|Step 1]] [[File:step2.png | frameless|500px|Step 2]] <br>
(2)把NanoPi NEO倒扣安装在排母上,如下图所示<br>
+
(2) Connect a NanoPi NEO with pin-headers to the NAS Dock<br>
[[File:step3.png | frameless|500px|步骤(3)]]<br>
+
[[File:step3.png | frameless|500px|Step 3]]<br>
(3)接上12V电源,硬件组装就完成了,如下图所示<br>
+
(3) Connect a 12V power to the NAS Dock and all done<br>
[[File:step4.png | frameless|500px|步骤(4)]]<br>
+
[[File:step4.png | frameless|500px|Step 4]]<br>
  
==软件安装==
+
==Introduction to 1-bay NAS Dock's Software==
===制作一张运行OpenMediaVault的TF卡===
+
The software system for the 1-bay NAS Dock is based on Debian8 Jessie but has OpenMediaVault and its plugins.
====下载系统固件====
+
OpenMediaVault is a popular solution for NAS applications under Linux. It has various services such as SSH,(S)FTP,SMB/CIFS,DAAP media server, RSync,BitTorrent and more.
首先访问[http://pan.baidu.com/s/1miMwKoK 下载地址]下载固件文件(officail-ROMs目录)和烧写工具(tools目录):<br />
+
  
 +
 +
==Software Installation==
 +
===Make a Bootable TF Card===
 +
====Download Debian for NAS Image====
 +
Download a proper image file for your Dock based on your master device(NEO/NEO2). The image file is under the "officail-ROMs" directory and the utility is under the "tools" directory:<br />
 
::{| class="wikitable"
 
::{| class="wikitable"
 
|-
 
|-
|colspan=2|使用以下固件:
+
|Master Device||Image File||Download Link
 
|-
 
|-
|Debian-for-nas-YYYYMMDD.img.zip     || 预装了OpenMediaVault软件的Debian系统固件                 
+
|NanoPi NEO||H3/NanoPi-NEO/official-ROMs/accessory-ROMs/nanopi-neo_sd_debian-nas-jessie_4.14_armhf_YYYYMMDD.img.zip||[http://dl.friendlyarm.com/nanopineo Download Link]
 
|-
 
|-
|colspan=2|烧写工具: 
+
|NanoPi NEO2||H5/NanoPi-NEO2/official-ROMs/accessory-ROMs/nanopi-neo2_sd_debian-nas-jessie_4.14_arm64_YYYYMMDD.img.zip||[http://dl.friendlyarm.com/nanopineo2 Download Link]
 
|-
 
|-
|win32diskimager.rar || Windows平台下的系统烧写工具,Linux平台下可以用dd命令烧写系统
+
|colspan=3| Flash Utility: 
 +
|-
 +
|win32diskimager.rar ||colspan=2| Windows utility. Under Linux users can use "dd"
 
|-  
 
|-  
 
|}
 
|}
 +
This system is based on Debian but has OpenMediaVault .
  
====制作系统TF卡====
+
====Make TF Card====
将固件Debian-for-nas-YYYYMMDD.img.zip和烧写工具win32diskimager.rar分别解压,在Windows下插入TF卡(限4G及以上的卡),以管理员身份运行 win32diskimager 工具,
+
Extract an image file and "win32diskimager.rar". Insert an SD card(at least 8G) into a Windows PC and run the win32diskimager utility as administrator. On the utility's main window select your SD card's drive, the wanted image file and click on "write" to start flashing the SD card.<br />
在win32diskimager工具的界面上,选择你的TF卡盘符,选择系统固件,点击 Write 按钮烧写即可。<br />
+
 
<br />
 
<br />
烧写完成后,将制作好TF卡插入NanoPi NEO,使用12V电源给1-Bay NAS供电,
+
Insert this card into your NanoPi NEO/NEO2 and connect the 1-Bay NAS Dock to a 12V power.Turn on the Dock's switch and if the blue LED on your NEO/NEO2 blinks this indicates your NanoPi NEO/NEO2 has successfully booted.<br />
打开1-Bay NAS开关,看到NanoPi NEO上的蓝色LED闪烁,这说明系统已经开始启动了。<br />
+
 
 +
==Configure NAS==
 +
Visit the router your NEO/NEO2 is connected to and check your NEO/NEO2's IP address (in our case the Hostname was "FriendlyELEC"). Open a browser and type this IP address in the browser's address bar. The default user name and password for OpenMediaVault are:<br />
 +
User Name: admin<br />
 +
Password: openmediavault<br >
 +
<br />
 +
Here is what OpenMediaVault looks like after a user logs in:<br />
 +
[[File:Omv version411.jpg|frameless|824px|OpenMediaVault]]
 +
 
 +
==Resources==
 +
* [Schematic]([http://wiki.friendlyarm.com/wiki/index.php/File:SCHEMATIC1_1-bay_NAS_Dock.pdf Matrix - 1-bay NAS Dock.pdf])
 +
* OpenMediaVault's home site: http://www.openmediavault.org/。
  
=== OpenMediaVault 的使用 ===
+
==Update Log==
 +
===April-01-2017===
 +
* Released English Version
  
<syntaxhighlight lang="bash">
+
===April-28-2017===
test
+
* Updated sections 5 and 6 by adding details for installing Debian and adding support for NEO2
</syntaxhighlight>
+
  
==相关资料==
+
===May-05-2017===
 +
* Updated section 5.1.2 by correcting a typo

Latest revision as of 02:25, 24 April 2020

查看中文

1 Introduction

1-bay NAS Dock
  • The 1-bay NAS Dock is an expansion board which can be used to connect an external hard disk to a FriendlyElec's NanoPi NEO. Together with FriendlyElec's customized aluminum case and NanoPi NEO you can quickly assemble a storage server.
  • It uses JM20329 USB2SATA IC and communicates with a NanoPi NEO via USB interface.
  • It works with a 2.5" SATA hard disk.
  • It uses TI's DC-DC chipset to convert a 12V input to 5V. It has a power switch for users to turn on/off the device.
  • Its dual-color LED can indicate a connected hard disk's status. When the LED is green it means the power is on. When it is red-blinking it means the connected hard disk is reading/writing.Warning: when the status LED is red-blinking do NOT shut down the power or plug/unplug the power.

2 Hardware Spec

  • High-speed USB2SATA IC JM20329
  • Supply voltage:12V
  • Onboard switch
  • Dual-color status LED
  • USB Host
  • Customized aluminum case
  • Ready-to-go software system
  • PCB dimension(mm): 151 x 89.7

NAS Dock-01.PCB

3 Hardware Setup

Essentials You Need for a Complete NAS Solution:
(1) 1-bay NAS Dock;
(2) Screw set;
(3) 2.5" HDD hard disk
(4) NanoPi NEO with heat sink
List
Steps to Assemble a NAS Device:
(1) Connect a 2.5"SATA hard disk to the dock and mount the disk on the dock with four screws
Step 1 Step 2
(2) Connect a NanoPi NEO with pin-headers to the NAS Dock
Step 3
(3) Connect a 12V power to the NAS Dock and all done
Step 4

4 Introduction to 1-bay NAS Dock's Software

The software system for the 1-bay NAS Dock is based on Debian8 Jessie but has OpenMediaVault and its plugins. OpenMediaVault is a popular solution for NAS applications under Linux. It has various services such as SSH,(S)FTP,SMB/CIFS,DAAP media server, RSync,BitTorrent and more.


5 Software Installation

5.1 Make a Bootable TF Card

5.1.1 Download Debian for NAS Image

Download a proper image file for your Dock based on your master device(NEO/NEO2). The image file is under the "officail-ROMs" directory and the utility is under the "tools" directory:

Master Device Image File Download Link
NanoPi NEO H3/NanoPi-NEO/official-ROMs/accessory-ROMs/nanopi-neo_sd_debian-nas-jessie_4.14_armhf_YYYYMMDD.img.zip Download Link
NanoPi NEO2 H5/NanoPi-NEO2/official-ROMs/accessory-ROMs/nanopi-neo2_sd_debian-nas-jessie_4.14_arm64_YYYYMMDD.img.zip Download Link
Flash Utility:
win32diskimager.rar Windows utility. Under Linux users can use "dd"

This system is based on Debian but has OpenMediaVault .

5.1.2 Make TF Card

Extract an image file and "win32diskimager.rar". Insert an SD card(at least 8G) into a Windows PC and run the win32diskimager utility as administrator. On the utility's main window select your SD card's drive, the wanted image file and click on "write" to start flashing the SD card.

Insert this card into your NanoPi NEO/NEO2 and connect the 1-Bay NAS Dock to a 12V power.Turn on the Dock's switch and if the blue LED on your NEO/NEO2 blinks this indicates your NanoPi NEO/NEO2 has successfully booted.

6 Configure NAS

Visit the router your NEO/NEO2 is connected to and check your NEO/NEO2's IP address (in our case the Hostname was "FriendlyELEC"). Open a browser and type this IP address in the browser's address bar. The default user name and password for OpenMediaVault are:
User Name: admin
Password: openmediavault

Here is what OpenMediaVault looks like after a user logs in:
OpenMediaVault

7 Resources

8 Update Log

8.1 April-01-2017

  • Released English Version

8.2 April-28-2017

  • Updated sections 5 and 6 by adding details for installing Debian and adding support for NEO2

8.3 May-05-2017

  • Updated section 5.1.2 by correcting a typo