hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : inodes taking that much space on FreeBSD?
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

inodes taking that much space on FreeBSD?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 07-20-2008, 04:17 PM
Lem0nHead Lem0nHead is offline
Web Hosting Master
 
Join Date: Feb 2004
Posts: 1,226

inodes taking that much space on FreeBSD?


hi
I just noticed something weird on my FreeBSD server

FreeBSD Disklabel Editor shows:
twed0s1e /home 108GB *


df -h shows:
/dev/twed0s1d 105G 4.0K 96G 0% /home


so... 108 GBs become 105 GB that become 96 GBs usable?
that's 11,11% loss
pretty big IMO

(this has nothing to do with "real space"... it's really GBs (1024^3, not 1000^3)

Reply With Quote


Sponsored Links
  #2  
Old 07-20-2008, 04:29 PM
HoundOfTheSmith HoundOfTheSmith is offline
Junior Guru
 
Join Date: Jun 2007
Location: UK
Posts: 219
As has been mentioned in other posts, and covered in the newfs man page, the BSD OSs reserve a certain (tunable) percentage of disk space for root only.

__________________
I think the server saw what was required of it and just committed suicide instead.

Reply With Quote
  #3  
Old 07-21-2008, 06:01 AM
The Ally The Ally is offline
Junior Guru Wannabe
 
Join Date: Jul 2008
Location: London, UK
Posts: 71
Lem0nhead, you want to read the output of "man tunefs", in particular the "-m" parameter. Short form: 8% of file space are by default held back from normal users. You can reduce that, which can have impact on the performance. Anyway, on a /home partition, I cannot see many reasons why you shouldn't reduce it to 0% (whereas on "/var" and "/" you would NEVER want to reduce it to 0%, as you will not be able to login via SSH any more when even root cannot write to the disk).


Cheers
Carsten

Reply With Quote
Sponsored Links
  #4  
Old 07-21-2008, 06:13 AM
zuborg zuborg is offline
WHT Addict
 
Join Date: Jun 2008
Location: Ukraine
Posts: 141
Quote:
Originally Posted by The Ally View Post
Lem0nhead, you want to read the output of "man tunefs", in particular the "-m" parameter. Short form: 8% of file space are by default held back from normal users. You can reduce that, which can have impact on the performance. Anyway, on a /home partition, I cannot see many reasons why you shouldn't reduce it to 0% (whereas on "/var" and "/" you would NEVER want to reduce it to 0%, as you will not be able to login via SSH any more when even root cannot write to the disk).


Cheers
Carsten
The reason is that overfilled FS works very slow. It's too expensive to find not used blocks, they are not optimal to store data for fast access in future, file fragmentation level grows significantly...

The optimal minimum level of free space varies from case to case, but 8% is quite common value to keep system away from overfill suffering - I really don't recommend to lower this tunable.

__________________
Know all about your site performance:
http://Site-Perf.com/

Reply With Quote
  #5  
Old 07-21-2008, 06:21 AM
The Ally The Ally is offline
Junior Guru Wannabe
 
Join Date: Jul 2008
Location: London, UK
Posts: 71
Yes sure. What I meant is that as an absolutely last resort it could be done on a partition where root does not necessarily needs to have a reserve. Of course, it is always better to have a reserve left and to free space than to use every single available byte :-)

My initial posting might have been a bit misleading...

Reply With Quote
  #6  
Old 07-21-2008, 11:12 AM
Lem0nHead Lem0nHead is offline
Web Hosting Master
 
Join Date: Feb 2004
Posts: 1,226
got it
thanks for the replies
I think I'll leave it as it is, since I i/o is a important bottleneck and this would make things slower

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Verio Europe Replaces FreeBSD Hosting Solution with Linux Shared Hosting Web Hosting News 2013-01-14 15:21:25
Web Host Rackspace Adds FreeBSD 9, CentOS 6.3 Support to Cloud Servers Web Hosting News 2012-07-30 12:47:10
NYI Network Administrator Launches New Version of Network Analysis Tool Net Sensor Web Hosting News 2012-06-26 13:53:47
Colocation Provider NYI Launches East Coast Mirror for FreeBSD Foundation Web Hosting News 2012-05-25 10:37:18
Host Virtual Expands Cloud Service in TelecityGroup London Data Center Web Hosting News 2012-02-02 16:55:29


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?