[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem Replacing LVM on RAID1 Disk



Hi Alan,

On 20 Jul 2010, at 12:52, Alan Chandler wrote:

> Lets take this back to the list - not keep it between us - and I am subscribed to the list so no need to copy me.

Ah. Sorry. I didn't realise I had only mailed you directly.

> I don't know.  When I have had a problem before, I have just repartioned the old/new device and add these partitions using mdadm
> 
> It then syncs up (albeit over several hours).
> 
> I don't format it or put filesystems on it - which I think your original mail mentioned.

Yep. That's basically what I do but I partition the disk and format the partitions for Linux raid autodetect and set one of the partitions as bootable. Then, as you say, I just add them using mdadm.

I've resorted to reproducing my setup using vmware and seeing if I can reproduce the problem that way. Hopefully it will help shine some light on the issue.

Thanks very much for your time,


Matt


> 
> 
> 
> 
> 
>> # vgdisplay -v
>>     Finding all volume groups
>>     Finding volume group "vg00"
>>     Fixing up missing size (456.34 GB) for PV /dev/md1
>>   --- Volume group ---
>>   VG Name               vg00
>>   System ID
>>   Format                lvm2
>>   Metadata Areas        1
>>   Metadata Sequence No  3
>>   VG Access             read/write
>>   VG Status             resizable
>>   MAX LV                0
>>   Cur LV                2
>>   Open LV               2
>>   Max PV                0
>>   Cur PV                1
>>   Act PV                1
>>   VG Size               456.34 GB
>>   PE Size               4.00 MB
>>   Total PE              116824
>>   Alloc PE / Size       116824 / 456.34 GB
>>   Free  PE / Size       0 / 0
>>   VG UUID               Urdpix-a5Ik-U1fq-Tw7T-umoT-paaR-e0s0Oz
>> 
>>   --- Logical volume ---
>>   LV Name                /dev/vg00/lv00
>>   VG Name                vg00
>>   LV UUID                aosfiq-oBUr-70Xn-Y5OJ-lsSV-i59V-nTXJG6
>>   LV Write Access        read/write
>>   LV Status              available
>>   # open                 2
>>   LV Size                8.00 GB
>>   Current LE             2048
>>   Segments               1
>>   Allocation             inherit
>>   Read ahead sectors     auto
>>   - currently set to     256
>>   Block device           253:0
>> 
>>   --- Logical volume ---
>>   LV Name                /dev/vg00/lv01
>>   VG Name                vg00
>>   LV UUID                tvzjKH-hSpH-sDYk-YlWY-osUY-VxrA-ka2UCW
>>   LV Write Access        read/write
>>   LV Status              available
>>   # open                 1
>>   LV Size                448.34 GB
>>   Current LE             114776
>>   Segments               1
>>   Allocation             inherit
>>   Read ahead sectors     auto
>>   - currently set to     256
>>   Block device           253:1
>> 
>>   --- Physical volumes ---
>>   PV Name               /dev/md1
>>   PV UUID               GSKYlk-d8z0-mGXj-kQny-gSMy-aOMR-zq1dXT
>>   PV Status             allocatable
>>   Total PE / Free PE    116824 / 0
>> 
>> 
>>> --
>>> Alan Chandler
>>> http://www.chandlerfamily.org.uk
>>> 
>>> 
>>> --
>>> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>>> Archive: 4C41FFA4.3080607@chandlerfamily.org.uk">http://lists.debian.org/4C41FFA4.3080607@chandlerfamily.org.uk
>>> 
>> 
> 
> 
> -- 
> Alan Chandler
> http://www.chandlerfamily.org.uk
> 


Reply to: