1825792 Members
2205 Online
109687 Solutions
New Discussion

Re: SAMBA using /usr

 
patkarss
New Member

SAMBA using /usr

Hi Guys,

Does anyone come across this weird situation of SAMBA filling up /usr partition. I have /usr filesystem of 15gb. Sometimes it gets 100% full however if you do "du -sk ." then what you cud find is it's using hardly 1.8GB. This server is running SAS application and hence using SAMBA application. We suspect SAMBA may be blocking /usr's space, any idea? Have anyone encountered similar problem before, pl advice & help.
4 REPLIES 4
Laurent Laperrousaz
Regular Advisor

Re: SAMBA using /usr

Hi,

Where does it show 100% used ? is it local on HP-UX with df or on the Windows station "properties" ?
Laurent Laperrousaz
Regular Advisor

Re: SAMBA using /usr

I checked on my network because we do have a lot of shares on HP-UX and it appears that properties shown on Windows are completly wrong regarding disk space.
It does not disallow you to work on that share
Steven E. Protter
Exalted Contributor

Re: SAMBA using /usr

Shalom,

Check smb.conf log locations. It is supposed to put the logs into /var

Perhaps someone changed the location to /usr

This would be totally inappropriate but would explain things.

Alos check that the logging level is 1 unless you like full filesystems. My best guest is that someone was having trouble with samba and changed the logging location and level to try and diagnose. Then they forgot to turn it off.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bill Hassell
Honored Contributor

Re: SAMBA using /usr

I would NEVER allow SAMBA to share /usr!!!

This is a critical directory for HP-UX with all the commands and processes, man pages, program libraries, for users as well as system administrators. SAMBA should be used to exchange data and as such the only directory designated for that purpose would be /var, and specifically, I would create a /var/tmp/samba directory to share that space (*NOT* /var).


Bill Hassell, sysadmin