Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | o Removed the -z (suspend) option from the tools | Joe Thornber | 2002-02-18 | 1 | -1/+1 | |
| | | | | | | | o New function: int lv_setup_cow_store(struct logical_volume *lv) This zeroes the start of the cow device. o Made lvcreate call above fn. | |||||
* | o Add support for the -s and -c flags to lvcreate. | Joe Thornber | 2002-02-18 | 1 | -1/+0 | |
| | ||||||
* | Second path on "pvcreate -s" | Heinz Mauelshagen | 2002-02-15 | 1 | -0/+1 | |
| | ||||||
* | Run through indent - no (intentional) changes to any code. | Alasdair Kergon | 2002-02-11 | 1 | -55/+45 | |
| | ||||||
* | Preparation for an LVM2 liblvm - pass cmd_context into each tool and | Alasdair Kergon | 2002-02-11 | 1 | -41/+36 | |
| | | | | link some globals that the tools need into that structure. | |||||
* | o Support locking with local lock files | Alasdair Kergon | 2002-02-11 | 1 | -0/+11 | |
| | | | | o Disable control-c during updates (except if blocked waiting for a lock) | |||||
* | o Add cmd_line field to struct cmd_context | Joe Thornber | 2002-02-08 | 1 | -1/+37 | |
| | | | | | | | | | | | | | | | | | | 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. | |||||
* | Basic support for persistent minor numbers; | Alasdair Kergon | 2002-02-01 | 1 | -0/+15 | |
| | | | | | | | | | | | | | | | | | | 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 | |||||
* | "exit" means "quit" (lamer) | Alasdair Kergon | 2002-01-31 | 1 | -2/+2 | |
| | ||||||
* | o A vgimport implementation | Alasdair Kergon | 2002-01-29 | 1 | -1/+4 | |
| | | | | | o Require -a or <list of vgs> parameters with vgexport/vgimport o Allow pvcreate -ff to destroy exported/partial VGs | |||||
* | o Basic support for exporting (but importing not completed yet). | Alasdair Kergon | 2002-01-29 | 1 | -0/+7 | |
| | | | | | o When volume group does not have write flag set, prevent changes to it. o Preparation for partial activation (not completed yet). | |||||
* | Customisable message output prefix / indentation. | Alasdair Kergon | 2002-01-22 | 1 | -1/+10 | |
| | ||||||
* | No need for file output to default to stderr now that log file can be | Alasdair Kergon | 2002-01-21 | 1 | -3/+0 | |
| | | | | specified in config file. | |||||
* | o Allow fractional parts for size args. eg, lvcreate -L 34.4M | Joe Thornber | 2002-01-21 | 1 | -2/+25 | |
| | | | | o Fix a couple of bugs related to the earlier lv_list change | |||||
* | Allow syslog facility to be set, or turned off, from the config file. | Alasdair Kergon | 2002-01-18 | 1 | -5/+17 | |
| | ||||||
* | Support --version argument and 'version' shell command. | Alasdair Kergon | 2002-01-17 | 1 | -3/+15 | |
| | ||||||
* | Move test flag from log to global section of config file. | Alasdair Kergon | 2002-01-16 | 1 | -1/+2 | |
| | ||||||
* | o More comprehensive config parameter debugging messages. | Alasdair Kergon | 2002-01-15 | 1 | -4/+12 | |
| | | | | | o Make /proc configurable. o Review hard-coded "/dev"s - made 2 more of them configurable. | |||||
* | o missing labeller free | Alasdair Kergon | 2002-01-15 | 1 | -0/+1 | |
| | | | | | | | 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 | |||||
* | o Actually check in vgcfgrestore. | Joe Thornber | 2002-01-15 | 1 | -1/+2 | |
| | ||||||
* | o vgcfgrestore works ! (with the couple of examples I tried). | Joe Thornber | 2002-01-15 | 1 | -4/+45 | |
| | ||||||
* | Allow for multiple spellings / backwards compatibility of renamed | Alasdair Kergon | 2002-01-10 | 1 | -8/+35 | |
| | | | | | | | command line options. vgchange --resizeable y pvchange --allocatable y But --allocation is still allowed for both (as LVM1) and --resizable is OK. | |||||
* | o Rename many occurrences of 'backup' to 'archive' to reduce confusion. | Alasdair Kergon | 2002-01-09 | 1 | -9/+22 | |
| | | | | | | | 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. | |||||
* | Add archiving. | Alasdair Kergon | 2002-01-09 | 1 | -3/+7 | |
| | ||||||
* | Another attempt to support both readline versions. | Alasdair Kergon | 2002-01-08 | 1 | -11/+10 | |
| | ||||||
* | call archive_exit() & backup_exit() on exit | Alasdair Kergon | 2002-01-08 | 1 | -0/+2 | |
| | ||||||
* | fixes for compilation | Alasdair Kergon | 2002-01-07 | 1 | -1/+2 | |
| | ||||||
* | Sync tidy. | Alasdair Kergon | 2002-01-07 | 1 | -1/+2 | |
| | ||||||
* | o tidy up renaming of archive files. | Joe Thornber | 2002-01-07 | 1 | -0/+7 | |
| | ||||||
* | o sync tool changes for backup stuff. | Joe Thornber | 2002-01-07 | 1 | -26/+68 | |
| | ||||||
* | o sync laptop to test machine. | Joe Thornber | 2002-01-07 | 1 | -51/+49 | |
| | ||||||
* | o Add autobackup support to tools (follows most vg_write calls). | Alasdair Kergon | 2001-12-31 | 1 | -18/+31 | |
| | | | | | | 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 ""). | |||||
* | vgcache.h inclusion (avoid compiler warning) | Alasdair Kergon | 2001-12-31 | 1 | -2/+0 | |
| | ||||||
* | o Use lvm_snprintf wherever return value is used | Alasdair Kergon | 2001-12-31 | 1 | -5/+18 | |
| | | | | o Add parameters to set retention limits for backups | |||||
* | o Allow more default values to be overridden from config file. | Alasdair Kergon | 2001-12-31 | 1 | -24/+44 | |
| | | | | o Cope with both the readline versions used around here. | |||||
* | o Added a quick vgcfgbackup, needs parameters as yet. | Joe Thornber | 2001-12-20 | 1 | -11/+2 | |
| | ||||||
* | o sync backup changes | Joe Thornber | 2001-12-20 | 1 | -1/+9 | |
| | ||||||
* | o history is now saved in ~/.lvm_history | Joe Thornber | 2001-12-17 | 1 | -0/+41 | |
| | ||||||
* | o Shuffled completion functions around so we dont have to declare them | Joe Thornber | 2001-12-17 | 1 | -27/+25 | |
| | | | | | | | | 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 Changed the macro name in args.h from 'xx' to 'arg' | Joe Thornber | 2001-12-17 | 1 | -29/+58 | |
| | | | | | | | | 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 Use lvm_snprintf | Joe Thornber | 2001-12-17 | 1 | -2/+3 | |
| | ||||||
* | o Remove LVM_CONFIG_FILE environment variable. | Joe Thornber | 2001-12-17 | 1 | -23/+60 | |
| | | | | | | | | | | | | 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. | |||||
* | I had another look at the argument processing code: | Joe Thornber | 2001-12-17 | 1 | -5/+20 | |
| | | | | | | | | | | 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. | |||||
* | Add internal cache holding a 'hint' list of the PVs belonging to each VG. | Alasdair Kergon | 2001-12-13 | 1 | -0/+2 | |
| | | | | | | | 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. | |||||
* | Add -t or --test arg to all tools that update metadata to avoid | Alasdair Kergon | 2001-11-28 | 1 | -1/+4 | |
| | | | | committing metadata changes or (de)activating. | |||||
* | o Make sure that every switch has a short option, even if it's | Joe Thornber | 2001-11-22 | 1 | -2/+2 | |
| | | | | | non-displayable so we can remove the pointer mangling that was breaking 64bit arch.s | |||||
* | o activation & active status tests | Alasdair Kergon | 2001-11-21 | 1 | -0/+3 | |
| | | | | | o lvdisplay fields from kernel o update lv->size on resize | |||||
* | o Prefix static var with '_' | Joe Thornber | 2001-11-14 | 1 | -4/+4 | |
| | ||||||
* | Merge lvreduce & lvextend into lvresize. | Alasdair Kergon | 2001-11-13 | 1 | -38/+23 | |
| | ||||||
* | iospace restructured | Alasdair Kergon | 2001-11-12 | 1 | -18/+20 | |
| |