PDA

View Full Version : mounting the NAS to a custom appliance


Jsmart
11-07-2007, 04:22 AM
In short:

add a terminal to your appliance with the Class Editor for the NAS connection if it does not have one.

I will assume in this example it is called "fs"

create a dir for the mount point if needed

mkdir /mnt/fs

then fix the /etc/fstab to have an entry that mounts the share on boot.

fs:/mnt/data /mnt/fs nfs rw 0 0
this will mount the data share on the NAS appliace to /mnt/fs using NFS

//fs/share /mnt/fs cifs noauto,rw,guest,uid=nobody,gid=nobody 0 0
this will mount the data share on the NAS device to /mnt/fs using CIFS

* I am assuming that if you are tying to mount using NFS or CIFS that your appliance has these clients installed and they are a compatible version with the current NAS or your branched version.

--- Jessie