40

You can build a NAS using... USB Hub Sata <> USB SATA Replicator / SATA Hardware Port Multiplier This is how you can chain the multipliers to RAID, RAID'ed RAID's. You can go 4 multipliers deep and choose from a few raid options. At the Start of the Chain where the blue arrow is your combined terabytes of storage, redundant in the way you configured it ...


13

The problem is that the Pi's USB connection to the PC doesn't have the data pins connected - only the power pins. So you can't use this to speak USB because it's not wired up. Your only option with the Pi would be to 'bit bang' USB using the GPIO pins, but this is very slow and potentially unreliable. I suspect you would only really be able to emulate a ...


10

Since the chip does not have SATA support. Your only option is to connect a SATA HD enclosure through the USB port.


8

Based on a quick perusal of the BCM2835 data sheet (http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf) chapter 15, it looks like USB OTG is supported in HW, so theoretically, it might just be a matter of SW to support the proposed scheme. I'm not a USB protocol expert (or even novice, really), but it would be pretty cool to ...


8

If you dare, you can implement PCI-E x1 with six pins: SM_SCL, SM_SDA (go to I2C bus as SMBus signal), PCIE_IRQ (open drain, shared by all cards), PCIE_CLK (Derive into differential signal with external circuitry, shared by all cards), PCIE_Tx (Derive into differential externally, one per channel) and PCIE_Rx (Derive from differential signaling externally, ...


6

This now seems to be possible using a PiZero - see http://pi.gbaman.info/?p=699 for more.


4

SFTP (SSH + FTP) is CPU intensive and the Pis CPU probably limits the bandwidth. If encrypting the data traffic is optional, consider using an unencrypted file transfer protocol like FTP. Also note that a router with NAT can prevent access to your NAS from the outside internet, so perhaps even authentication is optional. If you can trust your network's users,...


4

To build a custom SATA controller for the GPIO pins would not be a simple job, but may happen, one day. Then the Pi could be used as a NAS. A NAS device would also be a great solution as the Network port is faster than USB.


4

Unfortunately though this seems simple, as best as I can tell, it hasn't been done. See this thread and very detailed answer for more details https://unix.stackexchange.com/questions/2683/serve-files-over-usb And a Pi specific answer here: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=8&t=4938


4

Raspberry Pi is limited in bandwidth due to the USB ports and Ethernet sharing a single 480mbps USB2 host port. See: http://www.mikronauts.com/raspberry-pi/raspberry-pi-2-usb-hard-drive-and-adapter-tests/ http://www.mikronauts.com/raspberry-pi/raspberry-pi-2-nas-experiment-howto/


4

I managed to resolve my issue by not using the configuration file I used in my original post. I used the original (you can restore yours to default by copying a copy of the original from /usr/share/samba/smb.conf) and made two modifications, detailed below: ####### Authentication ####### # "security = user" is always a good idea. This will require a Unix ...


4

I love the Pi, but I have to tell you it doesn't hold the fastest IO in the market. According to this article on the USB performance there is a empiric limit of 30MB/s transfer rate on the USB port. And all the USB ports use the same IO interface. As that, the limit of all combined USB should be capped on that 30MB/s limit. If you take a look at some HD ...


4

You have an average of 300 KB/s using Samba, this translates to an average of 2,45 Mb/s which is in the same range of speed as what you measured with iperf. So even though, you could have USB bandwidth competition between you WiFi dongle and the USB disk, this does not seem to be the case. Your WiFi dongle is reporting good signal quality (e.g. low ...


4

Solved. I was missing leading / vers=1.0 may have helped Drive had two logical names. S-Drive wasn't working. Seagate was. Use: sudo mount --verbose -o username=John,password=********,vers=1.0 //192.168.1.1/Seagate /home/pi/SEAGATE/share/


3

I found out that Arduino can emulate a USB device, the Arduino Leonardo even out of the box. The LUFA USB stack can be used on Arduino and it implements a USB mass storage device driver (see this tutorial). This setup could be used to map USB to SCSI commands such as understood by the SD card reader. I don't know enough about SCSI but it looks like the SD ...


3

If you aren't particularly concerned about performance, you could probably get a USB capable microcontroller with USB mass storage code (you could for example reprogram the STM32F103 debug interface on a $10 STM32F0 discovery eval module), carefully connect that to the pi's serial port as a back end, and run at several hundred kilobaud. Better performance ...


3

Found this script which is supposed to provide unofficial support for CrashPlan on the Raspberry Pi: http://pastebin.com/K3xGa28g Edit: Here are some more related resources that would probably be useful for using CrashPlan on the RPi: These first 2 come from this thread: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=9&t=5398 This script was used ...


3

NFS uses IP/Hostname based security so that means you should give permission on NFS server to clients. Permissions should be defined at /etc/exports file. Example /etc/exports file: # Path Client IP (options) /BACKUP/DATA 192.168.1.4(rw,no_root_squash,sync,crossmnt,fsid=1) /BACKUP/MOVIES 192.168.1.6(rw,no_root_squash,sync,crossmnt,fsid=1) ...


3

There are a couple of things here. In the first place, hdparm measures the raw performance of your hard drive. Going through a USB 2 connection, this is about what you would expect. But you mention the hard drive has been formatted using NTFS. Access to this filesystem can sometimes go really slow on Ubuntu/Debian. There is a good answer here https://...


3

SMB transfer speeds can be quite disappointing, especially when handling lots of small files. Then again, an RPi might not be the best choice as a NAS/file server in the first place. Still, just 1 MB/s is quite slow, even when using SMB as transfer protocol. RPi 3 Model B uses its USB 2.0 hub to handle ethernet, and thus your network shares its bandwidth ...


3

I do not understand why VSFTPD, ProFTPD, PureFTPD should not work. They all are available from the default Raspbian repository. You should be able to just install one of them, configure and run it. But anyway, if you use default Raspbian Stretch then there is no need to install any FTP server. ssh has a sftp server module that is installed by default: rpi ~...


2

The file system of the disk matters, for example writing to NTFS is known to be slow. Ext3 or 4 are faster, if changing the file system is an option. Anyway, mounting with the noatime option should improve the performance. noatime is helps with the SD-card performance too. SFTP is cpu-heavy due to the encrypted transfer. NFS or samba are lighter. You could ...


2

The Pi Zero and Pi Zero W are now available and support the Gadget interface (Kernal.org, linux-sunxi.org) allowing several different profiles, including USB Mass Storage and virtual networking. The closest solution to the OP's request is to use a networking protocol between the Pi and the host PC, and then some other form of networking protocol from the Pi ...


2

You may be interested in IOSchedulingPriority and to some extend IOSchedulingClass and Nice systemd parameters. First one sets ionice priority for your service (0 is the highest, 7 is the lowest), second sets scheduling class -you can choose from none, realtime, best-effort or idle (realtime may be interesting for you if you want to elevate the priority). ...


2

I used both, NFS and SMB. NFS to connect the RPI with my Ubuntu Laptop and SMB for my Windows Desktops. Both are working stable and fast. With SMB I got read rates about 10-11mb/s and with NFS only about 7-8mb/s. In my opinion SMB was also easier to configure.


2

What is the output of executing this (on the Pi)? ls -l /home/pi/minecraft If the folder is, e.g., owned root and not world writable, regular users cannot place anything there.


2

I want to put a Server with Raspberry Pi SD Card image and synchronize a lot of Raspberry Pi with this image. In this sense, if I update this main image on server in few minutes or hour get all my Raspberries synchronized. If you mean, an .img file containing everything then no, since: In order to sync with a networked system, the pi actually has to be ...


2

In theory, any GNU/Linux derived computer with the appropriate hardware can be configured to do what you need. However, you would need to take into account the specifics of the R/P. The main one is that you connect to WiFi using a USB dongle. You also connect the hard disk using a USB connection. Both these connections go through the R/P's internal USB hub. ...


2

It is possible to do but you will gain nothing on it because javascript on a html page will always run on the client.


2

The Rpi has a better CPU and far more RAM, but the WR1043ND has got gigabit Ethernet. Depending on which file sharing protocol you plan to use (samba, nfs, ...) one could be better than the other. The router is a good option to try, since it's probably already an always on device anyway. About the performance, installing and trying a file server on both ...


Only top voted, non community-wiki answers of a minimum length are eligible