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

Re: trouble installing RAID and LVM.



On Tue, Feb 14, 2006 at 01:13:01AM +0000, Peter Colton wrote:
> On Monday 13 February 2006 20:29, hendrik@topoi.pooq.com wrote:
> > On Sun, Feb 12, 2006 at 04:24:44AM +0000, Peter Colton wrote:
> > > On Saturday 11 February 2006 14:09, hendrik@topoi.pooq.com wrote:
> > > > While installing debian-testing-amd64-netinst (downloaded 2006 02 03)
> > > > When I got to the point where I get to select "configure software RAID"
> > > > I am told,
> > > >                        [!!] pARTITION DISKS
> > > > Before RAID can be configured, the changes have to be written
> > > >  .....
> > > > The partition table is the following devices are changed
> > > >           RAID device #0
> > > > Write the changes to the storage devices and configure RAID?
> > > >
> > > > I choose Yes, and am told,
> > > >
> > > > The kernel was unable to re-read the partition table on /dev/md/0
> > > > (Invalid argument).  This means Linux won't know anything about the
> > > > modifications you made unito you reboot.  You chould reboot your
> > > > computer before doing anything with /dev/md/0
> > > >
> > > > Well, rebooting restarts the install, which just gets me to the same
> > > > point.  It does seem to recognise my RAID, by the way.  That had been
> > > > set up ages ago.  It just doesn't seem to get past the above issues.
> > > >
> > > > If I ignore the lamentations and continue anyway, 	 can't get
> > > > any further.  My next step is to configure LVM on that RAID drive.
> > > > I can't get anywhere with that.  I have an existing LVM partition
> > > > (111G) on the RAID drive from an earlier practice intall, and I want it
> > > > deleted.  But it refuses to do that.
> > > >
> > > > Somehow I suspect it is mishandling the RAID in some subtle way, and
> > > > possibly finding LVM information on the constituent partitions instead
> > > > of on the proper RAID device.  But I could be wrong.
> > > >
> > > > It's conceivable that this problem is AMD64 specific, but nothing I've
> > > > seen so far suggests that -- otherwise I'd have posted this to an AMD
> > > > mailing list.
> > > >
> > > > -- hendrik
> > >
> > > 	Hello hendrik,
> > >
> > > 	The link below should be of help to you. Its a howto for setting up
> > > mirror raid 0 but its how you start the install with the sarge installer
> > > that should be of intrest to you.
> > >
> > > http://nepotismia.com/debian/raidinstall/part1.html
> > >
> > > 	Start the install with the expert26 option and then pick the md module
> > > for the a raid enabled kernel.
> >
> > I'll have to do it again with the printouts of that page beside ne to make
> > sure, but to the best of my memory, I did install etch in expert mode, and
> > I did ask for the md installer component.  I also asked for the lvm
> > component.
> >
> > -- hendrik
> >
> > >                Regards
> > >
> > >                     peter colton
> 
> 	Hello hendrik,
> 
> 	I think you will need to install the lvmcfg module at the start of a expert 
> install and I would say allso the md module. It the raid 1 method that I am 
> use to, not lvm.

Yes.  That's what I did.  I do include the lvmcfg module.  I use raid1, 
then I specify that the raid1 volume is to be used as a physical volume 
for LVM.  But I suspect something is wrong with the way my hard disks 
are set up, and it's interfering with the installation -- as if it is 
reading inconsistent information from a previous LVM installation.

I have previously istalled partitions with the i386 sarge, and the 
AMD64 sarge.  I followed instructions on the web -- well after 
installation -- about setting up the RAID1 and the LVM.  They seemed 
to work fine until I rebooted.  I suspect I did not do something 
right, because when I tried changing the LVM setup it would complain 
there were two logical volumes with the same name.  My guess it that 
it had recognised the logical volumes *before* recognising RAID (in 
fact, it may never had recognised the RAID), and, of course, both 
hda3 and hdb3 (which I have now moved physically to hdc3) had 
identical contents.

So now the two partitions making up the RAID may have different and 
inconsistent LVM partitioning information.  Even if I delete the 
RAID-related partitions, and then reconstruct them, the newly created 
RAID seems to have LVM stuff already there.   But it doesn't appear to 
be usable.

-- hendrik

> 
>                   Regards
> 
>                          peter colton
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 



Reply to: