ROHAUT Sébastien (EXT OSIATIS)
2009-Feb-03 15:17 UTC
[Samba] Problem sharing a directory which contains other mountpoints
Hi, Here is my problem : On a server we have a directory, /data, shared with Samba. In this directory, we have two mountpoints : mp300 which contains a 300GB filesystem, and mp500 which contains 500GB filesystem. So we have : |----data |-------mp300 => 300GB |-------mp500 => 500GB and /data is shared wich Samba. On Windows, if we try to put many files, a example 30GB, in /data/mp300 (or /data/mp500), Windows says there isn't enough free space : it reports the free space on /data, which is on the root directory, so it reports only free space of the root shared directory, and it doesn't see the free 300GB ou 500GB of the mountpoints included. Is it possible to make Samba report free space of each subfolders (mounted), and not from the root shared directory ? Cordialement, S?bastien ROHAUT
John Drescher
2009-Feb-03 15:41 UTC
[Samba] Problem sharing a directory which contains other mountpoints
On Tue, Feb 3, 2009 at 10:07 AM, ROHAUT S?bastien (EXT OSIATIS) <ext.osiatis.sebastien.rohaut@sncf.fr> wrote:> Hi, > > > > Here is my problem : > > On a server we have a directory, /data, shared with Samba. In this directory, we have two mountpoints : mp300 which contains a 300GB filesystem, and mp500 which contains 500GB filesystem. > > > > So we have : > > |----data > > |-------mp300 => 300GB > > |-------mp500 => 500GB > > > > and /data is shared wich Samba. > > > > On Windows, if we try to put many files, a example 30GB, in /data/mp300 (or /data/mp500), Windows says there isn't enough free space : it reports the free space on /data, which is on the root directory, so it reports only free space of the root shared directory, and it doesn't see the free 300GB ou 500GB of the mountpoints included. > > > > Is it possible to make Samba report free space of each subfolders (mounted), and not from the root shared directory ? >Mount them in windows as 2 different drives or use dfs on the samba server (not 100% sure if that works). John
Volker Lendecke
2009-Feb-03 15:42 UTC
[Samba] Problem sharing a directory which contains other mountpoints
On Tue, Feb 03, 2009 at 04:07:20PM +0100, ROHAUT S?bastien (EXT OSIATIS) wrote:> Is it possible to make Samba report free space of each > subfolders (mounted), and not from the root shared > directory ?Look at the "dfree command" smb.conf option. Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20090203/026514c0/attachment.bin
Reasonably Related Threads
- Nvme m.2 disk problem
- bad URI problem when submitting a form
- IO errors on mountpoints cause failure with --one-file-system
- [PATCH] daemon: Fix /dev/mapper paths from mounts and mountpoints (RHBZ#646432).
- Fwd: needinfo requested: [Bug 1828289] virt-v2v: error: libguestfs error: mountpoints: stat: /dev/centos/home: No such file or directory