IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
The new option "--fs String" for lvresize/lvreduce/lvextend
controls the handling of file systems before/after resizing
the LV. --resizefs is the same as --fs resize.
Possible --fs values:
checksize
Only used when reducing the size, does nothing when exending.
Check the fs size, and reduce the LV if the fs is not using
the affected space, i.e. the fs does not need to be shrunk.
Fail the command without reducing the fs or LV if the fs is
using the affected space.
resize_remount | resize
Resize the fs if needed. Mounts or unmounts the fs as
required (avoids mounting/unmounting when possible.)
Attempts to restore the original mount state when finished.
resize_keepmount
Resize the fs if needed, only if it can be done without
changing the current mount state. Fail the command without
resizing the fs or LV if an fs resize requires mounting or
unmounting.
resize_unmount
Resize the fs if needed, only while unmounted. Unmount the
fs if needed. Fail the command without resizing the fs
or LV if an fs resize is needed that requires the the fs
to be mounted.
resize_fsadm
Use the old method of calling fsadm to do handle the fs
(deprecated).
ignore
Resize the LV without checking for or handling a file system.
Notes on lvreduce:
When no --fs or --resizefs option is specified:
. lvextend default behavior is fs ignore.
. lvreduce default behavior is fs checksize
(includes activating the LV.)
With the exception of --fs resize_fsadm|ignore, lvreduce requires
the recent libblkid fields FSLASTBLOCK and FSBLOCKSIZE.
FSLASTBLOCK*FSBLOCKSIZE is the last byte used by the fs on the LV,
which determines if reducing the fs is necessary.