[HPADM] Fwd: [SUMMARY] Disk Quota Question

From: Ben Le (ble@pcc.edu)
Date: Thu Apr 21 2005 - 11:47:43 EDT


Thanks to:
Steve Bonds
Bill Hassell
Eef Hartman
Illgen Steve 448

REPLY:
Annoyingly, each block is 512 bytes. (Why couldn't they just be 1k?)
When I do the math, I just think of them as half a kilobyte:
10,000 blocks * 1Kbyte/1024 bytes * 512 bytes / block =
10,000 * 1/2Kbyte = 5,000 Kbytes
So 10,000 "blocks" is about 5MB, depending on one's definition of "mega".
-----------------------------------------------------------------------------------
In Unix, a block has been a classic unit of measure, 512 bytes or
1/2 Kbytes. So 10,000 blocks is 5,000K or 5 megs. The du command
also measures disk space in 1/2K blocks.

>ORIGINAL QUESTION:
>I am checking out the "HP-UX setting up users disk quotas". HP Docs
>instruction shows how to setup a user disk quota example for user 'kevin':
>a. cpset /dev/null /home/quotas 600 root bin
>b. Invoke the quota editor:
> edquota kevin
>b. Input the limits:
> fs /home blocks (soft=10000,hard=12000) inodes (soft=250,hard=300)
>For this example, assume these limits: a soft limit of 10,000 blocks...
>What does it mean 10,000 blocks? What I want to know is disk space size
>limit so I can size the users disk quota limit. How do I translate 10,000
>block size to disk space size. Thanks.
>
>For those of you interest in this "HP-UX setting up users disk quotas",
>open the PDF attached and read starting page 159.
>http://docs.hp.com/en/B2355-90672/B2355-90672.pdf
>
>Ben

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:47 EDT