Freebsd mount a NAS via SMB / CIFS (howto)

Qestion: I want to use our NAS server to store backups. Our NAS supports FTP and CIFS / SMB sharing technology. How do I mount and store files on NAS using FreeBSD? How do I automate entire procedure using a shell script? Is that doable? If so, what’s the easiest solution ftp or CIFS?

Answer. The mount_smbfs command mounts a share from a remote server using SMB/CIFS protocol. You can easily mount NAS share using the following syntax:

Source: cyberciti.biz (25/01/2008)

About Gerard

Gerard is a keen user of open source operating systems and software. On this blog he shares FreeBSD news and links that he comes across.
This entry was posted in FreeBSD and tagged . Bookmark the permalink.

One Response to Freebsd mount a NAS via SMB / CIFS (howto)

  1. Adam says:

    Why would you do this when 99% of NASes allow native NFS exports?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>