summaryrefslogtreecommitdiffstats
path: root/autopart.py
Commit message (Collapse)AuthorAgeFilesLines
* Use lvmLog instead of log.Chris Lumens2005-11-091-19/+19
|
* Whoops, that one was inverted.Chris Lumens2005-11-031-1/+1
|
* Use "not X" instead of "X is not None".Chris Lumens2005-11-031-4/+4
|
* 2005-08-16 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-08-161-2/+3
| | | | | | | | | * autopart.py (autoCreatePartitionRequests): Fix for autopart with not lvm (msw@rpath.com) 2005-08-15 Chris Lumens <clumens@redhat.com> * anaconda.spec: Bump version.
* Convert to using new logging system. Also use a separate logger for theChris Lumens2005-08-111-44/+40
| | | | | LVM grow debugging code. Perhaps this could be worked in as another command line arg in the future? No, that seems like a bad idea.
* 2005-07-08 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-07-081-1/+2
| | | | | * autopart.py (doAutoPartition): Fix from lxo for clearpart --none (#162445)
* Make it so disks that are totally full of nonremovable partitions aren'tPeter Jones2005-05-241-1/+22
| | | | selected to put partitions on.
* 2005-05-23 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-05-231-2/+2
| | | | | | | * autopart.py (partlist.getFreeSpace): Fix problem Chris and Paul saw on Friday where manual partition growing would stop at the size of the partition. When imposing a max size based on the free sectors available, it should remember how big the part originally was.
* Also remove bogus preexisting RAID information when doing kickstart installs.Chris Lumens2005-05-061-3/+11
|
* 2005-05-04 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-05-051-10/+20
| | | | | | | | * fsset.py (HfsPlusFileSystem.__init__): Add hfs+ support. * autopart.py (growParts): Don't try to grow a partition beyond the size of the largest free space. Fixes pathological problem hit when installing a dual boot with MacOS X.
* Allow the resulting string to be put into a call to rhpl.log.Chris Lumens2005-05-031-7/+19
|
* Copy filesystem options over for preexisting partitions so they show up inChris Lumens2005-04-211-0/+8
| | | | /etc/fstab (#97560).
* update copyright statements, like a good little corperate stooge ;)Peter Jones2005-03-071-1/+1
|
* comment out new log events that are only marginally helpfulPeter Jones2005-03-071-1/+6
| | | | clamp each LV's max size, initial size, and growth amounts to pesize
* * autopart.py: fix growable size log to show IDs instead of python'sPeter Jones2005-03-071-2/+7
| | | | | | | | | | | | | | | | | | | | <instance> info. log how much free space we're starting with. don't clamp an lv's total size, instead clamp pv's sizes appropriately * lvm.py: remove and recreate all PVs when we do a vgremove, so they don't lose 1 PE each time due to an lvm2 bug. log what lvm commands are being run, since that doesn't go into lvmout. log total vs actual in getVGFreeSpace * partRequests.py: get rid of getPVSize, that way can't work (oopsie). remove bogus check in getActualSize. clamp totalspace for preexisting PVs. clamp each PV's size and trim 1 PE off when computing total space. don't clamp the LV's overall size. * iw/lvm_dialog_gui.py: clamp each PV and trim 1 PE when computing availSpaceMB. Ow. My head hurts. But autopartition actually works, and even shows the same numbers as the editor afterwards.
* Revert some more mac changes - fix parted insteadPaul Nasrat2005-02-211-1/+2
|
* Revert API changePaul Nasrat2005-02-201-1/+1
|
* Fedora PPC - autopartitioning (#121266) and G5 (#149081)Paul Nasrat2005-02-191-6/+8
|
* Typo fix from Aldy Hernandez.Peter Jones2005-02-181-1/+1
|
* Properly grow logical partitions in cases where there's more than one volumeChris Lumens2005-01-201-2/+2
| | | | group defined (Potential fix for #144280, #145145).
* Allow logical partitions to go all the way to the end of the extendedChris Lumens2005-01-191-2/+2
| | | | partition. (Potential fix for #101432).
* 2004-11-30 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-11-301-0/+3
| | | | | | * autopart.py (setPreexistParts): Fix handling of existing partitions on drives which don't have a partition table we understand (#131333)
* Fix LVM with add new in autopartitioning (#141268)Paul Nasrat2004-11-291-2/+2
|
* 2004-11-03 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-11-031-2/+2
| | | | | | | | | * autopart.py (getAutopartitionBoot): Use iutil.hasiSeriesNativeStorage instead of iutil.hasIbmSis() * partitions.py (Partitions.sanityCheckAllRequests): Likewise. * iutil.py (hasiSeriesNativeStorage): Rename from hasIbmSis(), check for ipr as well as ibmsis.
* 2004-10-19 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-10-191-6/+19
| | | | | | | | * autopart.py (doAutoPartition): Don't hard code VG name for auto-partitioned volume groups as VolGroup00 (#134263) * partRequests.py (VolumeGroupRequestSpec.__init__): Add autoname hack for autopart + lvm.
* 2004-10-12 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-10-121-1/+4
| | | | | * autopart.py (doAutoPartition): Be more certain we have one of "our" LVM partitions (#135440)
* 2004-09-27 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-09-281-0/+2
| | | | | * autopart.py (doAutoPartition): Fix LVM traceback if going back from not enough space (#131325)
* improve our request size checking so that filling the disk works "correctly".Jeremy Katz2004-08-251-1/+5
| | | | patch from stuart hayes AT dell (#130885)
* more boot disk message killing (#129009)Jeremy Katz2004-08-101-1/+2
|
* don't reuse existing pvs on drives that we're not using for auto-partitioningJeremy Katz2004-07-071-1/+12
|
* switch autopartitioning to use lvm by default. setup is basicallyJeremy Katz2004-07-071-8/+109
| | | | | | | * Create /boot partition (or appropriate for the arch) * For each drive being used in auto-partitioning, create a PV * Use these pvs in a vg * Create auto-partition requests as logical volumes in the vg
* Add seperate /boot for ppcPaul Nasrat2004-07-071-1/+2
|
* Automatically create Apple Bootstrap (#121266)Paul Nasrat2004-07-051-0/+2
|
* merge from rhel3 --Jeremy Katz2004-05-111-1/+10
| | | | | | # we want to clear the part if: # 4) the ptable doesn't support numeric ids, but it appears to be # a RAID or LVM device (#107319)
* we can't make boot disks anymore and this isn't much of a problemJeremy Katz2004-05-051-0/+4
| | | | for "modern" hardware. (#122535)
* merge from taroon-branch. all kinds of miscellaneous bugfixes, includingJeremy Katz2003-08-141-1/+1
| | | | | | | | | * firewall update * iSeries PReP size * ppc mediacheck * tzdata stuff * cmdline mode * pkg defaults screen
* fix for bug #102014Mike Fulbright2003-08-111-1/+1
|
* merge from taroon branch to headJeremy Katz2003-07-311-2/+4
|
* massive merge from taroon branch. changes are all over the place, but aJeremy Katz2003-07-081-9/+22
| | | | | | | | | | | | | | summary of looking through the diff is * clean up warnings, we build with -Wall -Werror here too * product.img stuff * max logical partitions enforcement * 1 TB max fs size * ethtool stuff * autopart in kickstart * driver disk fixes * RHEL upgrade stuff * network driver disks * variant pkgorder/tree splitting
* merge from taroon. highlights of this time aroundJeremy Katz2003-06-231-36/+31
| | | | | | | | * ppc boot constraints * md5 endianness * don't prompt to save tracebacks to a floppy without a floppy * autopart for kickstart * network configuration in the loader if vnc/display case
* merge taroon branch. mostly package bits, but a lot of other misc stuffJeremy Katz2003-06-061-1/+4
| | | | and cleanups in here too
* another taroon merge. tagged before as before-taroon-merge, after asJeremy Katz2003-04-241-9/+45
| | | | | | | | after-taroon-merge this one adds s390 fixes, basic i/p series platform support, support for multiple kernels and one second stage, cmdline kickstart mode (nice for s390), some warning cleanups.
* style fix from bug #71998Mike Fulbright2003-04-161-2/+2
|
* handle bug #71450 better than we wereMike Fulbright2003-04-161-1/+9
|
* merge taroon branch up until now. tagged as before-taroon-merge before andJeremy Katz2003-03-211-1/+3
| | | | | will be tagged after-taroon-merge after. taroon at this point is tagged taroon-merge-point for where to base merges from in the future
* consistency (#81554)Jeremy Katz2003-02-251-1/+1
|
* make error messages more correct (#84031)Jeremy Katz2003-02-251-6/+6
|
* hmm, guess we should actually exit if we say we're going to reboot (#84663)Jeremy Katz2003-02-201-0/+1
|
* we need to move the lvs to the new vg id if it changes due to kickstartJeremy Katz2003-02-111-0/+10
| | | | preexisting stuff
* add (undocumented) preexisting lvm/raid support to kickstart. useJeremy Katz2003-02-111-1/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the partition strings in error cases to avoid breaking string freeze (should be fixed post gingin) Adds the following: raid / --device md0 --useexisting Use existing raid device md0, don't format it raid /home --device md0 --noformat Use existing raid device, but format it volgroup myvg --noformat volgroup myvg --useexisting Use existing volume group. Doesn't run vgcreate logvol /foo --vgname=myvg --name=root --noformat Reuse existing logical volume myvg/root and don't format logvol / --vgname=myvg --name=root --useexisting Reuse existing logical volume myvg/root and format it clearpart --none For completeness sake (and because I tried to use it :-) These aren't really supported but are there so that people can play with them and hopefully find the bugs before taroon :) Also has the side effect of probably fixing the occasional traceback mikem sees with lvm that I haven't reproduced (but got something similar to while testing this stuff)