Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.16 KB | None | 0 0
  1. # multipath -ll /dev/mapper/mpathb
  2. mpathb (222c60001556480c6) dm-2 Promise,Vess R2600xi
  3. size=10T features='1 retain_attached_hw_handler' hwhandler='0' wp=rw
  4. |-+- policy='service-time 0' prio=1 status=active
  5. | `- 12:0:0:0 sdc 8:32 active ready running
  6. `-+- policy='service-time 0' prio=1 status=enabled
  7. `- 13:0:0:0 sdd 8:48 active ready running
  8.  
  9. # pvs
  10. PV VG Fmt Attr PSize PFree
  11. /dev/dm-2 vg-one-100 lvm2 a-- 10,00t 3,77t
  12. # vgs
  13. VG #PV #LV #SN Attr VSize VFree
  14. vg-one-100 1 17 0 wz--n- 10,00t 3,77t
  15.  
  16. # lvs
  17. LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
  18. lv-one-0-1 vg-one-100 -wi-a----- 20,00g
  19. lv-one-1-0 vg-one-100 -wi-a----- 2,41g
  20. lv-one-10-0 vg-one-100 -wi------- 20,00g
  21. lv-one-11-0 vg-one-100 -wi------- 30,00g
  22. lv-one-12-0 vg-one-100 -wi------- 2,41g
  23. lv-one-13-0 vg-one-100 -wi------- 2,41g
  24. lv-one-14-0 vg-one-100 -wi------- 2,41g
  25. lv-one-15-0 vg-one-100 -wi------- 2,41g
  26. lv-one-16-0 vg-one-100 -wi------- 2,41g
  27. lv-one-17-0 vg-one-100 -wi------- 30,00g
  28. lv-one-18-0 vg-one-100 -wi------- 30,00g
  29. lv-one-23-0 vg-one-100 -wi------- 20,00g
  30. lv-one-31-0 vg-one-100 -wi------- 20,00g
  31. lv-one-8-0 vg-one-100 -wi------- 30,00g
  32. lv-one-9-0 vg-one-100 -wi------- 20,00g
  33. lvm_images vg-one-100 -wi-a----- 5,00t
  34. lvm_system vg-one-100 -wi-a----- 1,00t
  35.  
  36. # grep filter /etc/lvm/lvm.conf | grep -vE '^.*#'
  37. filter = ["a|/dev/dm-*|", "r|.*|"]
  38. global_filter = ["a|/dev/dm-*|", "r|.*|"]
  39.  
  40. # grep use_lvmetad /etc/lvm/lvm.conf | grep -vE '^.*#'
  41. use_lvmetad = 0
  42.  
  43. # ls -1 /var/run/systemd/generator/lvm2-activation*
  44. /var/run/systemd/generator/lvm2-activation-early.service
  45. /var/run/systemd/generator/lvm2-activation-net.service
  46. /var/run/systemd/generator/lvm2-activation.service
  47.  
  48. # systemctl status lvm2-activation-early.service
  49. ● lvm2-activation-early.service - Activation of LVM2 logical volumes
  50. Loaded: loaded (/etc/lvm/lvm.conf; generated; vendor preset: enabled)
  51. Active: inactive (dead) since Thu 2019-03-28 17:20:48 MSK; 3 weeks 4 days ago
  52. Docs: man:lvm2-activation-generator(8)
  53. Main PID: 897 (code=exited, status=0/SUCCESS)
  54.  
  55. systemd[1]: Starting Activation of LVM2 logical volumes...
  56. systemd[1]: Started Activation of LVM2 logical volumes.
  57. root@virt1:~# systemctl status lvm2-activation-net.service
  58. ● lvm2-activation-net.service - Activation of LVM2 logical volumes
  59. Loaded: loaded (/etc/lvm/lvm.conf; generated; vendor preset: enabled)
  60. Active: inactive (dead) since Thu 2019-03-28 17:21:24 MSK; 3 weeks 4 days ago
  61. Docs: man:lvm2-activation-generator(8)
  62. Main PID: 1537 (code=exited, status=0/SUCCESS)
  63.  
  64. systemd[1]: Starting Activation of LVM2 logical volumes...
  65. lvm[1537]: 4 logical volume(s) in volume group "vg-one-100" now active
  66. systemd[1]: Started Activation of LVM2 logical volumes.
  67. root@virt1:~# systemctl status lvm2-activation.service
  68. ● lvm2-activation.service - Activation of LVM2 logical volumes
  69. Loaded: loaded (/etc/lvm/lvm.conf; generated; vendor preset: enabled)
  70. Active: inactive (dead) since Thu 2019-03-28 17:20:48 MSK; 3 weeks 4 days ago
  71. Docs: man:lvm2-activation-generator(8)
  72. Main PID: 900 (code=exited, status=0/SUCCESS)
  73.  
  74. systemd[1]: Starting Activation of LVM2 logical volumes...
  75. systemd[1]: Started Activation of LVM2 logical volumes.
  76.  
  77. . . .
  78. kernel: sd 11:0:0:0: [sdc] 21474836480 512-byte logical blocks: (11.0 TB/10.0 TiB)
  79. kernel: sd 10:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
  80. kernel: sd 11:0:0:0: [sdc] Write Protect is off
  81. kernel: sd 11:0:0:0: [sdc] Mode Sense: 97 00 10 08
  82. kernel: sd 11:0:0:0: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA
  83. kernel: sd 10:0:0:0: [sdb] Attached SCSI disk
  84. kernel: sd 11:0:0:0: [sdc] Attached SCSI disk
  85. iscsiadm[1765]: Logging in to [iface: default, target: iqn.2012-07.com.promise:alias.tgt0000.2000000155588d75, portal: 172.16.0.151,3260] (multiple)
  86. iscsiadm[1765]: Logging in to [iface: default, target: iqn.2012-07.com.promise:alias.tgt0000.2000000155588d75, portal: 172.16.1.151,3260] (multiple)
  87. iscsiadm[1765]: Login to [iface: default, target: iqn.2012-07.com.promise:alias.tgt0000.2000000155588d75, portal: 172.16.0.151,3260] successful.
  88. iscsiadm[1765]: Login to [iface: default, target: iqn.2012-07.com.promise:alias.tgt0000.2000000155588d75, portal: 172.16.1.151,3260] successful.
  89. systemd[1]: Started Login to default iSCSI targets.
  90. systemd[1]: Starting Activation of LVM2 logical volumes...
  91. systemd[1]: Starting Activation of LVM2 logical volumes...
  92. multipathd[884]: sdb: add path (uevent)
  93. systemd[1]: Started Activation of LVM2 logical volumes.
  94. systemd[1]: Started Activation of LVM2 logical volumes.
  95. systemd[1]: Reached target Remote File Systems (Pre).
  96. systemd[1]: Mounting /var/lib/one/datastores/101...
  97. systemd[1]: Mounting /var/lib/one/datastores/100...
  98. multipathd[884]: mpathb: load table [0 21474836480 multipath 1 retain_attached_hw_handler 0 1 1 service-time 0 1 1 8:16 1]
  99. multipathd[884]: mpathb: event checker started
  100. multipathd[884]: sdb [8:16]: path added to devmap mpathb
  101. multipathd[884]: sdc: add path (uevent)
  102. multipathd[884]: mpathb: load table [0 21474836480 multipath 1 retain_attached_hw_handler 0 2 1 service-time 0 1 1 8:16 1 service-time 0 1 1 8:32 1]
  103. . . .
  104.  
  105. # grep After /var/run/systemd/generator/lvm2-activation-net.service
  106. After=lvm2-activation.service iscsi.service fcoe.service
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement