October 10, 2008

Mounting a Samba (SMB) Share in CentOS

Need to mount a samba share on your CentOS server from the command line?

Create a directory on the root:

mkdir /sharename

Then mount the share:

mount -t cifs //<servername>/<sharename> /sharename

if you type df -h you should see that your share is now mounted on the mountpoint that you created earlier.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

You must be logged in to post a comment.