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
How can a user login to solaris?
What can be a reason for the solaris system slowing down?
Tell me how to mount the floppy & cd-rom?
What can be a reason for the solaris system slowing down? How can it be rectified?
Discuss the two modes of the vi editor in solaris.
How do you break the root password?
Explain the difference between sc> and lom>?
How can a user boot in solaris as root if the password is non functional?
Explain the difference between pid and ppid with example.
How can abiword be compiled for solaris using gcc?
What are nis daemons?
Explain the difference between swap -l & swap -s?
How can a user increase the number of pseudo-ttys? what is their use?
environment? Is it heterogeneous (mix of linux, solaris,other UNIX)?
What causes the rpc.ttdbserverd process to be cpu bound?