Trying to share files across my network using
Samba
3 pc's all using
Ubuntu
The files I'm trying to share are located on a
external hdd
I have
mounted the external hdd and installed
ntfs-3g
I can
read and
write to the external hdd with no problems.
I enabled sharing on the file I want to share (on external hdd)
I'll go to another pc on the network: connect to server -> windows share -> IP address.
I can connect just fine, I even see the folder I want to access. When I try to access the folder it fails. It says:
Quote:
The folder contents could not be displayed.
"Home_Productivity" couldn't be found. Perhaps it has recently been deleted.
|
I then restarted samba and tried again; same result.
After that I enabled sharing on a folder located on my internal hdd
The share worked.
Is there something special I need to do so that other pc's can access shared files located on my external hdd? I found this, not sure if it will work because my hdd is a firewire connection:
Code:
[usbdisk]
comment = Ekstern harddisk
path = /media/usbdisk
browseable = yes
read only = no
public = yes
Tried changing:
[usbdisk] to [External]
path=/media/usbdisk to path=/media/External
restarted samba: sudo /etc/init.d/samba restart
The share still failed.
If it helps here are the two shares I created as shown in smb.conf
This share fails:
Code:
[Home_Productivity]
path = /media/External/Home_Productivity
available = yes
browsable = yes
public = yes
writable = yes
This share works:
Code:
[docs]
path = /home/tbuss/docs
comment = test share file
available = yes
browsable = yes
public = yes
writable = yes
output from mount:
Code:
tbuss@tbuss-desktop:~$ mount
/dev/hdb5 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.17-11-generic/volatile type tmpfs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
/dev/sda1 on /media/External type fuse (rw,nosuid,nodev,noatime,allow_other,default_permissions)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
tbuss@tbuss-desktop:~$
All I need to do is to be able to access a folder that is stored on a external hdd. Why am I not able to do this. I can write to it, I can read from it (on local pc) but I cannot share the folder on it.