General NAS-Central Forums

Welcome to the NAS community
It is currently Sun Aug 20, 2017 6:04 am

All times are UTC




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

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
Code:
unicli -l --module=unicorn.sharing.nfs


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


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


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


5- Start NFS service
Code:
ngc --start nfs

At this point NFS shall be working as expected.

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


To access NFS shares from another linux box, you can mount as following:
Quote:
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.

NB.
- 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.


Top
 Profile  
 
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: Bing [Bot] and 6 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