Skip to Content
Solaris™ 8 System Administrator's Reference
book

Solaris™ 8 System Administrator's Reference

by Janice Winsor
September 2000
Beginner content levelBeginner
1312 pages
33h 47m
English
Pearson
Content preview from Solaris™ 8 System Administrator's Reference

lockfs — Change or Report File-System Locks

Synopsis

/usr/sbin/lockfs [-adefhnuw][-c string][filesystem...]

Description

Use the lockfs command to change and report the status of file system locks. lockfs reports the lock status and unlocks the file systems that were improperly left locked by an application such as ufsdump(1M). This condition could occur if ufsdump(1M) is killed using kill(1).

Using lockfs to lock a file system is discouraged because it requires extensive knowledge of SunOS internals to be used effectively and correctly.

When invoked with no arguments, lockfs lists the UFS file systems that are locked. If you do not specify filesystem and specify -a, lockfs is run on all mounted, UFS-type file systems.

Options

You must be superuser ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Essential System Administration Pocket Reference

Essential System Administration Pocket Reference

Æleen Frisch

Publisher Resources

ISBN: 0130277010Purchase book