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 do you remove a swap space?

560


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

587


How can a user increase the number of pseudo-ttys?

590


Discuss the two modes of the vi editor in solaris.

544


How to view shared memory statistics?

560






How to login to a remote host with solaris secure shell?

544


Explain the vmstat output?

559


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

1761


What are the ways in which replication agreements between directory structures be arranged?

590


Tell me how to set the path for core file?

556


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

541


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

551


Explain custom jumpstart procedure?

2507


How do you break the root password?

597


Suppose I have 20 gb free space in my file system but my inode size full. How will I increase or how will I fix this issue?

604