user:jkosty6:portfolio:hpc1project1
Table of Contents
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:
- General Command Line Use
- Confidence in installing packages
- Knowledge of command line editors
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
- 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
- The IP is the IP of the file server the files are stored on, SERVER-FILES
- Multimedia and Downloads are the shares the file folders are in
- \040 is the way of representing a space in a address
- /mnt/abcd specifies the location the share will be mounted on the file system
- cifs specifies the mount type
- credentials are stored in a separate file /etc/cifspasswd .. really not needed but I like to
- 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
In performing this project, the following resources were referenced:
user/jkosty6/portfolio/hpc1project1.txt · Last modified: 2014/12/18 01:24 by jkosty6