So, just mount your 4TB on /home. Stick it in the fstab as LABEL=/home /home ext3 defaults 1 2

On 03/06/11 08:39, vivek chalotra wrote:
Oh  u have done automatic disk partitioning...u have not created
seperate mount point for users.

Vivek Chalotra
GRID Project Associate,
High Energy Physics Group,
Department of Physics & Electronics,
University of Jammu,
Jammu 180006,
INDIA.


On Fri, Jun 3, 2011 at 12:49 PM, Sunil M. Dogra <[email protected]
<mailto:[email protected]>> wrote:


    Hi
    Following is my /etc/fstab and donot see the /home. now how will I
    manage quota for users


    LABEL=/                  /                       ext3
    defaults              1 1
    LABEL=/export        /export                 ext3
    defaults              1 2
    LABEL=/opt             /opt                    ext3
    defaults              1 2

    LABEL=/boot           /boot                   ext3
    defaults              1 2
    tmpfs                       /dev/shm                tmpfs
    defaults              0 0
    devpts                    /dev/pts                devpts
    gid=5,mode=620        0 0
    sysfs                       /sys                    sysfs
    defaults              0 0
    proc                       /proc                   proc
    defaults              0 0
    LABEL=SW-cciss/c0d0p2   swap                    swap
    defaults              0 0




    Regards
    sunil





    On Fri, Jun 3, 2011 at 12:42 PM, vivek chalotra
    <[email protected] <mailto:[email protected]>> wrote:


        Dear Sunil Sir,

        Here are answers to your questions:-

        1. DO an entry in /etc/fsab for /home like the following, but
        make sure where it is actually mounted:-
        # cat /etc/fstab

        LABEL=//ext3defaults1 1

        /dev/VolGroup00/LogVol00 /homeext3defaults,usrquota1 2

        LABEL=/home/homeext3defaults1 2

        LABEL=/boot/bootext3defaults1 2

        tmpfs/dev/shmtmpfsdefaults0 0

        devpts/dev/ptsdevptsgid=5,mode=6200 0

        sysfs/syssysfsdefaults0 0

        proc/procprocdefaults0 0

        LABEL=SWAP-sda5swapswapdefaults0


        # mount –o remount /home

        # quotacheck –a /home (It will create a database file
        aquota.user at /home)

        # quotaon /home (means we have applied quota on /home)

        # edquota –u username (to apply quota on a particular user).

        # edquota sunil

        File Systemblockssofthardinodessofthard

        /dev/mapper/VolGroup00-LogVol00721000000001000000001800

        # edquota –t(To apply grace period)

        Filesystemblock grace periodinode grace period

        /dev/mapper/VolGroup00-LogVol007 days7 days


        2. Mount the 4TB free space in some mount point and then create
          ext3 file system in it using fdisk or
        any other disk management tool.

        Regards
        Vivek Chalotra
        GRID Project Associate,
        High Energy Physics Group,
        Department of Physics & Electronics,
        University of Jammu,
        Jammu 180006,
        INDIA.



        On Fri, Jun 3, 2011 at 10:45 AM, Sunil M. Dogra
        <[email protected] <mailto:[email protected]>> wrote:

            Hi,
            Two Questions:

            1. I would like to give specific disk space to users but I
            don't have /home in /etc/fstab. I will appreciate if some
            one will suggest me how to do disk quota management.

            2. During SL5.5 installation I used 8TB disk space and  kept
            the 4TB disk space free, Now I want to use this 4TB as
            scratch, how will I do that.



            Thank you
            With Best Regards
            sunil




Reply via email to