Capital City Christian Church

NAS File Server



Introduction

Until recently, there were the mediag and mediah shares. After talking with Steve S. and others, it was decided that the two should be merged into a single share named media. So the files on mediah were copied to mediag and mediag was renamed to medis (04.28.2021 14:26:33).

A NAS is a special purpose device that provides File Services as a traditional file server does, but by while a file server is a general purpose processer and form factor, a NAS is specialized in providing file services. The disks in a NAS are typically NAS specific and are designed to tollorate vibration and use longer and better. The device is specialized in providing disk space on a network. It has a specialized OS that focuses on the functions of providing disk space, but without the overhead of a general purpose processor and OS.

In our case, our Synology NAS provides disk space along with an internal website running Apache2.

You should also make a habit of keeping any important file on the NAS File Server since it is regularly backed up off-site.


Connecting to the NAS File Server from a Apple Mac Computer

The Shares - the following are the shares that the NAS File Server shares (sections of server disk space made available to remote clients).

To connect to these shares using a Mac computer, you must have an account on the NAS system. The network administrator will use the DSM interface to setup user accounts. See the DSM.html page for more information.

Steps to connect to the new shares:

  1. Open Finder on your Mac computer.
  2. Find the menu bar along the top of the screen.
  3. Click Go and select Connect to Server.
  4. enter the URL below into the Server Address box
  5. click on the small plus sign button to the right of the address
  6. press enter
  7. Check the 'Registered User' radio button. Enter your username and password. The username is first-initial and last name (bbellamy, vhuber...). The default password will be provided as needed by the network administrator.
  8. Check the box labeled 'Remember this password in my keychain'
  9. Click enter to process this connection setup.
  • Finally, if your user name credentials are correct, you will now see your Synology NAS listed under the Shared section of your Finder window. Double-click the shared folder to explore its contents. From here you would create, edit, move, delete files.

  • Connecting to the new CCCC server shares from a Windows PC

    Follow the instructions on the following page to connect a Windows pc to the NAS.

    "Synology NAS is designed to make storing and sharing files within your local network quick and simple, allowing you to directly access shared folders and files on the Synology NAS without going through the hassle of logging into DSM everytime. For example, you'll be able to store files to your Synology NAS with Windows Explorer just like other network devices." Ref 04.22.2021 12:28:40 www.synology.com/en-global/knowledgebase/DSM/help/DSM/Tutorial/store_with_windows

    You can also connect from the command line using the following commands. You can substitute the drive letters (x:, y:, and z: in the example below) for any unused drive letters you would like.

    The '/PERSISTENT:YES' parameter will cause your system to reconnect automatically.

    Syntax: NET USE S: "\\10.32.10.6\SHARE_NAME" /PERSISTENT:YES
    
    net use x: \\10.32.10.6\staff /persistent:yes
    net use y: \\10.32.10.6\media /persistent:yes
    

    Finally, if your user name credentials are correct, you will now see your Synology NAS listed under the File Explorer program. Double-click the shared folder to explore its contents. From here you would create, edit, move, delete files.


    Connecting to the new CCCC server shares from a Linux system

    The basic information above also applies to Linux systems. The only difference is the syntax of the shell commands to mount the shares.

    From the command line you can use these examples

    sudo mount -t cifs //10.32.10.6/staff /media/ben/staffNAS -o
     username='youraccountnamehere',password='yourpasswordhere',dir_mode=0777,file_mode=0777
    
    sudo mount -t cifs //10.32.10.6/mediag /media/ben/mediagNAS -o
     username='youraccountnamehere',password='yourpasswordhere',dir_mode=0777,file_mode=0777
    
    sudo mount -t cifs //10.32.10.6/mediah /media/ben/mediahNAS -o
     username='youraccountnamehere',password='yourpasswordhere',dir_mode=0777,file_mode=0777
    


    Reference: