Query: resize_lfs
OS: netbsd
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RESIZE_LFS(8) BSD System Manager's Manual RESIZE_LFS(8)NAMEresize_lfs -- resize a mounted log-structured filesystemSYNOPSISresize_lfs [-v] [-s new-size] mounted-file-systemDESCRIPTIONresize_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 cur- rent 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 indicates that the given new size is not large enough to contain the existing filesystem data, and resize_lfs will return an error.EXAMPLESTo resize the file system mounted at /home to 32576 sectors: resize_lfs -s 32576 /homeSEE ALSOfsck_lfs(8), lfs_cleanerd(8), newfs_lfs(8)HISTORYThe resize_lfs command first appeared in NetBSD 3.0.AUTHORSKonrad Schroder <perseant@NetBSD.org>BUGSresize_lfs should be able to resize an unmounted filesystem as well.BSDSeptember 4, 2006 BSD
Related Man Pages |
---|
resize2fs(8) - debian |
xfs_growfs(8) - suse |
lfs_cleanerd(8) - netbsd |
xfs_info(8) - redhat |
xfs_info(8) - linux |
Similar Topics in the Unix Linux Community |
---|
Free size for File System |
File system size change |
increasing file system size |
shrinking filesystem error |
FS Utilization Issue |