Sorry we lost some posts because of database errors!

*New 12.1 series Release:
2020-09-01: XigmaNAS 12.1.0.4.7728 - released

*New 11.4 series Release:
2020-08-27: XigmaNAS 11.4.0.4.7718 - released!


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

Cannot Create NFS Shares

Network filesystems.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
joebobfrank
NewUser
NewUser
Posts: 2
Joined: 22 Feb 2015 04:35
Location: NY USA
Status: Offline

Cannot Create NFS Shares

#1

Post by joebobfrank »

I am not able to create NFS shares.
I am formated the drives an ZFS storage pool. Then I created a virtual device. Then added a pool. After that I created two datasets.
After enabling NFS, in the Shares section, I click the browse button to see the datasets but I only see the pool that was created earlier.
I do not see the full path to the datasets I created.
I have set up NFS on version 10.2 without a problem. I have a new box with version 10.3.0.3 that I am trying to set up.

I am not able to delete the datasets. I get this error message:

Code: Select all

root: zfs destroy -f 'mypool/storage'
root: cannot open 'mypool/storage': dataset does not exist
root: Error: Failed to destroy dataset mypool/storage
Seems like the datasets did not get created. I should try to create it manually in the cli.
Anybody know how to fix this?

User avatar
ernie
Forum Moderator
Forum Moderator
Posts: 1454
Joined: 26 Aug 2012 19:09
Location: France - Val d'Oise
Status: Offline

Re: Cannot Create NFS Shares

#2

Post by ernie »

Hello

Did you synchronize the pool after dataset creation ?

It is in disk/zfs/configuration (button synchronize).
NAS 1&2:
System: GA-6LXGH(BIOS: R01 04/30/2014) / 16 Go ECC
XigmaNAS 12.1.0.4 - Ingva (revision 7542) embedded
NAS1: Xeon E3 1241@3.5GHz, 4HDD@2To/raidz2 (WD red), 3HDD@300Go/sas/raidz1 (Hitachi), 1SSD cache, Zlog on sas mirror
NAS2: G3220@3GHz, 3HDD@2To/raidz1 (Seagate), 1SSD cache, 1HDD@300Go/UFS
UPS: APC Back-UPS RS 900G
Case : Fractal Design XL R2

Extensions & services:
NAS1: OBI (Plex, BTSync, zrep, rclone, themes), nfs, UPS,
NAS2: OBI (zrep (backup mode), themes)

joebobfrank
NewUser
NewUser
Posts: 2
Joined: 22 Feb 2015 04:35
Location: NY USA
Status: Offline

Re: Cannot Create NFS Shares

#3

Post by joebobfrank »

ernie,

Oops, I did not synchronize anything.

A used the cli logged in as root and ran the following commands to get it to work.

Code: Select all

zfs list

zfs list mypool

zfs create mypool/storage
Then I had to create the datasets in the GUI because they were not visible after refreshing the page.
Then I ran these commands.

Code: Select all

zfs get sharenfs mypool/storage

zfs set sharenfs=on mypool/storage
Then I was able to create the NFS shares. I was able to see the full path in the GUI.
I have mounted them and I am now copying data.

It was cool that I learned some ZFS command line commands. I would rather not use the GUI anyway. Thank you for your help.

Post Reply

Return to “NFS”