Solved

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

Posted on 2009-05-08
3
1,543 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
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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
Unix / Linux grid computing 5 163
FTP on FreeBSD server 2 141
how to check for shares on aix 1 85
Showing a username in UNIX and using that name in the script 4 49
Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

828 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