SCIENTIFIC-LINUX-USERS Archives

June 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
James Holland <[log in to unmask]>
Reply To:
James Holland <[log in to unmask]>
Date:
Fri, 3 Jun 2011 13:16:42 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (189 lines)
I'm quite lazy and use Gparted to do this stuff. You can install it by 
doing yum install gparted. You can then see your disks and partitions 
and create and label /home on your free 4TB partition. Then edit 
/etc/fstab. Let us know if you need further help!

On 03/06/11 12:40, Sunil M. Dogra wrote:
>
>
> Hi James Holland,
> Thank you so much for email
> Could you please tell me how I will see that 4TB is free.
> As I have 12x1TB disk mounted as a single disk. Out of 12TB I have used
> 8TB as /export,
>
> Thank you
> With Best Regards
> sunil
>
>
>
> On Fri, Jun 3, 2011 at 4:20 PM, James Holland <[log in to unmask]
> <mailto:[log in to unmask]>> wrote:
> 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
>         <[log in to unmask] <mailto:[log in to unmask]>
>         <mailto:[log in to unmask] <mailto:[log in to unmask]>>> 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
>         <[log in to unmask] <mailto:[log in to unmask]>
>         <mailto:[log in to unmask] <mailto:[log in to unmask]>>> 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
>         <[log in to unmask] <mailto:[log in to unmask]>
>         <mailto:[log in to unmask] <mailto:[log in to unmask]>>> 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
>
>
>
>
>

ATOM RSS1 RSS2