Install the app
How to install the app on iOS

Follow along with the video below to see how to install our site as a web app on your home screen.

Note: This feature may not be available in some browsers.

Rancher + NIFI on Synology DS220j

As an Amazon Associate, we may earn commissions from qualifying purchases. Learn more...

4
0
NAS
DS220j
Operating system
  1. Linux
Trying to share out /volume1/kubshare
settings are:
Client *, Privilege R/W, Squash No Mapping, Async Yes, Non-Priv port Allowed, Cross-mount Allowed

I'm getting errors like:

(Nifi requires zookeeper)
Error:
zookeeper couldn’t mount:
MountVolume.SetUp failed for volume "pvc-a1d1e49b-a237-40a7-bb71-84c02cd84cbe" : mount failed: exit status 32 Mounting command: mount Mounting arguments: -t nfs xxx.xxx.xxx.xxx:/volume1/kubshare/nifi-data-nifi-zookeeper-0-pvc-a1d1e49b-a237-40a7-bb71-84c02cd84cbe /var/lib/kubelet/pods/ab8b01e1-468c-4fab-8b18-9dcd10755cb7/volumes/kubernetes.io~nfs/pvc-a1d1e49b-a237-40a7-bb71-84c02cd84cbe Output: mount.nfs: mounting xxx.xxx.xxx.xxx:/volume1/kubshare/nifi-data-nifi-zookeeper-0-pvc-a1d1e49b-a237-40a7-bb71-84c02cd84cbe failed, reason given by server: No such file or directory

I've tried more than a few different settings thus for with nothing working, anyone have any thoughts?

Thx and..
Mo' Coffee
 
How does etc/exports file looks like on the NAS side (from ssh) not via UI?
Thanks for the response.. turns out by posting this I rubber ducked the answer.
This ended up working:
/volume1/kubshare *(rw,sync,no_subtree_check,no_root_squash,no_all_squash,insecure)
Ill need to add my ips for better security but origonally it was more like this:
/volume1/kubshare *(rw,async,crossmnt,root_squash,no_subtree_check,insecure_locks,anonuid=1024,anongid=100)

Need to read up more on what all these mean cause I do find it odd that both no_root and no_all squash are both in the line that is working. Found the info here.
 
Upvote 0
Not sure if the Synology is resetting something but its not apparent in the /etc/exports

This morning I woke up and my containers are all having errors again. Example:
Code:
MountVolume.SetUp failed for volume "pvc-42b1e502-6140-4a28-8b56-76bbdde719de" : mount failed: exit status 32 Mounting command: mount Mounting arguments: -t nfs xxx.xxx.xxx.xxx:/volume1/kubshare/zookeeper-data-zookeeper-0-pvc-42b1e502-6140-4a28-8b56-76bbdde719de /var/lib/kubelet/pods/c4369ce8-3147-4974-a7cb-7a4468737d7a/volumes/kubernetes.io~nfs/pvc-42b1e502-6140-4a28-8b56-76bbdde719de Output: mount.nfs: mounting xxx.xxx.xxx.xxx:/volume1/kubshare/zookeeper-data-zookeeper-0-pvc-42b1e502-6140-4a28-8b56-76bbdde719de failed, reason given by server: No such file or directory

/ect/exports/ (This is the only line related to kubshare in this file)
Code:
/volume1/kubshare    *(rw,sync,no_subtree_check,no_root_squash,no_all_squash,insecure)

I rebooted the Synology device and tried redeploying and the same issue. Any thoughts?
 
Upvote 0
Hmm, it almost looks like the pvc target folders can not be created on the nfs share.. Do you mind sharing the output of stat /volume1/kubshare/?

Is it safe to assume that your installed the nfs client provisioner using the helm chart instead of applying a bunch of manifests?

My experience is that nfsv4 or v4.1 shares work reliable while nfsv3 sometimes cause trouble..
 
Upvote 0
Last edited:
Hmm, it almost looks like the pvc target folders can not be created on the nfs share.. Do you mind sharing the output of stat /volume1/kubshare/?

Is it safe to assume that your installed the nfs client provisioner using the helm chart instead of applying a bunch of manifests?

My experience is that nfsv4 or v4.1 shares work reliable while nfsv3 sometimes cause trouble..
Yes, nfs client was using helm chart.

stat /volume1/kubshare/
File: ‘/volume1/kubshare/’
Size: 12288 Blocks: 24 IO Block: 4096 directory
Device: fd00h/64768d Inode: 243662849 Links: 23
Access: (0777/drwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2020-11-25 10:41:18.764525019 -0600
Modify: 2020-11-17 08:46:22.365504121 -0600
Change: 2020-11-17 08:46:22.365504121 -0600
Birth: -
 
Upvote 0

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

Welcome to the forum. Once you configure your new 723 as a new NAS, you can use the built in (installed...
Replies
1
Views
124
It does appear to be an odd omission to not support text file creation: my go to format is plain text /...
Replies
8
Views
529
i installed the new original synologybrand ssd. hopefully this will work. Does anyone know if i can put...
Replies
10
Views
619
It may be worth checking your LAN as well. Busy times may saturate 1GB ethernet capacity. If your NAS has...
Replies
3
Views
621
  • Question Question
How is the HDD formatted? If NTFS, you could put it into a drive enclosure or dock/caddy, connect it via...
Replies
5
Views
787
Then you will see the install Connect option......for example:
Replies
4
Views
549
Welcome. ESXi is a VM on the NAS or a dedicated machine on the network?
Replies
1
Views
429

Thread Tags

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending content in this forum

Back
Top