Overlapping Samba Shares
Posted
by
Toaomalkster
on Server Fault
See other posts from Server Fault
or by Toaomalkster
Published on 2012-12-04T08:02:28Z
Indexed on
2012/12/06
5:07 UTC
Read the original article
Hit count: 441
samba
Is it OK to have samba shares that overlap, like the following:
[whole-drive]
path = /mnt/myusbdrive
...
[music]
path = /mnt/myusbdrive/music
...
[movies]
path = /mnt/myusbdrive/movies
...
I have a mounted external HDD with music and movies, plus a whole bunch of other stuff like backups. I want to expose the music and movies directories as separate samba shares (probably with guest access), so that they're uncluttered with all the other stuff; and I want to expose the entire drive as a separate samba share (with higher permissions) for doing more administrative things across the drive.
Does Samba behave well with this configuration? I'm wondering if I'd end up with problems like phantom writes if the same file is accessed at the same time across two different shares.
Details:
- OS: Debian GNU/Linux wheezy/sid on Raspberry Pi
- HDD: NTFS, mounted as ntfs-3g.
- Samba: version 3.6.6
© Server Fault or respective owner