FW: Kickstart partition woes

Rick Stevens rstevens at vitalstream.com
Wed May 26 16:19:17 UTC 2004


Gordon McDowall wrote:
> Nope, that's not the issue, I'm, beginning to lose hope :o(
> I have just about exhausted all different options in the partition section.
> Is there nobody that has tried doing this before, it seems like something
> that should be easy to do.

All of my attempts have been stabs in the dark, really, Gordon.  I don't
do kickstart installs very often.

It is entirely possible that kickstart doesn't support reusing existing
software RAID devices without reformatting.  I don't see such a
restriction in the docs, but that doesn't mean much.  You might try
checking the bugzilla archives at bugzilla.redhat.com to see if someone
else has run into this and if there's a fix or work around.  If not,
you may have to do the thing manually.  I know it's a pain if you're
doing a network install, but that may be your only recourse.

Sorry I couldn't help more.

> -----Original Message-----
> From: Rick Stevens [mailto:rstevens at vitalstream.com]
> Sent: 25 May 2004 17:55
> To: Getting started with Red Hat Linux
> Subject: Re: FW: Kickstart partition woes
> 
> 
> Gordon McDowall wrote:
> 
>>Thanks for the reply, to answer your questions, yes it's software raid and
>>yes /home was on md3, I cannot see why I should not be able to do this new
>>install since if you try a manual install then you can see all the
>>partitions and raid devices and the only thing that needs done is to
> 
> relabel
> 
>>the raid devices to reflect the partitions and tell it whether to format
> 
> the
> 
>>raid device or keep the data intact.
> 
> 
> Erp!  I think I found it.  Your lines specifying the RAID layout are
> missing some stuff.  In your "raid" lines, I think you must have
> "--fstype=ext3" rather than "--fstype ext3".  This may be an issue as
> the other partitions are going to be formatted (and ext3 is the default)
> while /home is NOT going to be formatted.  I'm surprised it worked at
> all with spaces instead of "=" in those lines.  I'd expect some errors
> regarding "can't find device ext2" or "can't find device ext3" in the
> other lines as well.
> 
> 
>>-----Original Message-----
>>From: Rick Stevens [mailto:rstevens at vitalstream.com]
>>Sent: 24 May 2004 18:26
>>To: Getting started with Red Hat Linux
>>Subject: Re: FW: Kickstart partition woes
>>
>>
>>Gordon McDowall wrote:
>>
>>
>>>Hi
>>>
>>>I recently sent the following email to the general Redhat list but got no
>>>reply, I was hoping that someone on this list might be able to help
>>>out...please!
>>>
>>>I am currently trying to upgrade a server from Redhat 7.2 to Redhat
>>>Enterprise 3.0, the server is running raid and I would like to keep the
>>>/home partition intact and basically do a full install on the remaining /
>>>/boot and /var partitions.   When I try the install it always errors out
>>>with the error "unable to locate raid device None for /home" but as far as
>>
>>I
>>
>>
>>>can see the partition section of the kickstart file is fine, does anyone
>>>have any suggestions as to what may be the issue.
>>>Here is a copy of the partition section of the ks.cfg file
>>>
>>>#Disk partitioning information
>>>part raid.01 --onpart sda1
>>>part raid.03 --onpart sda2
>>>part swap --onpart sda3
>>>part raid.05 --onpart sda6 --noformat
>>>part raid.07 --onpart sda5
>>>part raid.02 --onpart sdb1
>>>part raid.04 --onpart sdb2
>>>part swap --onpart sdb3
>>>part raid.06 --onpart sdb6 --noformat
>>>part raid.08 --onpart sdb5
>>>raid /boot --level=1 --device=md0 --fstype ext2 raid.01 raid.02
>>>raid / --level=1 --device=md1 --fstype ext3 raid.03 raid.04
>>>raid /var --level=1 --device=md2 --fstype ext3 raid.07 raid.08
>>>raid /home --level=1 --device=md3 --fstype ext3 --noformat raid.05 raid.06
>>>
>>>
>>>Thanks, any suggestions appreciated
>>
>>
>>So, this is a software RAID?  Which device is /home on under 7.2?  From
>>your ks.cfg file, I'm guessing it's md3 (raid 05/raid 06).
>>
>>I'm not at all certain you can do an upgrade from 7.2 to ES3 on software
>>RAID without reformatting.  First, that's one hell of a gear change
>>(jumping three major releases)  Second, the mechanisms used to support
>>software RAID changed quite a bit over that time.  I think you're going
>>to have to back up /home to some media somewhere and let the system
>>format /home to get past that.
>>
>>Wish I could help more.
>>----------------------------------------------------------------------
>>- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
>>- VitalStream, Inc.                       http://www.vitalstream.com -
>>-                                                                    -
>>-      Do you know how to save five drowning lawyers?  No?  GOOD!    -
>>----------------------------------------------------------------------
>>
>>
>>_______________________________________________
>>Redhat-install-list mailing list
>>Redhat-install-list at redhat.com
>>https://www.redhat.com/mailman/listinfo/redhat-install-list
>>To Unsubscribe Go To ABOVE URL or send a message to:
>>redhat-install-list-request at redhat.com
>>Subject: unsubscribe
>>
>>
>>_______________________________________________
>>Redhat-install-list mailing list
>>Redhat-install-list at redhat.com
>>https://www.redhat.com/mailman/listinfo/redhat-install-list
>>To Unsubscribe Go To ABOVE URL or send a message to:
>>redhat-install-list-request at redhat.com
>>Subject: unsubscribe
>>
> 
> 
> 


-- 
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-                       When in doubt, mumble.                       -
----------------------------------------------------------------------





More information about the Redhat-install-list mailing list