Guest User

Untitled

a guest
Sep 5th, 2014
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  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.  
  12.  
  13. $ cat /usr/lib/systemd/system/lvm2-lvmetad.service
  14. [Unit]
  15. Description=LVM2 metadata daemon
  16. Documentation=man:lvmetad(8)
  17. Requires=lvm2-lvmetad.socket
  18. After=lvm2-lvmetad.socket
  19. DefaultDependencies=no
  20. Conflicts=shutdown.target
  21.  
  22. [Service]
  23. Type=simple
  24. NonBlocking=true
  25. ExecStart=/usr/bin/lvmetad -f
  26. Environment=SD_ACTIVATION=1
  27. Restart=on-abort
  28. PIDFile=/run/lvmetad.pid
  29.  
  30. [Install]
  31. WantedBy=sysinit.target
Advertisement
Add Comment
Please, Sign In to add comment