Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Samba disk space problem
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Samba disk space problem
9th Jun, 2013, 02:41 AM
Post: #2
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Samba disk space problem
create a file named xbian-smb-free in /usr/local/bin, do a chmod +x on it. content as follows
Code:
#!/bin/sh
df $1 | tail -1 | awk '{print $2" "$4}'

edit smb.conf under /etc/samba and put this under [global] section
Code:
dfree command = /usr/local/bin/xbian-smb-free

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Samba disk space problem - danell - 8th Jun, 2013, 09:59 PM
RE: Samba disk space problem - mk01 - 9th Jun, 2013 02:41 AM
RE: Samba disk space problem - danell - 9th Jun, 2013, 07:27 PM
RE: Samba disk space problem - mk01 - 15th Jun, 2013, 11:48 AM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
Question [PROBLEM] Another Samba Problem wallacemckart 9 20,720 31st Dec, 2014 07:33 PM
Last Post: mk01
  Samba and Disk spin down halibut 2 8,682 12th Oct, 2014 04:01 AM
Last Post: halibut
  [SOLVED] Space in Samba share maybeme 2 9,302 17th Jul, 2014 02:28 AM
Last Post: IriDium
  [SOLVED] 100% disk space in use (even after deleting some files) josch 6 20,200 6th Jun, 2014 06:55 AM
Last Post: josch
  [PROBLEM] Samba - problem with mounting 2 partitions koper89 2 7,316 2nd Feb, 2014 04:03 AM
Last Post: koper89

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 9th Jun, 2025, 11:42 AM Powered By MyBB, © 2002-2025 MyBB Group.