Updated: LVM TOOLS (2) (2014-09-01)
fsadm [options] check device
fsadm [options] resize device [new_size[BKMGTEP]]
On successful completion, the status code is 0. A status code of 2 indicates the operation was interrupted by the user. A status code of 3 indicates the requested check operation could not be performed because the filesystem is mounted and does not support an online fsck?(8). A status code of 1 is used for other failures.
Resize the filesystem on logical volume /dev/vg/test to 1000 megabytes. If /dev/vg/test contains ext2/ext3/ext4 filesystem it will be unmounted prior the resize. All [y/n] questions will be answered 'y'.
Tutoriais de Tecnologia Web