Securifi Community Forum

Securifi Products => Almond+ => Topic started by: vrocco on August 16, 2014, 10:19:29 am

Title: Use attached device as a NAS
Post by: vrocco on August 16, 2014, 10:19:29 am
I would like to plug an external hard drive into the Almond+ and use it as a NAS. It needs to be accessible from all the machines on my network (a mix of Windows and Linux). I'm not quite sure how to accomplish this. Could someone help me out with a brief tutorial?

Thanks in advance
Title: Re: Use attached device as a NAS
Post by: LGNilsson on August 16, 2014, 10:36:30 am
I'll put something together and post it in the Wiki next week.
Note that Samba support is still quite basic, but we're working on improving it.
Title: Re: Use attached device as a NAS
Post by: Lectoid on August 21, 2014, 11:27:18 pm
I followed the steps in the wiki and created the share, but I can't move any files there, it tells me I don't have permission. I verified that "read+write" is selected. I even changed it to "read", saved it, then changed it back. I'm stumped.

I have a 2TB WD Mybook attached to the A+. Formatted it NTFS and then connected it to the router directly after.

EDIT: When I map the share, I see "usb" and "usbs". The second one seems to be for the bitorrent client, and I can create files in the three folders in usbs\sda1\transmission\. The other folder under share, which is "usb" has a subfolder called "My Book". I can't create anything under the "usb" folder.
Title: Re: Use attached device as a NAS
Post by: LGNilsson on August 22, 2014, 12:42:02 am
Apparently I had already written a guide  ;D :P
http://wiki.securifi.com/index.php?title=Network_storage_-_Almond%2B_2014

Yeah, we still have a few issues we're working on resolving, but we'll get this working properly.
Title: Re: Use attached device as a NAS
Post by: Lectoid on August 22, 2014, 10:06:05 pm
Apparently I had already written a guide  ;D :P
http://wiki.securifi.com/index.php?title=Network_storage_-_Almond%2B_2014

Yeah, we still have a few issues we're working on resolving, but we'll get this working properly.

I should have mentioned I followed that wiki precisely, still no luck.
Title: Re: Use attached device as a NAS
Post by: matthew7899 on August 23, 2014, 09:47:48 pm
I was able to set mine up using the directions provided...
Title: Re: Use attached device as a NAS
Post by: wstocker on August 24, 2014, 09:07:10 am
I have a 2TB WD Mybook attached to the A+. Formatted it NTFS and then connected it to the router directly after.

I suspect that you are having one of the concerns I have as well.  NTFS is not supported at this time.  If you can reformat it, I might suggest trying ext3.  Mine has lots of data that I can not back up at the moment to reformat it.
Title: Re: Use attached device as a NAS
Post by: LGNilsson on August 24, 2014, 09:28:31 am
NTFS is very much supported as the Almond+ ships with a 3rd part NTFS driver.
The issue is Samba, not NTFS support. We're working on getting this fixed.
Title: Re: Use attached device as a NAS
Post by: Lectoid on August 25, 2014, 07:14:51 pm
Took the USB drive out of the Almond, formatted it, and plugged it back in to the A+, works fine now. Weird. Before though I didn't see the Recycle Bin and System Volume Information folders.
Title: Re: Use attached device as a NAS
Post by: obmd1 on August 25, 2014, 09:15:14 pm
Do we have a solution for Mac compatible formats? I have followed instructions for setting up FTP, Samba, and my drive, connected via USB and formatted for FATex, is not recognized. I am looking to troubleshoot.
Title: Re: Use attached device as a NAS
Post by: LGNilsson on September 05, 2014, 05:09:32 am
If all goes well we'll have a fix in the next firmware release for Mac's.
Title: Re: Use attached device as a NAS
Post by: ttamas on September 10, 2014, 05:36:08 pm
HEllo,
I have 3tb Toshiba hdd. Connect the router, and format ext4 is ok.
Transmission Torrent client send a message to me after start downloading : error: not a directory (/dev/sda/torrentname)

What could be the problem?
Title: Re: Use attached device as a NAS
Post by: Ashok on September 10, 2014, 07:25:00 pm
Hi ttamas,

Currently Almond+ only supports Ext 3, FAT32 and NTFS formatted drives and for more information, please go to http://wiki.securifi.com/index.php?title=Network_storage_-_Almond%2B_2014.

Best Regards,
Ashok Kumar,
Securifi Technical Support.
Title: Re: Use attached device as a NAS
Post by: LGNilsson on September 10, 2014, 10:42:15 pm
We're working on fixing ext4 support, but it might not be done in time for the next firmware.
Title: Re: Use attached device as a NAS
Post by: JimJFletcher on September 11, 2014, 01:52:00 pm
NTFS is very much supported as the Almond+ ships with a 3rd part NTFS driver.
The issue is Samba, not NTFS support. We're working on getting this fixed.

I was running into the same problem on an NTFS partitioned drive...  ended up doing a chown almondplus <root of USB drive> -R and it seems to have cleared up. 
Title: Re: Use attached device as a NAS
Post by: mparadis on September 23, 2014, 09:46:05 am
I'm new to setting up network attached storage but have a question about this. If I set this server up to turn existing external hard drives into NAS, can I access those drives / files from anything besides my windows computer? I am looking at Android and IOS as I utilize both. If I do this will everyone on my network have access to these files or will the password be required for anyone trying to login?  I am also wondering if there is a way I could set this up to be a personal "cloud" by providing remote access while not on my home network. I have experience port forwarding and have a DDNS service running so I can access other services in my residence already. Thanks!
Title: Re: Use attached device as a NAS
Post by: LGNilsson on September 23, 2014, 11:18:37 am
Longer term, yes, although as of right now, it's quite feature complete and we're working on improving things. I'd say you should give it a couple of firmware releases before this is up to the kind of levels you're asking for.
Right now for example we only support a single user account, with a single password, no real mobile device support or WAN side support.
Title: Re: Use attached device as a NAS
Post by: matt on September 23, 2014, 11:38:32 am
I'm new to setting up network attached storage but have a question about this. If I set this server up to turn existing external hard drives into NAS, can I access those drives / files from anything besides my windows computer? I am looking at Android and IOS as I utilize both. If I do this will everyone on my network have access to these files or will the password be required for anyone trying to login?  I am also wondering if there is a way I could set this up to be a personal "cloud" by providing remote access while not on my home network. I have experience port forwarding and have a DDNS service running so I can access other services in my residence already. Thanks!

You can set this up on a Raspberry Pi using Seafile (or probably any of the alternatives, I just saw that this one has an RPi package), or I guess owncloud is a lot more popular. You could probably get them to run on the Almond+, but I think you would want to do some file system mangling so they don't install on the tiny Almond flash. And I feel like they would probably bog down router though, but it might be worth a try.

http://seafile.com/en/home/ (http://seafile.com/en/home/)
http://www.instructables.com/id/Raspberry-Pi-Owncloud-dropbox-clone/ (http://www.instructables.com/id/Raspberry-Pi-Owncloud-dropbox-clone/)
Title: Re: Use attached device as a NAS
Post by: curach on September 24, 2014, 04:10:22 pm
Hi,

I can see the drive on the mac - but it is listed as locked. When I try the chown command above on the almond+ I get
chown: test: Function not implemented

Or are we still waiting for MAC support?

Title: Re: Use attached device as a NAS
Post by: LGNilsson on September 24, 2014, 11:43:09 pm
It's a Samba related issue that we haven't had a chance to fix yet.
Title: Re: Use attached device as a NAS
Post by: sriram on September 25, 2014, 09:57:41 am
What throughput is everyone seeing with a HDD connected using the USB 3.0 interface? Any rotational speed, accessed via either Ethernet or Wifi. I'm trying to get some ballpark numbers.

Thanks!
Title: Re: Use attached device as a NAS
Post by: LGNilsson on September 25, 2014, 10:09:45 am
It's not that great right now, we still have a good bit of work to do with regards to storage performance. Using FTP with an older firmware I hit 100MB/s, but now we're doing around 75MB/s read. Write speeds are currently capped at around 35MB/s. SAMBA is of course a bit slower, but we believe we should be able to deliver pretty good performance one we update a few things and optimize the whole platform.
Title: Re: Use attached device as a NAS
Post by: sriram on September 25, 2014, 10:17:39 am
Lars,

Perfect. Thanks. I was thinking of creating a SMB share to store my media for my Plex Server (which is running on storage limited hardware).

Cheers!
Title: Re: Use attached device as a NAS
Post by: LGNilsson on September 25, 2014, 10:42:10 am
Even now you should get 30-35MB/s over SAMBA, not great, but not terrible either.
Not sure how it'll interact with Plex though and I have in honesty never used it.
Title: Re: Use attached device as a NAS
Post by: sriram on September 25, 2014, 10:47:00 am
No issue. I'm willing to try it out. 30MB/s should be fine. I think the increased network load might be the primary concern (PMS is connected to one of these (http://www.amazon.com/Linksys-Wireless-AC-Universal-Connector-WUMC710/dp/B0090DX8O8) with line of sight to the Almond+). Thanks for your quick responses!
Title: Re: Use attached device as a NAS
Post by: LGNilsson on September 25, 2014, 11:08:44 am
Shouldn't be an issue for streaming media.
I'll freely admit that this is our weakest part now that needs some serious work, but the platform has the potential for really good storage performance.
Title: Re: Use attached device as a NAS
Post by: sriram on September 25, 2014, 11:34:00 am
Thank you and best of luck Lars!
Title: Re: Use attached device as a NAS
Post by: Richel on February 25, 2015, 10:47:18 am
.....  I am also wondering if there is a way I could set this up to be a personal "cloud" by providing remote access while not on my home network. I have experience port forwarding and have a DDNS service running so I can access other services in my residence already. Thanks!

Is there or will there be a way to access the hard drive attached to my Almond+ from outside my local area network? Thanks.
Title: Re: Use attached device as a NAS
Post by: Richel on March 04, 2015, 07:14:17 am
This continues to go unanswered. Can it be done? Thanks.
Title: Re: Use attached device as a NAS
Post by: pete on March 05, 2015, 09:42:09 am
One popular method  using OpenWRT was to install ownCloud running a simple script.

That said looks like ownCloud has gone commercial and running it on OpenWRT was extremely slow.

https://owncloud.org/ (https://owncloud.org/)

I have a modded micro-router with OpenWRT around and will give it a try on that box.

Code: [Select]
cd /tmp
wget http://mirrors.owncloud.org/release/ownclound-X.X.X.tar.bz2
opkg update
opkg install tar
cd /www
tar -xjf /tmp/owncloud-X.X.X.tar.bz2
Title: Re: Use attached device as a NAS
Post by: LGNilsson on March 20, 2015, 07:01:32 am
Well, you could set up a VPN server and connect to it to access your local network remotely.
Beyond that, there are no current plans on doing anything specifically for this.
We were supposed to work with a company that had a solution for this, but they changed direction and didn't offer that solution in the end.