Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ extendfs(8) — OSF/1 3.0 αXP

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lvextend(8)

newfs(8)

fs(4)

extendfs(8)  —  Maintenance

NAME

extendfs - Extends the size of a UFS file system

SYNOPSIS

/usr/sbin/extendfs [−q] [−v] [−s size] special

DESCRIPTION

If unused disk space remains after the creation of the original UNIX File System (UFS) image on special, the extendfs command can increase the capacity of the file system by updating the file system structure to utilize available disk space. 

The special parameter specifies the raw device file of either a logical volume or a disk partition.  If special is a mounted file system, the file system must be unmounted before extendfs can be run. 

FLAGS

-qQueries the size of special.  The command will not extend the file system. 

-s sizeThe number of 1-kilobyte blocks to be extended. If −s size is not specified, then extendfs uses the maximum possible size. 

-vProvides more verbose information. 

RESTRICTIONS

In order to extend a file system to 2-gigabyte maximum file system size, enough cylinder group summary blocks must have been reserved by the newfs command.  For file systems created by certain older versions of newfs, the full 2-gigabyte file system capacity may not be achieved through extendfs. 

EXAMPLES

To increase the capacity of a UFS file system created on a logical volume, /dev/vg00/lvol1, enter the following commands as root:

# umount /dev/vg00/lvol1

# lvextend -l larger_size /dev/vg00/lvol1

# extendfs /dev/vg00/rlvol1

# mount /dev/vg00/lvol1 mount_directory

RELATED INFORMATION

Commands: lvextend(8), newfs(8). 

Files: fs(4)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026