Ubuntu Server Guide
Device Mapper Multipathing - Usage & Debug
Download 1.23 Mb. Pdf ko'rish
|
ubuntu-server-guide (1)
- Bu sahifa navigatsiya:
- Resizing Online
Device Mapper Multipathing - Usage & Debug
Device Mapper Multipath will be referred here as multipath only. Before moving on with this session it is recommended that you read: 1. Device Mapper Mul- tipathing - Introduction 2. Device Mapper Multipathing - Configuration 3. Device Mapper Multipathing - Setup 43 This section provides step-by-step example procedures for configuring multipath. It includes the following procedures: • Resizing Online Multipath Devices • Moving root File System from a Single Path Device to a Multipath Device • The Multipath Daemon • Issues with queue_if_no_path • Multipath Command Output • Multipath Queries with multipath Command • Determining Device Mapper Entries with dmsetup Command • Troubleshooting with the multipathd interactive console Resizing Online Multipath Devices First find all the paths to the LUN about to be resized: $ sudo m u l t i p a t h − l 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 =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 =50 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 ready ru n n in g ‘−+− p o l i c y =’ s e r v i c e −time 0 ’ p r i o =50 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 ready ru n n in 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 =50 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 ready ru n n in g ‘−+− p o l i c y =’ s e r v i c e −time 0 ’ p r i o =50 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 ready ru n n in g Now I’ll reconfigure mpathb (with wwid = 360014056eee8ec6e1164fcb959086482) to have 2GB instead of just 1Gb and check if has changed: $ echo 1 | sudo t e e / s y s / b l o c k / s d e / d e v i c e / r e s c a n 1 $ echo 1 | sudo t e e / s y s / b l o c k / s d f / d e v i c e / r e s c a n 1 $ sudo m u l t i p a t h − l 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 =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 =50 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 ready ru n n in g ‘−+− p o l i c y =’ s e r v i c e −time 0 ’ p r i o =50 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 ready ru n n in 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 =50 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 ready ru n n in g ‘−+− p o l i c y =’ s e r v i c e −time 0 ’ p r i o =50 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 ready ru n n in g 44 |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling