2 Attachment(s)
Samba share from mounted disk impossible.
Hello
I have an asus X720D laptop I want to use as a little samba fileserver. This laptop is equipped with 2 (two) 500 GB drives. everything is ext4 formatted.
First drive (sda) contains /home directory and all the systems subdirectories
Second drive (sdb) contains a single big 500 GB partition mounted in one single directory (/mnt/data)
-> here is the mount graph :
(will PM you on demand for I need 15 posts to paste http links)
everything works perfectly on internal access from the laptop.
I want to share both homes directories for windows users AND this /mnt/data directory-drive-partition for windows users inside my little network (192.168.1.XX) and workgroup.
This works perfectly for all shares (home, printers and printing, pdf generator) but definitely refuses to work for the mounted sdb drive. All attempts give an access denied from windows client.
Yes, I HAVE checked rights and permissions for /mnt/data (and set it to 0777 so that it SHOULD work).
I belive there must be a problem from Samba refusing to serve mounted partitions, or a mount option mistake somewhere, which does not give a visible (for me) error in log.smbd but I may not have investigated intensively this log file.
My system is OpenSuse 11.4, perfectly fine tuned and running. Accessing /mnt/data from laptop is working.
here is my smb.conf file:
Code:
(will PM you on demand for I need 15 posts to paste http links)
here is my fstab file:
Code:
/dev/disk/by-id/ata-ST9500325AS_6VEDPJ0G-part6 swap swap defaults 0 0
/dev/disk/by-id/ata-ST9500325AS_6VEDPJ0G-part7 / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-ST9500325AS_6VEDPJ0G-part5 /home ext4 defaults 1 2
/dev/disk/by-id/ata-ST9500325AS_6VEDMC5Y-part1 /mnt/data ext4 defaults 1 2
/dev/disk/by-id/ata-ST9500325AS_6VEDPJ0G-part2 /mnt/windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=fr_FR.UTF-8 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
does a mount option from fstab prevents or allow file sharing from a mounted disk ? this is the question.
How can I correct this.
All other shares from (sda) are possible with no problems at all which suggests me there may be a mount option problem
here are in french mout options for (sdb)
(will PM you on demand for I need 15 posts to paste http links)