<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2719.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>we've a server (web, ftp, cgi applications) with 
this hardware:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Motherborad SuperMIcro P4DP6</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Onboard ATI Technologies Inc Rage XL (rev 27) 
(prog-if 00 [VGA])<BR> ATI Technologies Inc Rage XL<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>dual P4 Xeon 2.2 Ghz</FONT></DIV>
<DIV><FONT face=Arial size=2>4 Gbyte RAM</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>one controller: American Megatrends Inc. MegaRAID 
(rev 02)<BR>American Megatrends Inc. MegaRAID 475 Express 500 RAID Controller 
bios ver. 5.2<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>one controller: SCSI storage controller: Adaptec 
AHA-3960D / AIC-7899A U160/m (rev 01)<BR> Adaptec AHA-3960D 
U160/m<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>onboard controller: </FONT></DIV>
<DIV><FONT face=Arial size=2>SCSI storage controller: Adaptec AIC-7899P U160/m 
(rev 01)<BR></DIV></FONT>
<DIV><FONT face=Arial size=2>Intel Ethernet Pro 100</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>We've LVM utility software vers. 1.0.5 installed on 
2.4.18-10 Readhat Kernel (ver. 7.3, official kernel patched </FONT><FONT 
face=Arial size=2>with LVM 1.0.5). </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The Volume group hosting is so 
configured:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>--- Volume group ---<BR>VG 
Name               
hosting<BR>VG 
Access             
read/write<BR>VG 
Status             
available/resizable<BR>VG 
#                  
2<BR>MAX 
LV                
255<BR>Cur 
LV                
3<BR>Open 
LV               
3<BR>MAX LV Size           
255.99 GB<BR>Max 
PV                
255<BR>Cur 
PV                
3<BR>Act 
PV                
3<BR>VG 
Size               34.24 
GB<BR>PE 
Size               
4 MB<BR>Total 
PE              
17510<BR>Alloc PE / Size       8744 / 34.16 
GB<BR>Free  PE / Size       0 / 0 
GB<BR>VG 
UUID               
zsW0nX-g4jP-z1uw-dAEk-TZDP-dxVC-j1Llec<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>--- Logical volume ---<BR>LV 
Name                
/dev/home/lv<BR>VG 
Name                
home<BR>LV Write Access        
read/write<BR>LV 
Status              
available<BR>LV 
#                   
1<BR># 
open                 
1<BR>LV 
Size                
12 GB<BR>Current 
LE             
3072<BR>Allocated LE           
3072<BR>Stripes                
2<BR>Stripe size (KByte)    
4<BR>Allocation             
next free<BR>Read ahead sectors     120<BR>Block 
device           
58:5</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>--- Logical volume ---<BR>LV 
Name                
/dev/hosting/lv<BR>VG 
Name                
hosting<BR>LV Write Access        
read/write<BR>LV 
Status              
available<BR>LV 
#                   
1<BR># 
open                 
1<BR>LV 
Size                
7.16 GB<BR>Current 
LE             
1832<BR>Allocated LE           
1832<BR>Stripes                
2<BR>Stripe size (KByte)    
4<BR>Allocation             
next free<BR>Read ahead sectors     120<BR>Block 
device           
58:8</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>--- Logical volume ---<BR>LV 
Name                
/dev/hosting/lv0<BR>VG 
Name                
hosting<BR>LV Write Access        
read/write<BR>LV 
Status              
available<BR>LV 
#                   
2<BR># 
open                 
1<BR>LV 
Size                
7 GB<BR>Current 
LE             
1792<BR>Allocated LE           
1792<BR>Stripes                
2<BR>Stripe size (KByte)    
4<BR>Allocation             
next free<BR>Read ahead sectors     120<BR>Block 
device           
58:9<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>--- Logical volume ---<BR>LV 
Name                
/dev/hosting/lv1<BR>VG 
Name                
hosting<BR>LV Write Access        
read/write<BR>LV 
Status              
available<BR>LV 
#                   
3<BR># 
open                 
1<BR>LV 
Size                
20 GB<BR>Current 
LE             
5120<BR>Allocated LE           
5120<BR>Stripes                
2<BR>Stripe size (KByte)    
4<BR>Allocation             
next free<BR>Read ahead sectors     120<BR>Block 
device           
58:10</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><FONT face=Arial size=2>
<DIV>--- Physical volumes ---<BR></DIV>
<DIV>PV Name (#)           
/dev/sdv1 (1)<BR>PV 
Status             
available / allocatable<BR>Total PE / Free PE    4372 / 0</DIV>
<DIV> </DIV>
<DIV>PV Name (#)           
/dev/sdw1 (2)<BR>PV 
Status             
available / allocatable<BR>Total PE / Free PE    4372 / 
0<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>The device /dev/sdw1 is an logical array (raid 1) 
on ami megaraid controller: this device is  in degraded  mode, 
</FONT><FONT face=Arial size=2>so we have add two scsi disk with raid software 
(/dev/md12, one device on onboard controller</FONT></DIV>
<DIV><FONT face=Arial size=2>and the second on the external AIC 7899); i wolud 
move the striped device /dev/sdw1 to</FONT></DIV>
<DIV><FONT face=Arial size=2>new /dev/md12.</FONT></DIV>
<DIV><FONT face=Arial size=2>    I've add this device (/dev/md12) 
to volume group hosting with "vgextend" utility.</FONT></DIV>
<DIV><FONT face=Arial size=2>Note that /dev/sdv1 and /dev/sdw1 are logical 
striping of volume group hosting</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In single mode, i've umounted all the logical 
volume and i've make:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>/sbin/pvmove -iv /dev/sdw1 /dev/md12</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The process skipped some PE (I/o errors) but after 
moved 91 PE from /dev/sdw1 the pvmove command </FONT></DIV>
<DIV><FONT face=Arial size=2>freezed; after a shutdown of a server i see on the 
vg hosting that /dev/md12 has 91 PE allocated and i've</FONT></DIV>
<DIV><FONT face=Arial size=2>mounted on the file system apparently about no 
errors</FONT></DIV>
<DIV><FONT face=Arial size=2>    I see also that the PE is on lv 
logical volume, so i make:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>/sbin/pvmove -iv -n lv1 /dev/sdw1 
/dev/md12</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>(I've tested several type of pvmove comand, but i 
can't specify a ranges of PE with a logical volume striped).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>About moved 90 PE the pvmove freezed; reboot the 
server and /dev/md/12 ha allocated another  90 PE.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>So go on, and after:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>/sbin/pvmove -iv -n lv0 /dev/sdw1 /dev/md12 i've 
moved 89  PE and freezed again:</FONT></DIV>
<DIV><FONT face=Arial size=2>is this another bug of pvmove utility?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Now, the vgdisplay -v hosting is this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2>--- Volume group ---<BR>VG 
Name               
hosting<BR>VG 
Access             
read/write<BR>VG 
Status             
available/resizable<BR>VG 
#                  
2<BR>MAX 
LV                
255<BR>Cur 
LV                
3<BR>Open 
LV               
3<BR>MAX LV Size           
255.99 GB<BR>Max 
PV                
255<BR>Cur 
PV                
3<BR>Act 
PV                
3<BR>VG 
Size               34.24 
GB<BR>PE 
Size               
4 MB<BR>Total 
PE              
17510<BR>Alloc PE / Size       8744 / 34.16 
GB<BR>Free  PE / Size       8766 / 34.24 
GB<BR>VG 
UUID               
zsW0nX-g4jP-z1uw-dAEk-TZDP-dxVC-j1Llec<BR>--- Logical volume ---<BR>LV 
Name                
/dev/home/lv<BR>VG 
Name                
home<BR>LV Write Access        
read/write<BR>LV 
Status              
available<BR>LV 
#                   
1<BR># 
open                 
1<BR>LV 
Size                
12 GB<BR>Current 
LE             
3072<BR>Allocated LE           
3072<BR>Stripes                
2<BR>Stripe size (KByte)    
4<BR>Allocation             
next free<BR>Read ahead sectors     120<BR>Block 
device           
58:5</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>--- Logical volume ---<BR>LV 
Name                
/dev/hosting/lv<BR>VG 
Name                
hosting<BR>LV Write Access        
read/write<BR>LV 
Status              
available<BR>LV 
#                   
1<BR># 
open                 
1<BR>LV 
Size                
7.16 GB<BR>Current 
LE             
1832<BR>Allocated LE           
1832<BR>Stripes                
2<BR>Stripe size (KByte)    
4<BR>Allocation             
next free<BR>Read ahead sectors     120<BR>Block 
device           
58:8</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>--- Logical volume ---<BR>LV 
Name                
/dev/hosting/lv0<BR>VG 
Name                
hosting<BR>LV Write Access        
read/write<BR>LV 
Status              
available<BR>LV 
#                   
2<BR># 
open                 
1<BR>LV 
Size                
7 GB<BR>Current 
LE             
1792<BR>Allocated LE           
1792<BR>Stripes                
2<BR>Stripe size (KByte)    
4<BR>Allocation             
next free<BR>Read ahead sectors     120<BR>Block 
device           
58:9<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>--- Logical volume ---<BR>LV 
Name                
/dev/hosting/lv1<BR>VG 
Name                
hosting<BR>LV Write Access        
read/write<BR>LV 
Status              
available<BR>LV 
#                   
3<BR># 
open                 
1<BR>LV 
Size                
20 GB<BR>Current 
LE             
5120<BR>Allocated LE           
5120<BR>Stripes                
2<BR>Stripe size (KByte)    
4<BR>Allocation             
next free<BR>Read ahead sectors     120<BR>Block 
device           
58:10</FONT></DIV>
<DIV> </DIV><FONT face=Arial size=2>
<DIV><BR>--- Physical volumes ---<BR>PV Name 
(#)           /dev/md12 
(3)<BR>PV 
Status             
available / allocatable<BR>Total PE / Free PE    8766 / 
8499</DIV>
<DIV> </DIV>
<DIV>PV Name (#)           
/dev/sdv1 (1)<BR>PV 
Status             
available / allocatable<BR>Total PE / Free PE    4372 / 0</DIV>
<DIV> </DIV>
<DIV>PV Name (#)           
/dev/sdw1 (2)<BR>PV 
Status             
available / allocatable<BR>Total PE / Free PE    4372 / 
267<BR></DIV>
<DIV>/sbin/pvdisplay -v /dev/md12</DIV>
<DIV> </DIV>
<DIV>In this mail is attached the pvdispay output of /dev/md12.</DIV>
<DIV><BR>Now the server is up and apparently the data is integrity but i 
<BR>would safely move all the logical volume <BR>on /dev/md12 or into another 
device; how can i do this ?<BR></DIV>
<DIV>Thanks. <BR><BR>Best Regards.<BR></DIV>
<DIV>Davide Di Luzio</DIV>
<DIV>System Administrator</DIV>
<DIV>-----------------</DIV>
<DIV>ALICOM Group     Tel: 
+39-085-4406901     Fax: +39-085-4406927</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV></FONT></DIV></FONT></FONT></DIV></BODY></HTML>