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!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
Add a new command line option --detectfs y|n, along with
the capability to detect if the LV contains a shrinkable
file system (using libblkid).
The new fs detection is performed by default to avoid
acccidental data loss by users who reduce an LV without
knowing that the file system cannot be reduced, or without
including the --resizefs option to reduce the reducible fs.
The new errors reported for these cases are:
$ lvreduce -L64M --detectfs y vg/lv
Detected file system type xfs that cannot be reduced (from --detectfs).
$ lvreduce -L64M --detectfs y vg/lv
Detected file system type ext4 that can be reduced (see --resizefs).
When detectfs is enabled, the lvreduce command will activate
the LV to check the fs type.
Using --detectfs n results in the same historical (and
somewhat dangerous) lvreduce behavior.