[LUNA] Upgrading to CentOS 6.n

Paul F. Pearson pfpearson at mchsi.com
Wed Nov 11 14:37:20 CST 2015


I understand on the opportunity for fat-fingers! I keep preaching that at work (I have very fat fingers myself). 

I think the %pre approach uses parted to produce code, which you then %include. Good luck on your findings. 

----- Original Message -----
> 
> Yes, 1 time, 1 machine, but 6 HDD's, thus much opportunity for
> fat-fingering something. W/ kickstart I can edit the file at my leisure,
> then kickoff the install confident of no critical typos. Thanks for the
> pointer on '%pre', I will followup on that.
> 
> 
> On 11/11/15 13:50, Paul F. Pearson wrote:
> > I recall reading that one way to get partitioning right in the kickstart is
> > to have the "%pre" stanza call parted to calculate the start/stop of each
> > partition; parted can auto-align properly.
> >
> > If this is a "one-time, one machine" thing, you could do the partitioning
> > manually before hand and then tell kickstart to use the existing
> > partitions.
> >
> > ----- Original Message -----
> >>
> >> I have an older server running FC14-64-bit which I am planning to
> >> upgrade to CentOS6.n. Due to excruciatingly poor decision making on my
> >> part in the original install, I will also be re-partitioning in the
> >> process :-). I have a kickstart file setup & ostensibly ready to go. For
> >> now it sets up 4 partitions per drive, boot, swap, root & home. Boot,
> >> root & home will be LVM'ed into larger 'partitions' & then the install
> >> will proceed. I am planning on a RAID1 LVM for /boot, RAID10 for root, &
> >> RAID0 for /home. I am also considering RAID5 for /home. I have another
> >> machine running NetBSD 6.1.5 with a similar disk-partition (actually
> >> slice) arrangement, with a RAID5 /home, 4 data slices, 1 parity, 1
> >> hot-swap/spare. Despite my best efforts, I have misaligned
> >> disk-blocks/RAID elements/FS blocks & resulting horribly slow I/O :-/. I
> >> want to avoid that w/ this install :-). Will the LVM RAID5 kickstart
> >> setup 'do the right thing' WRT disk-block/LV alignment by itself, or are
> >> there any gotchas (hopefully w/ work-arounds :-) ) for a RAID 5 setup ?
> >> I am comfortable w/ a RAID0 here, everything on that 'partition' will be
> >> backed up elsewhere across my LAN, but I wouldn't mind the extra
> >> robustness WRT disk failure of a RAID5 vs. RAID0, I just don't want the
> >> performance hit of a fubar'ed install :-/ .... TIA for *ANY*
> >> advice/clues/URL's/etc. on this matter, & have a good one ....
> >>
> >>
> >> --
> >>
> >> 	William A. Mahaffey III
> >>
> >>    ----------------------------------------------------------------------
> >>
> >> 	"The M1 Garand is without doubt the finest implement of war
> >> 	 ever devised by man."
> >>                              -- Gen. George S. Patton Jr.
> >>
> >> _______________________________________________
> >> LUNA mailing list
> >> LUNA at lunagroup.us
> >> http://lunagroup.us/mailman/listinfo/luna
> >>
> > _______________________________________________
> > LUNA mailing list
> > LUNA at lunagroup.us
> > http://lunagroup.us/mailman/listinfo/luna
> >
> 
> 
> --
> 
> 	William A. Mahaffey III
> 
>   ----------------------------------------------------------------------
> 
> 	"The M1 Garand is without doubt the finest implement of war
> 	 ever devised by man."
>                             -- Gen. George S. Patton Jr.
> 
> _______________________________________________
> LUNA mailing list
> LUNA at lunagroup.us
> http://lunagroup.us/mailman/listinfo/luna
> 


More information about the LUNA mailing list