What is lockfs, in what situation should I use it?

What is lockfs, in what situation should I use it? Till now I have only used growfs with SVM, is lockfs is also related to SVM? Thanks!
beer9Asked:
Who is Participating?
 
joules17Commented:
The lockfs is a really neat feature to deny certain accesses to your filesystem without unmounting it completly. Some locks are more useful for general use than other other. For example the write lock is really useful, when you want to freeze the content of the filesystem.

though it should NOT be used on / filesystem,
and yes it is used in most of the SVM tasks like mirroring data volume etc...
I've pasted a link where you'll find lockfs is used
http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWaadm/LOGVOLMGRADMIN/p27.html
0
 
omarfaridCommented:
0
 
beer9Author Commented:
Thank you :-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.