<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=044062611-06092004><FONT face=Arial 
size=2>Hello!</FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>I've set up LVM2 and 
using it for a long time. Now I'd like to extend it, but some strange things 
will happen. Here is the output on what I'm doing. Could anybody explain this 
and help me out?</FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>--- Cut 
---</FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2># vgdisplay  
-v</FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>    
Finding all volume groups<BR>    Finding volume group 
"loop"<BR>  --- Volume group ---<BR>  VG 
Name               
loop<BR>  System ID<BR>  
Format                
lvm2<BR>  Metadata Areas        
9<BR>  Metadata Sequence No  26<BR>  VG 
Access             
read/write<BR>  VG 
Status             
resizable<BR>  MAX 
LV                
255<BR>  Cur 
LV                
1<BR>  Open 
LV               
1<BR>  Max 
PV                
255<BR>  Cur 
PV                
9<BR>  Act 
PV                
9<BR>  VG 
Size               
461.65 GB<BR>  PE 
Size               
4.00 MB<BR>  Total 
PE              
118183<BR>  Alloc PE / Size       117760 / 
460.00 GB<BR>  Free  PE / Size       423 
/ 1.65 GB<BR>  VG 
UUID               
c3smTi-4zsd-3D88-XDrS-0qel-pdLU-hTjaZz</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>  --- Logical 
volume ---<BR>  LV 
Name                
/dev/loop/vrt<BR>  VG 
Name                
loop<BR>  LV 
UUID                
yyiueT-IIgT-C2PW-B6Q9-cuQF-lUE9-ri6tg8<BR>  LV Write 
Access        read/write<BR>  LV 
Status              
available<BR>  # 
open                 
2<BR>  LV 
Size                
460.00 GB<BR>  Current 
LE             
117760<BR>  
Segments               
9<BR>  
Allocation             
next free (default)<BR>  Read ahead sectors     
0<BR>  Block 
device           
253:1<BR><BR>  --- Physical volumes ---<BR>  PV 
Name               
/dev/md20<BR>  PV 
UUID               
nCveg1-V16Y-08nq-BG1u-PJYj-HxDZ-0rTOwS<BR>  PV 
Status             
allocatable<BR>  Total PE / Free PE    9999 / 
0</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>  PV 
Name               
/dev/md21<BR>  PV 
UUID               
8DifNi-Xsvx-1y8x-8ZYL-e2NE-lxZI-g5cn4E<BR>  PV 
Status             
allocatable<BR>  Total PE / Free PE    9999 / 
0</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>  PV 
Name               
/dev/md22<BR>  PV 
UUID               
XXNuHR-9rUu-t88K-hEFb-vqQb-S1Sw-pZIbIU<BR>  PV 
Status             
allocatable<BR>  Total PE / Free PE    9999 / 
0</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>  PV 
Name               
/dev/md23<BR>  PV 
UUID               
lQqCD8-nS21-47a7-y7mN-0Ysi-v6Ey-NJqOdA<BR>  PV 
Status             
allocatable<BR>  Total PE / Free PE    9999 / 
0</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>  PV 
Name               
/dev/md24<BR>  PV 
UUID               
jCpAXU-k0qs-bVvI-Shyc-R2YR-hbnJ-aYulWR<BR>  PV 
Status             
allocatable<BR>  Total PE / Free PE    9999 / 
0</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>  PV 
Name               
/dev/md10<BR>  PV 
UUID               
GJhjij-ovSA-dGbT-4duJ-E7lL-laRl-bD9oxO<BR>  PV 
Status             
allocatable<BR>  Total PE / Free PE    8191 / 
0</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>  PV 
Name               
/dev/md11<BR>  PV 
UUID               
wDZ4XC-5bVL-hHQy-37cX-Dmov-1ARX-Fyg3G5<BR>  PV 
Status             
allocatable<BR>  Total PE / Free PE    22499 / 
0<BR><BR>  PV 
Name               
/dev/md12<BR>  PV 
UUID               
6Ohei3-Qbtc-WL5g-Nmmg-mNnT-9t46-DObz2l<BR>  PV 
Status             
allocatable<BR>  Total PE / Free PE    22499 / 
0</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>  PV 
Name               
/dev/md14<BR>  PV 
UUID               
AFr95V-lZhU-JfCC-q3DU-Z2me-Ax0a-x4qYvS<BR>  PV 
Status             
allocatable<BR>  Total PE / Free PE    14999 / 
423</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2># So far so good! No 
I'd like to add /dev/md13 to VG. First I make md13 and check its 
status:</FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2># ps 
axwf</FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>26518 
pts/0    S      0:26 
nbd-client host2 9000 /dev/nb2<BR>26591 pts/0    
S      0:22 nbd-client host12 9001 
/dev/nb12<BR></FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2># mkraid -R 
/dev/md13<BR>DESTROYING the contents of /dev/md13 in 5 seconds, Ctrl-C if 
unsure!<BR>handling MD device /dev/md13<BR>analyzing super-block<BR>disk 0: 
/dev/nb2, 25600000kB, raid superblock at 25599936kB<BR>disk 1: /dev/nb12, 
25608192kB, raid superblock at 25608128kB<BR></FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2># cat 
/proc/mdstat</FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>md13 : active raid0 
nbd12[1] nbd2[0]<BR>      51206144 blocks 1024k 
chunks</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2># pvcreate -ff 
/dev/md13<BR>  Physical volume "/dev/md13" successfully 
created<BR></FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2># fdisk -l 
/dev/md13</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>Disk /dev/md13: 52.4 
GB, 52435091456 bytes<BR>2 heads, 4 sectors/track, 12801536 cylinders<BR>Units = 
cylinders of 8 * 512 = 4096 bytes</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2># Ok, this were all 
ok. But now!</FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2># vgextend loop 
/dev/md13<BR>  Volume group "loop" successfully 
extended<BR></FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2># vgdisplay 
-v<BR>    Finding all volume groups<BR>    Finding 
volume group "loop"<BR>  --- Volume group ---<BR>  VG 
Name               
loop<BR>  System ID<BR>  
Format                
lvm2<BR>  Metadata Areas        
9<BR>  Metadata Sequence No  27<BR>  VG 
Access             
read/write<BR>  VG 
Status             
resizable<BR>  MAX 
LV                
255<BR>  Cur 
LV                
1<BR>  Open 
LV               
1<BR>  Max 
PV                
255<BR>  Cur 
PV                
10<BR>  Act 
PV                
10<BR>  VG 
Size               
510.48 GB<BR>  PE 
Size               
4.00 MB<BR>  Total 
PE              
130684<BR>  Alloc PE / Size       117760 / 
460.00 GB<BR>  Free  PE / Size       
12924 / 50.48 GB<BR>  VG 
UUID               
c3smTi-4zsd-3D88-XDrS-0qel-pdLU-hTjaZz</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>  --- Logical 
volume ---<BR>  LV 
Name                
/dev/loop/vrt<BR>  VG 
Name                
loop<BR>  LV 
UUID                
yyiueT-IIgT-C2PW-B6Q9-cuQF-lUE9-ri6tg8<BR>  LV Write 
Access        read/write<BR>  LV 
Status              
available<BR>  # 
open                 
2<BR>  LV 
Size                
460.00 GB<BR>  Current 
LE             
117760<BR>  
Segments               
9<BR>  
Allocation             
next free (default)<BR>  Read ahead sectors     
0<BR>  Block 
device           
253:1</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>  --- Physical 
volumes ---<BR>  PV 
Name               
/dev/md20<BR>  PV 
UUID               
nCveg1-V16Y-08nq-BG1u-PJYj-HxDZ-0rTOwS<BR>  PV 
Status             
allocatable<BR>  Total PE / Free PE    9999 / 
0</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>  PV 
Name               
/dev/md21<BR>  PV 
UUID               
8DifNi-Xsvx-1y8x-8ZYL-e2NE-lxZI-g5cn4E<BR>  PV 
Status             
allocatable<BR>  Total PE / Free PE    9999 / 
0</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>  PV 
Name               
/dev/md22<BR>  PV 
UUID               
XXNuHR-9rUu-t88K-hEFb-vqQb-S1Sw-pZIbIU<BR>  PV 
Status             
allocatable<BR>  Total PE / Free PE    9999 / 
0</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>  PV 
Name               
/dev/md23<BR>  PV 
UUID               
lQqCD8-nS21-47a7-y7mN-0Ysi-v6Ey-NJqOdA<BR>  PV 
Status             
allocatable<BR>  Total PE / Free PE    9999 / 
0</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>  PV 
Name               
/dev/md24<BR>  PV 
UUID               
jCpAXU-k0qs-bVvI-Shyc-R2YR-hbnJ-aYulWR<BR>  PV 
Status             
allocatable<BR>  Total PE / Free PE    9999 / 
0</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>  PV 
Name               
/dev/md10<BR>  PV 
UUID               
GJhjij-ovSA-dGbT-4duJ-E7lL-laRl-bD9oxO<BR>  PV 
Status             
allocatable<BR>  Total PE / Free PE    8191 / 
0</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>  PV 
Name               
/dev/md11<BR>  PV 
UUID               
wDZ4XC-5bVL-hHQy-37cX-Dmov-1ARX-Fyg3G5<BR>  PV 
Status             
allocatable<BR>  Total PE / Free PE    22499 / 
0</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>  PV 
Name               
/dev/md12<BR>  PV 
UUID               
6Ohei3-Qbtc-WL5g-Nmmg-mNnT-9t46-DObz2l<BR>  PV 
Status             
allocatable<BR>  Total PE / Free PE    22499 / 
0</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>  PV 
Name               
/dev/md14<BR>  PV 
UUID               
AFr95V-lZhU-JfCC-q3DU-Z2me-Ax0a-x4qYvS<BR>  PV 
Status             
allocatable<BR>  Total PE / Free PE    14999 / 
423</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>  PV 
Name               
/dev/nb2<BR>  PV 
UUID               
Uuf1tv-4SGG-zbmD-qvxO-Q4ZN-5Iiv-rMJWds<BR>  PV 
Status             
allocatable<BR>  Total PE / Free PE    12501 / 
12501<BR></FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>--- Cut 
---</FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>Notice the last 
PV!!! I'm adding md13, but getting nb2, why???</FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>--- Cut 
---</FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2># vgreduce loop 
/dev/md13<BR>  Physical Volume "/dev/md13" not found in Volume Group 
"loop"<BR></FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2># vgreduce loop 
/dev/nb2<BR>  Removed "/dev/nb2" from volume group 
"loop"<BR></FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2># uname 
-r<BR>2.6.5-1.358<BR></FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2># rpm -qv 
lvm2<BR>lvm2-2.00.15-2<BR></FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>--- Cut 
---</FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>So could anybody 
help me out and give me hint what to do to add successfully md13. Note that all 
previos md-s are actually raid0 of nbd-s.</FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial 
size=2>rgds,</FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial size=2>Liivo 
Liivrand</FONT></SPAN></DIV>
<DIV><SPAN class=044062611-06092004><FONT face=Arial 
size=2> </DIV></FONT></SPAN></BODY></HTML>