summaryrefslogtreecommitdiffstats
path: root/scripts/vgimportclone.sh
Commit message (Collapse)AuthorAgeFilesLines
* The lvmetad client-side integration. Only active when use_lvmetad = 1 is set inPetr Rockai2012-02-231-0/+1
| | | | lvm.conf *and* lvmetad is running.
* Replace char class :space: with explicit charsZdenek Kabelac2011-09-071-5/+6
| | | | | | | | | | | | | | | | Some major distributions are still using 'mawk' and they are not using the latest version - we end here with hidden dependency on the latest version of mawk (1.3.4) while i.e. Debian Lenny seems to stay with 1.3.3. So we end with completely broken vgimportclone script on such system. We would need to check for proper support of :space: and abort build if it doesn't work or simplier replace [:space:] with [ \t] which seems sufficient to make it work (as can be seen in this patch) A better fix would be to use command line parameter override - leaving as FIXME comment. This patch makes t-vgimportclone.sh test passing on Lenny.
* Use /bin/bash for scripts with bashismsZdenek Kabelac2010-05-141-1/+1
|
* Various vgimportclone fixes:Mike Snitzer2009-06-171-10/+42
| | | | | | | | | | | - validate the specified device is a PV and that it is in a VG - automatically enable DEBUG (-d) if >= 4 -v instances were supplied - preserve TMP_LVM_SYSTEM_DIR if it contains an lvm.conf and -d was specified - fix handling of special-case where PV is listed as "unknown device" - more descriptive error when a PV is missing ("unknown device") - unset LVM_SYSTEM_DIR if it was not originally set - skip final vgscan if no changes were made
* Add vgimportclone and install it and the man page by default.Mike Snitzer2009-05-141-0/+334