General NAS-Central Forums

Welcome to the NAS community
It is currently Wed Mar 21, 2018 5:19 am

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Apr 16, 2015 12:22 pm 

Joined: Sat Feb 05, 2011 8:46 pm
Posts: 19
This Tutorial covers how to enable Lacie firmware NFS via unicorn and share "OpenShare" folder.
* Requires root
* Do at your own risk (as usual)

1- Check current NFS configs
unicli -l --module=unicorn.sharing.nfs

2- Allow public share "OpenShare" only
unicli -e --module=unicorn.sharing.nfs public_shares_only:True

3- Enable NFS at unicorn level
unicli -e --module=unicorn.sharing.nfs enabled:True

4- Confirm changes are set
unicli -l --module=unicorn.sharing.nfs

5- Start NFS service
ngc --start nfs

At this point NFS shall be working as expected.

6- Add NFS service to start at boot time
echo -e "nfs" >> /etc/initng/runlevel/default.runlevel

To access NFS shares from another linux box, you can mount as following:
mkdir NS2_OpenShare
mount -t nfs networkspace2.local:/shares/OpenShare NS2_OpenShare

In mount command replace "networkspace2.local" with your own NS2 IP or name which is resolvable from the other box.

- If you do not perform step 2, all users files will be available publicly with no authentication.
- If you want to customize any other settings, you have to disable and enable again NFS, to force unicorn to rebuild /etc/exports (step 3)
- If you rebuild unicorn DB, you will have to run steps (2, 3 & 5) again.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 20 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group