The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
doubt reg Minfree. rogerben SUN Solaris 6 05-05-2009 04:03 AM
Resolve startup issues and perform disk maintenance with Disk Utility and fsck iBot OS X Support RSS 0 11-07-2008 09:50 PM
TUNING: fre, minfree, and maxfree relationship kah00na AIX 2 08-14-2007 04:13 PM
Creating file contents using contents of another file ReV Shell Programming and Scripting 21 02-24-2006 10:25 AM
How to Copy Contents from CD to Hard disk vr76413 UNIX for Dummies Questions & Answers 4 07-06-2003 12:20 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-10-2009
vr_mari vr_mari is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 30
Question minfree contents of the disk

Hi

Can anyone tell me the details (or) purpose of the minfree(10%) space in disk.


Thanks in advance
MaroV
  #2 (permalink)  
Old 05-10-2009
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,063
When you do `newfs`, there's the -m switch, with which you specify the
procentage of the disk which will remain reserved ("minfree"). When the
disk fills up to this threshold, any nonprivileged user that tries to write
to the FS will be denied, getting a message that the disk is full. The
reality of it is that the disk still has free space, but only root and
processes can use that space to write to.
  #3 (permalink)  
Old 05-12-2009
vr_mari vr_mari is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 30
Hi Incrdible

Can you tell me what are the processes reside in min free space.

Thanks
MaroV
  #4 (permalink)  
Old 05-12-2009
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,063
minfree is the percentage of a file system reserved for the superuser or privileged processes. The value is 10% by default on UFS file systems.

/usr/sbin/fstyp -v raw_device | grep minfree

ex.
# /usr/sbin/fstyp -v /dev/rdsk/c0t0d0s0 | grep minfree
minfree 10% maxbpg 2048 optim time
  #5 (permalink)  
Old 05-12-2009
togr togr is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 37
vr_mari,
minfree may turn out useful, when your disk becomes full up to last byte. In that case you'd want to log in to system to kill/delete what caused the problem. But logging in to system triggers additional entries to utmpx, wtmpx and perhaps messages -> which require space. It's good to have some extra spare space in case something like the above hits your system.
I can't recall it right know for sure - but besides what Incredible described minfree may have something to do with managing fs fragmentation.
  #6 (permalink)  
Old 05-14-2009
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,063
yes, mine was on managing fs fragmentation
  #7 (permalink)  
Old 05-15-2009
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
minfree's purpose is to minimize fragmentation. If 10% of the the disk is free, then either all of the cylinder groups have about 10% free or some cylinder groups have a lot of free space. Under either condition the the original Mckusick filesystem code would allocate files with little fragmentation. The idea is that fast performance is worth a little disk space. 10% is probably excessive with today's large disks, but disk space keeps getting cheaper and I have never bothered to experiment with smaller values.

Allowing root to continue to use the disk past minfree is a bonus. But bear in mind that if root truely fills the disk, the last files written will almost certainly be very badly fragmented.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:12 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0