resize_lfs man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

RESIZE_LFS(8)		  BSD System Manager's Manual		 RESIZE_LFS(8)

NAME
     resize_lfs — resize a mounted log-structured filesystem

SYNOPSIS
     resize_lfs [-v] [-s new-size] mounted-file-system

DESCRIPTION
     resize_lfs grows or shrinks a mounted log-structured filesystem to the
     specified size.  mounted-file-system is the name of the filesystem to be
     resized, and new-size is the desired new filesystem size, in sectors.  If
     new-size is not specified, resize_lfs will default to the current size of
     the partition containing the filesystem in question.

     When growing, the partition must be large enough to contain a filesystem
     of the specified size; when shrinking, resize_lfs must first “clean” the
     segments that will be invalid when the filesystem is shrunk.  If this
     cleaning process results in these segments becoming redirtied, this indi‐
     cates that the given new size is not large enough to contain the existing
     filesystem data, and resize_lfs will return an error.

EXAMPLES
     To resize the file system mounted at /home to 32576 sectors:
	   resize_lfs -s 32576 /home

SEE ALSO
     fsck_lfs(8), lfs_cleanerd(8), newfs_lfs(8)

HISTORY
     The resize_lfs command first appeared in NetBSD 3.0.

AUTHORS
     Konrad Schroder ⟨perseant@NetBSD.org⟩

BUGS
     resize_lfs should be able to resize an unmounted filesystem as well.

BSD			       September 4, 2006			   BSD
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net