Skip to content

ScaleComputing/autolvm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 

Repository files navigation

autolvm

Basic udev-triggered automatic volume expansion for BRS

This script and udev rule 'listen' for new attached block devices (VSDs) on a system and automatically add them to an LVM volume group or specific logical volume per the user's preference.

Installation

The autolv_installer.bsx deploys the changes/script and provides the initial user configuration. (see latest release for installation one-liner) A default configuration for Turnkey Linux targeting the turnkey volume group and root logical volume is provided, or you can select an existing volume group or define a new one, then optionally, you can specify a target logical volume.

Files Installed

/etc/udev/rules.d/10-autolvm.rules
/usr/sbin/autolvm

Usage

Once installed and configured, no action is required from the user. autolvm can be run to gather information or reconfigure the automatically expanded target at any time.

Options

autolvm [ --help | -h | -? ] Provides usage and examples
autolvm --list Displays the current volume group (and optionally logical volume) target
autolvm [ VG_name ] [ LV_name ] Reconfigures the target(s) to the arguments provided

With no arguments, --list will display the current selection(s) and offer reconfiguration.

Building the installer

If you prefer to build the installer manually, run the following from the build_install folder:

chmod +x build && ./build

This will produce autolv_installer.bsx in the build_install folder.

About

Basic udev-triggered automatic volume expansion for BRS

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%