Oct 22

Written by m4r3k and tagged by , , .

NetApp logo

NetApp filers support a lot of network protocols for files distribution such (NAS – Network attached storage) a CIFS (Windows share service), NFS (Unix fileshare protocol), HTTP and FTP. Although HTTP and FTP are not generally considered as NAS protocols, NetApp products still support them. In this short blogpost I will show you how to enable FTP service inside vFiler.


First of all, you need to know what directory you would like to export over FTP, this path is case sensitive, here is difference from CIFS that is case insensitive. If you would like to enable FTP service in vFiler you should switch to vFiler context using command vfiler context <vfiler name>. Then you can see your current FTPd configuration for that vFIler using command options ftpd:

vfiler@toaster> options ftpd
ftpd.3way.enable             off
ftpd.anonymous.enable        off
ftpd.anonymous.home_dir
ftpd.anonymous.name          anonymous
ftpd.auth_style              mixed
ftpd.dir.override
ftpd.dir.restriction         off
ftpd.enable                  off
ftpd.locking                 none
ftpd.log.enable              on
ftpd.log.filesize            512k
ftpd.log.nfiles              6
ftpd.tcp_window_size         28960

As you can see FTPd is now off (ftpd.enable off), you can turn it on using this command options ftpd.enable on. Then you can set your ftpd.dir.override to directory you wanna export via FTP (options ftpd.dir.override /vol/vfiler_vfiler_data/my-home/my-shared-Directory/). Then you can try log-in using your FTP client and you might get some errors like 530 Login incorrect - User has no home directory., if your ftpd.dir.override is not root of a volume, this could mean that user you try to log-in under do not have traversal rights to FTP exported directory, so you need to change that or if you have enough up-to-date Data ONTAP (7.3.0 or higher) on your filer, you could have available option ftpd.bypass_traverse_checking, if you turn this option on (options ftpd.bypass_traverse_checking on) you can bypass this traverse checking, so you do not need to acctually enable user you wanna log-in over FTP to traverse over those directories below in directory tree.

No Comments »

Leave a Comment


Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.