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 access a dos-format disk in solaris?

554


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

557


How to view shared memory statistics?

547


How to solve the system hang issue. Found that the memory state is free, commands to check and solve the issue?

582


Tell me how to discover global zone name from local zone?

530






Explain the types of installations in solaris

572


How can a user login to solaris?

570


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

533


how to add Kernel patch in all systems at a time?

2616


How can abiword be compiled for solaris using gcc?

547


What can be done to protect the system from overflow exploits?

569


Tell me how many types of file system?

657


What do you understand by irq assignments?

609


Explain the difference between sc> and lom>?

535


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

549