OpenSolaris

  code review   repo   packages   bugs   defect   polls   planet
You are not signed in. Sign in or register.

OpenSolaris Community: Unix File Systems (UFS)

View the leaders for this community
Community Observers

Unix File System, and generic file system layer

Sun Microsystems, Inc. Internal Community Advocates:

Sarah Jelinek, sarah.jelinek AT sun DOT com
Frank Batschulat, frank.batschulat AT sun DOT com
Karen Rochford, karen.rochford AT sun DOT com
Evan Layton, evan.layton AT sun DOT com
James Wahlig, james.wahlig AT sun DOT com
Rich Brown, rich.brown AT sun DOT com
Shawn Debnath, shawn.debnath AT sun DOT com

An Overview UFS and the generic file system layer in Solaris

UFS is the default, local Solaris file system. UFS is a hierarchical file system, with the root of the file system as inode 2. There are several file system utilities associated with UFS and the generic file system layer in Solaris. UFS supports metadata logging which bundles multiple metadata changes in to one transaction. Logging provides a file system that is consistent with the transaction log, which in general eliminates the need to run fsck(1M) on unclean shutdown. It also provides a significant performance improvement. UFS logging is on by default in Solaris 10.

The generic file system layer in Solaris represents the VNODE and VFS layer interfaces.

The VFS layer provides an administrative interface into the file system to support commands like mount, and umount in a file system independent manner. The interface achieves this independence by means of the VFS object. The VFS object represents an encapsulation of a file system's state and a set of methods for each of the file system administrative interfaces.

The VNODE is a a representation of a file in the Solaris kernel. It encapsulates the files state and methods that can be used to perform operations on that file. A vnode represents a file within a file system;the vnode hides the implementation of the file system it resides in and exposes file system independent data and methods to the rest of the kernel.

UFS and FS source in OpenSolaris

Kernel:

usr/src/uts/common/fs

usr/src/uts/common/fs/ufs

Include files:

usr/src/uts/common/sys/fs

User level commands:

usr/src/cmd/fs.d

usr/src/cmd/fs.d/ufs

Additional UFS(7FS) Information

Documents

Sun blueprints: Design, Features and Applicability of Solaris file systems:

http://www.sun.com/blueprints/0104/817-4971.pdf

Blogs

shepler - Moving forward

Aug 1, 12:53 PM

After 10 years at Sun, another opportunity has presented itself and as a result I will be leaving Sun. It has been a fantastic experience. Great people, great projects, and great products. It has ...

shepler - ONC RPC program number list

Jun 16, 5:31 PM

The IETF NFSv4 Working Group has been going through a lot of house cleaning lately in support of NFSv4.1. One of those items is an update of RFC 1831 . For those of you who don't have a score card ...

shepler - Video of pNFS presentation at SNIA 2007 conference

Feb 14, 9:25 PM

I did three presentations at the SNIA Storage Developers Conference last September. A few nifty videos were done of various presentations. They have been showing up on the Storage Stop blog. My pNFS ...

sarahsblog - What's new in Solaris Install?

Sep 23, 8:45 PM

SXDE3: Introducing the New Solaris Installer Today is the SXDE3 launch! With SXDE3 you will see the first in a series of planned projects for the "New Solaris Installer". You can download SXDE3 at ...

jerrysblog - A busy week for zones

Sep 6, 8:02 AM

This is turning out to be a busy week for zones related news. First, the newest version of Solaris 10, the 8/07 release, is now available . This release includes the improved resource management ...