Administering filesystems

Adding disk space and restructuring filesystems

A chronic shortage of space usually results from having more users on the system than the current hard disk can reasonably handle, or simply having too many directories or files. In either case, creating a new filesystem on a new hard disk allows you to transfer some of the users and directories from the primary hard disk to the new location, freeing a significant amount of space on the existing filesystem and improving system operation.

If free space is chronically low on your system, you might want to expand your system storage capacity by installing additional hard disks. See for more information. Once you partition the disk and create new slices with fdisk(1M) and disksetup(1M), you can use the added disk space or copy existing user or system directories to it.

If one filesystem is full and other filesystems have a significant amount of free space (or there is additional unused space on the hard disk), you can change the layout on the primary disk to take advantage of the free space. However, this procedure is not as simple as adding a second hard disk.

To change the number of filesystems on your hard disk or to reapportion the disk space among the filesystems:

  1. Create a complete backup of each filesystem on your system.

    WARNING: Be certain that you have a complete, accurate, and readable backup for each filesystem before you continue or you may lose your files.

  2. Reinstall your system as described in the Getting Started Guide.

    NOTE: Make sure you select customization of your hard disk layout and redistribution of disk space among the filesystems.

  3. Restore the data from the filesystem backups.

See also:

Next topic: Troubleshooting the Filesystem Manager
Previous topic: Deleting /tmp directories

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004