User Tools

Site Tools


user:jkosty6:portfolio:hpc1project1

Project: CIFS

A project for HPC I by John Kosty during Fall 2014.

Objectives

  • Access, read, and write to windows SMB shares

Prerequisites

In order to successfully accomplish/perform this project, the listed resources/experiences need to be consulted/achieved:

Background

  • CIFS or Common Internet File System, is a way for me to easily reach my SMB shares as it runs the SMB protocol.
  • CIFS will allow me to mount a share using a single credential.
  • The reason for doing this is because Windows uses a different file system than linux

Procedure

* I begin by install it

  • This installs almost all of the samba tools as well
  • Decided I would place the mount points in /mnt and made the directories

  • Next I need to specify the way that the share is being mounted
  • This is specified in /etc/fstab to make it automatic
  • I added the lines with 192.168.1.253

  1. The IP is the IP of the file server the files are stored on, SERVER-FILES
  2. Multimedia and Downloads are the shares the file folders are in
  3. \040 is the way of representing a space in a address
  4. /mnt/abcd specifies the location the share will be mounted on the file system
  5. cifs specifies the mount type
  6. credentials are stored in a separate file /etc/cifspasswd .. really not needed but I like to
  7. file mode and directory mode decide the control over the mount .. 777 may not be the best for production but fine for testing
  • To mount without restart I do a mount -a
  • Upon checking the mount locations, I can see it was successful all my “legitimate” movies are there

  • The same can be said for the music

  • Something always important to check is that the special characters are coming in right. Dont want half you music to not show up

  • Although it shows up, I may have to change settings in subsonic and plex itself later on

Reflection

I am sure there are many more efficient ways to do what I have done. The most obvious is to not use windows at all. Unfortunately, this is not an option at the time. I do occasionally experience speed issues with this setup, but I have been unable to find the cause. It's probably a driver issue.

References

user/jkosty6/portfolio/hpc1project1.txt · Last modified: 2014/12/18 01:24 by jkosty6