Hi Guys,
Any idea how I can manually add a mounting point for a remote FTP using curlftpfs ?
I'm planning to use a remote FTP for backup and I decided to use curlftpfs to mount it. I tested mounting it via the fstab but being a manual entry is not recognized by OMV.
Since the remotemount plugin does not support curlftpfs at this moment I decided to try to add the new entry manually in the config.xml
I think because the fuse type is not supported I end up with errors like
Could not fetch a matching mount point from the provided fsname
or
Couldn't extract an UUID from the provided path
which seem to come from the mergefs implementation (mergerfs.inc)
I tried all the combinations with no luck.
The intended line in fstab is
curlftpfs#ftp.server.com/folder /mnt/ftp fuse rw,relatime,user_id=0,group_id=0,allow_other 0 0
Bellow are some of my variations of the config.xml entry)
<mntent>
<uuid>4f4a020d-5f7a-4380-9b9d-185b9c18aab9</uuid>
<fsname>curlftpfs#ftp.server.com/folder/</fsname>
<dir>/mnt/ftp</dir>
<type>fuse</type>
<opts>_netdev,x-systemd.automount,allow_other,ssl_control</opts>
<freq>0</freq>
<passno>0</passno>
<hidden>0</hidden>
</mntent>
<mntent>
<uuid>4f4a020d-5f7a-4380-9b9d-185b9c18aab9</uuid>
<fsname>curlftpfs#ftp.server.com/folder/</fsname>
<dir>/mnt/ftp</dir>
<type>fuse</type>
<opts>_netdev,x-systemd.automount,allow_other,ssl_control</opts>
<freq>0</freq>
<passno>0</passno>
<hidden>0</hidden>
</mntent>
<mntent>
<uuid>4f4a020d-5f7a-4380-9b9d-185b9c18aab9</uuid>
<fsname>curlftpfs#ftp.server.com/folder/</fsname>
<dir>/srv/ftp</dir>
<type>fuse</type>
<opts>_netdev,x-systemd.automount,allow_other,ssl_control,fsname=ftp</opts>
<freq>0</freq>
<passno>0</passno>
<hidden>0</hidden>
</mntent>
<mntent>
<uuid>4f4a020d-5f7a-4380-9b9d-185b9c18aab9</uuid>
<fsname>curlftpfs#ftp.server.com/folder/</fsname>
<dir>/srv/ftp</dir>
<type>fuse</type>
<opts>_netdev,x-systemd.automount,allow_other,ssl_control,fsname=ftp:/srv/ftp</opts>
<freq>0</freq>
<passno>0</passno>
<hidden>0</hidden>
</mntent>
Alles anzeigen