| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Tell git to ignore files generated by a build inside the source tree.
|
|
|
|
| |
Remove last_cvs_update.sh now that we're using git.
|
| |
|
| |
|
|
|
|
| |
--------------------------------------------------------------------
|
|
|
|
|
|
| |
New functions:
- seg_pvs: Print a list of PVs in a seg_pvs list
- pv_dev_name: print name of a PV
|
| |
|
|
|
|
|
|
|
|
|
| |
Fix propagation of -e option - pass it via internal shell variable.
Fix parsing of /proc/mounts files (don't check for substrings).
as reported by O.Mangold with suggested patch:
https://www.redhat.com/archives/linux-lvm/2012-February/msg00030.html
Properly pass arguments with spaces ("$@")
Add validation for YES and EXTOFF variable content.
|
|
|
|
|
|
|
|
| |
LISTEN_PID and LISTEN_FDS environment variables are defined only during systemd
"start" action. But we still need to know whether we're activated during
"reload" action as well - we use the reload action to call "dmeventd -R"/"lvmetad -R"
for statefull daemon restart. We can't use normal "restart" as that is simply
composed of "stop" and "start" and we would lose any state the daemon has.
|
|
|
|
|
| |
Restart lvmetad automatically if it exits due to reception of uncaught signal,
leaving a track in systemd log/syslog.
|
| |
|
| |
|
|
|
|
| |
script library).
|
| |
|
|
|
|
| |
subdir and return proper status code.
|
|
|
|
| |
otherwise it's an error!
|
| |
|
|
|
|
|
|
|
| |
existing directory.
...that happens when systemd creates it first (e.g. based on a .socket unit)
before the tmpfiles.d content is executed.
|
| |
|
|
|
|
|
| |
and add ExecStartPost=vgscan to actually run the first scan that will
fill the metadata daemon with metadata information.
|
|
|
|
| |
lvm.conf *and* lvmetad is running.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
/etc/tmpfiles.d directory holds configuration files for temporary/volatile
files and directories that should be automatically managed. For example,
if we have some parts of the fs hierarchy on tmpfs, we'd like to recreate
some files or directories on every boot so they're always prepared for use.
Systemd can read such configuration files. For now, the lock and run directory
are the ones that are most probably placed on tmpfs. If this is the case, we
can install the configuration by 'make install_tmpfiles_configuration'.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Normally, restart simply means "stop and start" for systemd. However, if
we're installing new versions of the dmeventd binary/libdevmapper, we need
to restart dmeventd. This fails if we have some devices monitored - we need
to call "dmeventd -R" instead.
The "ExecReload" did not work quite well in some old versions of systemd,
systemd assumed that only the configuration is reloaded on "ExecReload",
not the whole binary itself so it lost track of dmeventd daemon (it lost new
dmeventd PID). This is fixed and seems to be working fine now with recent
versions of dmeventd.
|
|
|
|
|
|
| |
Example:
(gdb) dm_list_size &split_images
1 list items
|
|
|
|
|
| |
When builddir is different from srcdir install_ocf: has not been able to find
files for installation.
|
|
|
|
|
| |
Follow other commands support this directory setting.
Useful for test suite.
|
|
|
|
| |
Since test suite is not using /dev - add support for such dirs into fsadm.
|
|
|
|
|
|
|
|
|
| |
When fsadm is test - it needs to execute lvm and fsadm from non-standard path
setting. So adding a support in fsadm script when user set LVM_BINARY, then
the lvm command invoced from fsadm will have the same PATH setting as before
entering fsadm command.
Needed for testing.
|
|
|
|
|
|
|
| |
In case someone would use filename paths with spaces when changing
this script surround commands with '"'.
With default settings there is no change in behavior.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
1) Add more status flags for printing
2) Fix bug in lv_status_r processing for mirror segment type
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Workaround dmsetup ls --tree (terminal ioctl for width).
(Until isatty() will be allowed by selinux policy.)
|
|
|
|
|
| |
When doing lv_status_r on a sub_lv, do not climb the tree up past the
starting point.
|
|
|
|
| |
Better 'lv_status_r' printing.
|