Ubuntu Server Guide Changes, errors and bugs
Multipath Queries with multipath Command
Download 1.27 Mb. Pdf ko'rish
|
ubuntu-server-guide
Multipath Queries with multipath Command
You can use the -l and -ll options of the multipath command to display the current multipath configuration. The -l option displays multipath topology gathered from information in sysfs and the device mapper. The -ll option displays the information the -l displays in addition to all other available components of the system. When displaying the multipath configuration, there are three verbosity levels you can specify with the -v option of the multipath command. Specifying -v0 yields no output. Specifying-v1 outputs the created or updated multipath names only, which you can then feed to other tools such as kpartx. Specifying -v2 prints all detected paths, multipaths, and device maps. Note The default verbosity level of multipath is 2 and can be globally modified by defining the verbosity attribute in the defaults section of multipath.conf. The following example shows the output of a multipath -l command. $ sudo m u l t i p a t h − l mpathb ( 3 6 0 0 1 4 0 5 6 e e e 8 e c 6 e 1 1 6 4 f c b 9 5 9 0 8 6 4 8 2 ) dm−0 LIO−ORG, l u n 0 1 s i z e =2.0G f e a t u r e s = ’0 ’ hwhandler =’1 alua ’ wp=rw |−+− p o l i c y =’ s e r v i c e −time 0 ’ p r i o =0 s t a t u s=a c t i v e | ‘− 7 : 0 : 0 : 1 s d e 8 : 6 4 a c t i v e undef ru n n in g ‘−+− p o l i c y =’ s e r v i c e −time 0 ’ p r i o =0 s t a t u s=e n a b l e d ‘− 8 : 0 : 0 : 1 s d f 8 : 8 0 a c t i v e undef ru n n i n g mpatha ( 3 6 0 0 1 4 0 5 e 3 c 2 8 4 1 4 3 0 e e 4 b f 3 8 7 1 b 1 9 9 8 b ) dm−1 LIO−ORG, l u n 0 2 s i z e =1.0G f e a t u r e s = ’0 ’ hwhandler =’1 alua ’ wp=rw |−+− p o l i c y =’ s e r v i c e −time 0 ’ p r i o =0 s t a t u s=a c t i v e | ‘− 7 : 0 : 0 : 2 s d c 8 : 3 2 a c t i v e undef ru n n in g ‘−+− p o l i c y =’ s e r v i c e −time 0 ’ p r i o =0 s t a t u s=e n a b l e d ‘− 8 : 0 : 0 : 2 sdd 8 : 4 8 a c t i v e undef ru n n in g Download 1.27 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling