How to use disk quotas in solaris (command mode) ? what is
the procedure for how to allocate particular space to
particular user

Answer Posted / sandeep

create one slice and format it.
#mount it on /export/home
#useradd -d /export/home/rao -m rao
#useradd -d /export/home/raj -m raj
#passwd rao
#passwd raj
#cd /export/home
#touch quotas
#quotaon -v /export/home
#edquota rao
fs /export/home blocks(softs=4,hard=6)inodes(soft=8,hard=12)
click on file and save it,then close it
telnet 0
login as rao
#touch 1 2 3 4 5 6
#touch 7(here warning will come but file is created)
#touch 8 9 10(now here error will come)

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can a user login to solaris?

649


What can be a reason for the solaris system slowing down?

620


Tell me how to mount the floppy & cd-rom?

602


What can be a reason for the solaris system slowing down? How can it be rectified?

666


Discuss the two modes of the vi editor in solaris.

619






How do you break the root password?

666


Explain the difference between sc> and lom>?

620


How can a user boot in solaris as root if the password is non functional?

647


Explain the difference between pid and ppid with example.

741


How can abiword be compiled for solaris using gcc?

646


What are nis daemons?

660


Explain the difference between swap -l & swap -s?

648


How can a user increase the number of pseudo-ttys? what is their use?

631


environment? Is it heterogeneous (mix of linux, solaris,other UNIX)?

1829


What causes the rpc.ttdbserverd process to be cpu bound?

635