Rancher + NIFI on Synology DS220j

Currently reading
Rancher + NIFI on Synology DS220j

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
 
4
0
NAS
DS220j
Operating system
  1. Linux
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
4
0
NAS
DS220j
Operating system
  1. Linux
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
4
0
NAS
DS220j
Operating system
  1. Linux
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

In my web wanderings of recent, using the quite glib support for REGEX/Boolean in "search engines", I did...
Replies
0
Views
259
I didn't have a synology account for about 10 months... I saw no need, I was never going to use quick...
Replies
21
Views
765
They are trying to get your phone number (for some reason) either through direct phone sign-on or 2 step...
Replies
10
Views
329
When photos are backed up using the Android Synology Photos app, by default they are stored in your...
Replies
0
Views
235
When my MNTD Helium miner shows offline or is not syncing as expected, a device reboot is a good option to...
Replies
0
Views
369
Listing stuff alphabetically seems pretty obvious to me. I never have folders, etc in most recently...
Replies
2
Views
390
I'll agree with EAZ on this - not something I'd sweat. DSM should be quite adequately able to monitor...
Replies
4
Views
443

Welcome to SynoForum.com!

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

Registration is free, easy and fast!

Top