Solved

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

Posted on 2009-05-08
3
1,561 Views
Last Modified: 2013-12-27
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!
0
Comment
Question by:beer9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 100 total points
ID: 24336461
0
 
LVL 4

Accepted Solution

by:
joules17 earned 150 total points
ID: 24352123
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
 

Author Closing Comment

by:beer9
ID: 31579454
Thank you :-)
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Parsing a file using ksh 10 82
Write an app 10 80
retrieve nuemaric value from txt file in shell script 3 89
remove one line from a file in solaris 8 68
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question