View difference between Paste ID: UfJ2NWqz and Xnv3Vvs7
SHOW: | | - or go back to the newest paste.
1
$ journalctl _COMM=lvmetad|tail -2
2
-- Reboot --
3
sept. 05 09:26:18 data-dev4 lvmetad[372]: Cannot lock lockfile [/run/lvmetad.pid], error was [Resource temporarily unavailable]
4
5
6
$ ps -aux|grep l[v]m
7
root        60  0.0  0.0 160440   444 ?        Ssl  09:26   0:00 lvmetad
8
root       117  0.0  0.0  25924  5064 ?        Ss   09:26   0:00 (lvm2)       pvscan --background --cache --activate ay --major 8 --minor 21
9
root       355  0.0  0.0  27280  3832 ?        Ss   09:26   0:00 /usr/bin/lvm pvscan --cache --activate ay 8:5
10
root       423  0.0  0.0  27280  3692 ?        Ss   09:26   0:00 /usr/bin/lvm pvscan --cache --activate ay 8:21
11
$ for i in 60 117 355 423 ; do ps -o lstart= -p $i ; done
12
Fri Sep  5 09:26:15 2014
13
Fri Sep  5 09:26:16 2014
14
Fri Sep  5 09:26:18 2014
15
Fri Sep  5 09:26:20 2014
16
17
18
$ cat /usr/lib/systemd/system/lvm2-lvmetad.service
19
[Unit]
20
Description=LVM2 metadata daemon
21
Documentation=man:lvmetad(8)
22
Requires=lvm2-lvmetad.socket
23
After=lvm2-lvmetad.socket
24
DefaultDependencies=no
25
Conflicts=shutdown.target
26
27
[Service]
28
Type=simple
29
NonBlocking=true
30
ExecStart=/usr/bin/lvmetad -f
31
Environment=SD_ACTIVATION=1
32
Restart=on-abort
33
PIDFile=/run/lvmetad.pid
34
35
[Install]
36
WantedBy=sysinit.target