On Sat, Jul 12, 2003 at 11:09:13PM +0200, Jan Dittmer wrote:
Hi,
would this be a reasonable course of action?
vgcfgbackup myraid pvcreate -yff -u wZQg66-cWrF-VDi5-GcRN-aYVg-RQQ3-PPm5K5 /dev/md0 `take the size pvcreate reports and change the backup file accordingly` vgcfgrestore myraid
Yes, this is the workaround. (vgcfgbackup shouldn't be necessary though)
Being on the careful side here (don't want to restore 300GB of data). pvdisplay reports (after pvcreate): --- NEW Physical volume --- PV Name /dev/md0 VG Name PV Size 447.15 GB Allocatable NO PE Size (KByte) 0 Total PE 0 Free PE 0 Allocated PE 0 PV UUID wZQg66-cWrF-VDi5-GcRN-aYVg-RQQ3-PPm5K5
-- Linux rubicon 2.5.75-mm1-jd10 #1 SMP Sat Jul 12 19:40:28 CEST 2003 i686