| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
|
|
|
| |
link some globals that the tools need into that structure.
|
|
|
|
| |
o Disable control-c during updates (except if blocked waiting for a lock)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Text format now has a description and time field at the top level.
o archiving and backup set the description appropriately. eg,
for an archive:
description = "Created *before* executing 'lvextend test_vg/lvol0 -l +1'."
creation_time = 1013166332
for a backup:
description = "Created *after* executing 'lvextend test_vg/lvol0 -l +1'."
creation_time = 1013166332
This is preparing the way for a simple vgcfgundo command.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
slightly different from the current LVM1 method.
lvcreate --persistent y --minor 10 (to specify when created)
lvchange --persistent n (to turn off)
lvchange --persistent y --minor 11 (to change)
--persistent uses a new LV status flag stored on disk
minor number is stored on disk the same way as LVM1 does
(but major number stored is 0; any LVM1 major/minor setting gets lost)
lvchange -ay --minor 12 (to activate using minor 12, regardless of the
on-disk setting, which doesn't get changed)
--minor == -m
--persistent == -M
|
| |
|
|
|
|
|
| |
o Require -a or <list of vgs> parameters with vgexport/vgimport
o Allow pvcreate -ff to destroy exported/partial VGs
|
|
|
|
|
| |
o When volume group does not have write flag set, prevent changes to it.
o Preparation for partial activation (not completed yet).
|
| |
|
|
|
|
| |
specified in config file.
|
|
|
|
| |
o Fix a couple of bugs related to the earlier lv_list change
|
| |
|
| |
|
| |
|
|
|
|
|
| |
o Make /proc configurable.
o Review hard-coded "/dev"s - made 2 more of them configurable.
|
|
|
|
|
|
|
| |
o updated vgcfgrestore args
o change _check_for_open_devices only to check devices present in the hash
table instead of using dev_iter which triggers a full scan even when only
displaying command line help
|
| |
|
| |
|
|
|
|
|
|
|
| |
command line options.
vgchange --resizeable y
pvchange --allocatable y
But --allocation is still allowed for both (as LVM1) and --resizable is OK.
|
|
|
|
|
|
|
| |
o Extract file creation/renaming code into a library and change backup code
to use it too.
o Support umask.
o Bring lvm.conf man page up-to-date.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
o Skip autobackup when in test mode.
o Set test mode from config file.
o Create system/backup dirs if not present (unless LVM_SYSTEM_DIR holds "").
|
| |
|
|
|
|
| |
o Add parameters to set retention limits for backups
|
|
|
|
| |
o Cope with both the readline versions used around here.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
at the top of the file.
o Changed completion_matches -> rl_completion_matches, and added some consts.
This will probably break things on pre readline 4.2 systems.
|
|
|
|
|
|
|
|
| |
o There is now a _default_debug, and _default_verbose level, when
using lvm interactively -vv and -dd switches just effect the current
command.
o Added a --quiet switch which sets both verbose and debug to zero.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Introduced the LVM_SYSTEM_DIR variable.
This makes more sense because the persistent cache, and backup directories
are config specific.
eg, I use /etc/lvm for running my real LV's
but I have another directory /dev/lvm_loops that contains a config
that allows only loopback devices, I use this for testing.
|
|
|
|
|
|
|
|
|
|
| |
o You must list long args with no short option (eg. --version) at the
front of the args.h file.
o If an argument has no short option, set the short option in args.h to '\0'
o The index into the 'the_args' var is now stored as the option value
for getopt, iff there is no short opt.
|
|
|
|
|
|
|
| |
A substantial speed-up - particularly in readline mode.
If the hints turn out to be wrong, the relevant parts get thrown away.
vgscan destroys it totally. In both cases it then rebuilds itself as
required.
|
|
|
|
| |
committing metadata changes or (de)activating.
|
|
|
|
|
| |
non-displayable so we can remove the pointer mangling that was
breaking 64bit arch.s
|
|
|
|
|
| |
o lvdisplay fields from kernel
o update lv->size on resize
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
o Full signed arguments to lvreduce/lvextend
o Consistent lv_number/pe map use
o Populate pv->pe_allocated
o Fixes for allocation/writing of multiple LVs
|