[HPADM] Fwd: [SUMMARY] Disk Quota Question

From: Ben Le (ble_at_pcc.edu)
Date: 04/21/05

  • Next message: Joe Atkinson: "[HPADM] [SUMMARY] Ultrium-1/2 issues"
    Date: Thu, 21 Apr 2005 08:47:43 -0700
    To: hpux-admin@dutchworks.nl
    
    

    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)
    

  • Next message: Joe Atkinson: "[HPADM] [SUMMARY] Ultrium-1/2 issues"