Mapping a Share from another NAS

Status
Not open for further replies.

Admiral688

Dabbler
Joined
Apr 23, 2015
Messages
15
I'm playing around with freenas and would like to make a drive mapping to another NAS and can not find an obvious way to do that. Any suggestions?

(I'm running the most current version)
 

Admiral688

Dabbler
Joined
Apr 23, 2015
Messages
15
In the short term, learning a little more about freenas while I assemble my new hardware platform
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Yeah, don't bother with this. There's nothing to learn as you can't really do it without hacking and MAJOR problems if you were to use it that way anyway.
 

Admiral688

Dabbler
Joined
Apr 23, 2015
Messages
15
That's fine. I don't mind the hacking. The major problems are actually useful as they justify my case for a new build out. All the stuff involved is expendable so no data loss is on the line.
 

mjws00

Guru
Joined
Jul 25, 2014
Messages
798
Meh. There is ALWAYS something to learn. ;) Even if the application is minimal within FreeNAS.

It isn't really difficult or that hacky, but can't be done from the gui. The problems are with persistence across reboots, and possibly upgrades (not sure if rolling release leaves fstab now?), and general usefulness of things once they are mapped. Thus Anodos's question. There are gotchas especially around things like jails where this would be a common use case.

Here is a walkthrough of the bsd commands. http://www.cyberciti.biz/faq/mounting-a-nas-with-freebsd-mount_smbfs/

google: 'mount_smbfs freenas', 'man mount_smbfs', 'freenas fstab'

You'll see where the others before have failed, and the reason why no one is writing a book and walkthrough.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
That's fine. I don't mind the hacking. The major problems are actually useful as they justify my case for a new build out. All the stuff involved is expendable so no data loss is on the line.
'Justification for build-out' sounds a lot like 'move hackery into production'. There's always more than one way to achieve a design goal, and some are better than others. The lesson learned through hacking things together is usually 'never again!' :) hence the question regarding your goal. There might be a better way to do it.
 

Admiral688

Dabbler
Joined
Apr 23, 2015
Messages
15
Thanks for the pointers. I really am not moving the hacking into production. I have a nas (Intel ss4000e) with my lone test drive in it and I'm just playing in my lab. Most of my equipment are laptops which I can roast and reconfigure as well as Cisco switches. Aside from my htpc server I don't have any sata capable Desktops. I may be able to hang a usb drive off of a port with a spare drive, but it's not really the same.
 

Admiral688

Dabbler
Joined
Apr 23, 2015
Messages
15
Ok.... Worked perfectly fine and I can see the mount from the console. Now how do I make it available in Freenas? Do I add a new volume or do I need to create my mount point under an existing volume??
 

Admiral688

Dabbler
Joined
Apr 23, 2015
Messages
15
Ok... My mistake. I tried mounting it outside the only defined volume I had in Freenas treating it like a share rather then part of a defined volume. I can now get to my share, although it's only read only access. I guess I need to check out my permission set up as it must be wrong.

I tried a garden variety test share from my real hard drive with the same results so I must not have something configured correctly.
 
Status
Not open for further replies.
Top