LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba share free space reported as root partitition (https://www.linuxquestions.org/questions/linux-software-2/samba-share-free-space-reported-as-root-partitition-4175612197/)

trexdude_99 08-18-2017 08:18 AM

Samba share free space reported as root partitition
 
Hi all,

When I map a Windows Drive to my Samba share, Windows reports the free space as the free space on my root partition.

Windows reports "There is not enough space on vtk (\\10.194.138.50) You need an additional 595 MB to copy these files when copying to /usr/dbnobkp/vtk. If I add space to root, the copy works fine, but I don't want to keep adding space to root so large files can be copied to file systems that already have enough space.

Thanks!

[global]
workgroup = NETWORK-NT
netbios name = devserver
name resolve order = bcast host lmhosts wins
server string = Samba Server
security = user
log file = /usr/local/samba/var/log.%U
max log size = 50
interfaces = 10.194.138.50/255.255.255.0
encrypt passwords = yes
passdb backend = smbpasswd:/etc/security/smbpasswd
browsable = no
socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=524288 SO_SNDBUF=524288
map archive = no
deadtime = 0
keepalive = 120
restrict anonymous = 2
lock dir = /usr/local/samba/var/locks
Local master = No
Server signing = auto
Use spnego = yes
read raw = yes
write raw = yes
large readwrite = yes
use sendfile = true
getwd cache = yes
oplocks = yes
max xmit = 32768
max protocol = SMB2

[homes]
comment = Home Directories
path = /
writable = yes
valid users = %S
create mode = 0760
directory mode = 0770
locking = no

Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 2.00 1.03 49% 3806 2% /
/dev/hd2 4.02 0.90 78% 53248 18% /usr
/dev/hd9var 2.00 1.78 11% 1326 1% /var
/dev/hd3 0.50 0.32 37% 1138 2% /tmp
/dev/hd1 0.02 0.01 35% 340 12% /home
/proc - - - - - /proc
/dev/hd10opt 1.00 0.25 76% 12349 18% /opt
/dev/fslv00 1.00 0.44 56% 2573 3% /usr/progress
/dev/fslv01 10.00 0.68 94% 40248 15% /usr/progress1
/dev/fslv02 3.00 0.42 86% 51700 22% /usr/pcs
/dev/fslv03 30.00 5.54 82% 392205 15% /usr/vision
/dev/fslv04 42.00 7.46 83% 153664 4% /usr/db
/dev/fslv05 325.00 24.36 93% 1444524 13% /usr/dbnobkp

/dev/random 08-19-2017 10:09 AM

Why are you mapping your entire root partition as a share?

As mount shows, you only need to add space to /dev/fslv05 as your attempting to write to the directory it's mounted on.


All times are GMT -5. The time now is 10:03 AM.