Tiven Wang
Wang Tiven December 14, 2018
425 favorite favorites
bookmark bookmark
share share

https://bbs.feng.com/read-htm-tid-3132173.html

https://post.smzdm.com/p/608655/

家庭版数据云存储系统

[NAS][Network-attached_storage]

logical, redundant storage containers or RAID

https://post.smzdm.com/p/569125/

NAS Operation system

FreeNAS or NAS4Free

XigmaNAS

黑群晖

file-based protocols

NAS uses file-based protocols such as NFS (popular on UNIX systems), SMB (Server Message Block) (used with MS Windows systems), AFP (used with Apple Macintosh computers), or NCP (used with OES and Novell NetWare).

SAN

SAN (storage area network)

Clustered NAS

Clustered NAS

$ sudo apt-get install ntfs-3g
$ sudo apt-get install samba samba-common-bin
$ sudo mkdir /External
$ lsblk
$ sudo mount /dev/sda1 /External
$ sudo nano /etc/samba/smb.conf
[RaspberryPiNas]
comment = Pi Nas Server
writeable = yes
browseable = yes
path = /External
create mask = 0777
directory mask = 0777
public = yes
$ sudo /etc/init.d/samba restart

Don’t build a NAS with your Pi

First off, why create a Raspberry Pi NAS? I expect there will be some people who could go into great depth about how the Pi is not a suitable platform for a network-attached storage device. Here’s a few weak points:

  • poor I/O - no SATA, limited USB bandwidth
  • slow networking
  • lack of ECC RAM
  • not suitable for ZFS
  • unreliable SD card for booting

—— Create a hardened Raspberry Pi NAS

Raspberry Pi 做 NAS 仅适合用来做学习使用。

Samba

Samba

ZFS

RAID

NFS

SYNOLOGY NAS

QNAP NAS

Plex

Raspberry Pi

为 Raspberry Pi 3+ 安装 Raspbian 系统,在 SD 根目录创建一个叫 ssh 的文件可以启用此系统的 ssh 功能(这样就可以直接远程连接 Raspberry 系统进行操作了)。

As a Downloader

Set Up Deluge for WebUI Access

sudo apt-get update
sudo apt-get upgrade

This sequence installs the Deluge daemon, Mako (a template gallery for Python that the WebUI needs), the WebUI itself.

sudo apt-get install deluged
sudo apt-get install python-mako
sudo apt-get install deluge-web

启动 Deluge WebUI program deluge-web(在后台运行 deluge-web &

You’ll be greeted with a password prompt (the default password is “deluge”) and be immediately encouraged to change it after you enter it for the first time. After that, you’ll be able to interact with Deluge via the lightweight interface.

https://www.howtogeek.com/142044/how-to-turn-a-raspberry-pi-into-an-always-on-bittorrent-box/

Mount a Samba Share

Raspberry Pi 可能只用来运行下载程序,而下载好的文件可能需要存储在其他网络位置。这里就介绍为 Pi 添加一个 Samba 文件共享位置。

# 安装必要的包
$ apt-get install  samba-common smbclient samba-common-bin smbclient  cifs-utils
# 创建一个文件夹,并把 Samba 共享位置挂上去
$ mkdir /mnt/abc
$ mount -t cifs //server/share /mnt/abc
# 如果共享有用户权限限制
$ mount -t cifs //server/share /mnt/abc -o user=user,pass=password,dom=domain
# 卸载命令
$ umount /mnt/abc

参考 Access network Samba share from Pi client

As a NAS

https://www.howtogeek.com/139433/how-to-turn-a-raspberry-pi-into-a-low-power-network-storage-device/

Similar Posts

Comments

Back to Top