7.8beta2 adds new package ROSE-storage

How about just an “ln -s” or some kinda “alias”? For example, I’d still like to have some /disk1 (or whaterver) - just be an symlink/alias to the busX-partY scheme.

The underlying issue is that ROSE client can pick the mount name, so less of an issue there. But if the same script runs on a ROSE server, the path isn’t the same without mucking with the slot= names, which sometimes requires reformatting. And I do actually like the busX-partY scheme, just want to make an well-known alias for the “default disk”.

Maybe one of the protocols act like a loopback for the same device (e.g. it’s a client and server) to essential achieve the same result? But seems overkill when the analog of “ln -s” is really what I’m looking for.

Hi all,
I want to mount a specific share on MTik as the client on an NFS server running on a linux box with 2 exports:

/mnt/test
/var/nfs-shares/general

I want to mount /var/nfs-shares/general in slot “dockers”. Testing from another linux box:

mount 192.168.100.135:/var/nfs/general /nfs/general

This works but attempting similar in ROS:

/disk add type=nfs nfs-address=192.168.100.135:/var/nfs-shares/general slot=dockers
invalid value for argument nfs-address

Also, if I do:

/disk add type=nfs nfs-address=192.168.100.135 slot=dockers
file pr
Columns: NAME, TYPE, SIZE, CREATION-TIME
#  NAME                      TYPE       SIZE     CREATION-TIME       
0  auto-before-reset.backup  backup     26.4KiB  jan/01/1970 01:00:04
1  dockers                   disk                apr/01/2023 10:55:33
2  dockers/var/nfs           directory           apr/01/2023 11:00:47
3  dockers/var/nfs/general   directory           apr/01/2023 11:22:50
4  dockers/mnt/test          directory           apr/01/2023 12:09:19
5  dockers/var               directory           apr/01/2023 11:00:47
6  dockers/mnt               directory           apr/01/2023 12:09:19

The router is mounting BOTH of the NFS exports on the server!

Can anyone help please?

The correct syntax is:

/disk
add nfs-address=192.168.100.135 nfs-share=/var/nfs/general slot=dockers type=nfs

Thank you so much for responding so quickly pe1chl! I checked the docs but was unable to find this. Could you tell me where this is documented?

Thanks again :smiley: :smiley: :smiley:

N

It is explained further above in this topic, e.g. reply #14.
It is not yet well documented in the help system.

Anyone using a Synology NAS and was able to mount a NFS-export onto a Mikrotik ? (I'm using RB3011-ARM here to test)
It just won't work, getting "Protocol Not Supported" error ?
(while I use the Synology with a bunch of mounts to other systems here, media-players etc. In-house I only do NFS)
I created a new file-share specific for this.

Flags: B - BLOCK-DEVICE; M, F - FORMATTING; p - PARTITION
Columns: SLOT, MODEL, SERIAL, INTERFACE, SIZE, FREE, FS, RAID-MASTER, NFS-STATE

SLOT MODEL SERIAL INTERFACE SIZE FREE FS RAID-MASTER NFS-STATE

0 magnetonas nfs://172.29.45.251/volume1/Mikrotik network none Protocol not supported

So this ROSE-package support (only) NFSv4 right ? (I tried enabling/disabling NFSv4.1 on the NAS, no difference)

The CLI-command is really simple ;

nfs-address=172.29.45.251 nfs-share=volume1/Mikrotik slot=magnetonas type=nfs

Nothing more to do no ?


UPDATE : I managed to get SMB working in like 1 minute ... still I prefer to use NFS ...

Try with NFS v3, that works for me…

Hmm, I can’t really force that on the NAS. I can enable/disable NFSv4.1 , but other than that its “enable or disable” NFS as a whole.
Is there some command-flag on the ROSE package to force NFSv3 ? (doesn’t like like it…)