[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9367.0. "Need to limit fileset size" by VAXRIO::MIRIAM (Unix Group - CSC/Brazil) Wed Apr 02 1997 15:00

    
     Hi,
    
      A customer created two file sets in the same advfs domain and wants
    to limit the maximum size of each one.  We tried to set quota to the
    fileset using chfsets but only regular users are limitted. 'root' has
    no limit.  Is there a way of fixing a size limit to the file set?
    
      We are using Digital UNIX v3.2C.
    
      Thanks in advance,
    
           Miriam  
T.RTitleUserPersonal
Name
DateLines
9367.1DECWET::MARTINWed Apr 02 1997 19:4811
Hmmm.  That's still the case in Steel.

Fileset quotas are the only way of setting a size limit to individual filesets,
but apparently this "limit" doesn't apply to superusers, who are allowed to do
whatever they want to do.  Is there some reason why they MUST limit root's
abilities?

If you (and/or your customer) feel this is a bug, please file a QAR or IPMT,
whichever is appropriate.  

--Ken
9367.2Fset need to be limited ...BACHUS::DEVOSManu Devos DEC/SI Brussels 856-7539Thu Apr 03 1997 10:4611
    >> Is there some reason why they MUST limit root's abilities?
    
    Yes, a fileset is competing with all the other filesets for the
    domain's space. So, how can we prevent a filesystems containing 
    log files updated by root to eat the whole domain's space?
    
    On a UFS filesystem, root cannot extent the filesystem space beyond
    the partition limit. We would like to have the same limit for fset.
    
    Thanks in advance
    Manu.
9367.3LEXSS1::GINGERRon GingerThu Apr 03 1997 15:323
    Make your advfs domain on a partition of a size you like, and only make
    one fileset in the domain. You will have excatly the same effect as
    UFS, but stillhave the benefit of  advfs.
9367.4BACHUS::DEVOSManu Devos DEC/SI Brussels 856-7539Thu Apr 03 1997 16:1610
    Except that striping is not possible ...
     Except that file migration is not possible ...
      Except that I need this limitation on a fileset which is a member
    	of a DECsafe service with volumes/mirroriing contraints...
    
    
    Anyway, thanks for the suggestion...
    
    Manu.
    
9367.5DECWET::MARTINThu Apr 03 1997 18:2314
Currently, your only options are to separate the filesets into different
domains, as suggested in .3, or to throttle the log files that are being updated
by root, or change the processes that update these log files to be run by a
non-root user.

Limiting your system to one fileset per domain does *NOT* limit you to one
volume per domain.  The only difference between having two filesets on one
domain vs. two filesets on two different domains is that the two filesets can't
share the same physical disk space.  Striping is still possible.  File migration
is still possible.  Without knowing more about your DECsafe service with
volumes/mirroriing constraints, I can't tell you if that's still possible or not.

If you feel this is insufficient (as apparently you do), you need to file a QAR
and/or IPMT case to get anything changed.
9367.6Yes, I know....BACHUS::DEVOSManu Devos DEC/SI Brussels 856-7539Fri Apr 04 1997 10:399
    Thanks to all for your replies,
    
    Simply, I discovered in .0 a limitation of the Fileset quota that I
    didn't know. My reasoning was the following:
    
    As root is able to change the fileset quota, then it can also be
    submitted to the quota limit. 
    
    Manu.
9367.7Thank you...VAXRIO::MIRIAMUnix Group - CSC/BrazilFri Apr 04 1997 10:447
    
     Thank you all for the replies. The customer can deal with this root
    restriction.
    
      Best regards,
    
       Miriam