Originally Posted by jeffreydavisjr
Thanks for your reply! However when I run "yum install smbfs" centos returns a "no package available" error. I am running Centos 6.2.
Sorry, since I don't know much about Cent O/S, I misguided you.
I just ran this below on Cent5.7 and could successfully mount samba share(192.168.0.1/Docs) with cifs.
#yum install samba samba-common samba-client
then I ran
#mount -t cifs //192.168.0.1/Docs /mnt
Filesystem Size Used Avail Use% Mounted on
/dev/md1 15G 4.5G 9.1G 33% /
/dev/md0 487M 36M 426M 8% /boot
tmpfs 328M 0 328M 0% /dev/shm
/dev/md3 1.4G 35M 1.3G 3% /backup
//192.168.0.1/Docs 541G 105G 409G 21% /mnt
Since my samba share is not password protected I added an entry as below to the /etc/fstab file for permanent mount
//192.168.0.1/Docs /mnt cifs uid=500,gid=501 0 0
The permanent mount also is working fine for me.
You make sure the host "nas01" is pinging from your cent machine, if not add that machine IP address to /etc/hosts file.
IP_address_of_server nas01.something.com nas01
Then edit /etc/fstab file and append the following to the end as below
//nas01/nas_share /mnt/nasbox cifs uid=your_id,gid=your_group_id 0 0
or if it is password protected
//nas01/nas_share /mnt/nasbox cifs username=samba_username,password=samba_user_password,uid=your_id,gid=your_group_id 0 0
save the file and run
Now it should be mounted with /mnt/nasbox