Friday, September 21, 2012

DISK QUOTA PERMISSIONS IN SOLARIS 10

verify before prceeding.

SUN#df -k or df -h
sun#format

follow the below screen shots.



next create a filesystem on partition.
#newfs /dev/rdsk/c0t0d0s(enter the slice no you have selected)


1.create a user account with home directory and assign password to the user.
sun#useradd -d /export/home/<home dir> -m sun<username>
sun#passwd <username>
password:
confirm password :

2.mount the partition on user home directory.
sun#mount /dev/dsk/c0t0d0s<no> /export/home/<user home dir>

quota permissions:
sun#cd /export/home
sun#touch quotas
sun#quotaon -v /export/home
sun#edquota <username>
new window will appear
fs /export/home   blocks(soft=4,hard=8)
                inodes (soft=4,hard=8)
then save the file.

To copy the quota permissions from one user to another user.
sun#edquota -p <old user> <new user>

To verify-
sun#repquota -v /export/home

To turnoff quota
sun#quotaoff -v /export/home.

                                                Thank you for Reading.

  

No comments:

Post a Comment

Popular Posts

Followers

Disclaimer

All Data and Information Provided on This BLOG is only for Education purposes only.If you done any thing else these in real time the blog is not Responsible.Try all those on your own risk.
IF you find any thing else here as per in violation of copyright law .mail me on srinathceh@gmail.com as soon as possible action will be taken.