Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change method for determining maximum Logical Volume size when on 2.6 kernel | msivak | 2007-09-06 | 1 | -1/+9 |
| | | | | | | | 2007-09-06 Martin Sivak <msivak@redhat.com> * lvm.py(getMaxLVSize): Change method for determining maximum Logical Volume size when on 2.6 kernel (#242508) | ||||
* | 2007-05-21 Jeremy Katz <katzj@redhat.com> | Jeremy Katz | 2007-05-21 | 1 | -2/+4 |
| | | | | * lvm.py: Still log real errors instead of hiding in lvmError | ||||
* | - only activate/deactivate lvm in label scanning if there's nothing active | Peter Jones | 2007-05-04 | 1 | -0/+26 |
| | | | | already | ||||
* | - improve lvm error handling | Peter Jones | 2007-02-07 | 1 | -50/+139 |
| | |||||
* | - Can't LVM just fucking die? | Peter Jones | 2007-01-04 | 1 | -1/+1 |
| | |||||
* | Use subprocess instead of our own code. Fix all calls to execWith* so | Chris Lumens | 2006-07-12 | 1 | -51/+31 |
| | | | | | the command is no longer the first argument, since subprocess doesn't work that way. Remove unneeded /proc/e820info cruft. Remove iutil.rmrf. | ||||
* | SCREW THE S390 | David Cantrell | 2006-05-03 | 1 | -3/+0 |
| | |||||
* | * lvm.py (has_lvm): Return if we're on S/390 and don't see a | David Cantrell | 2006-05-03 | 1 | -0/+3 |
| | | | | /proc/devices file. | ||||
* | - kill lvm physical device caching; it's not needed any more. | Peter Jones | 2005-12-11 | 1 | -17/+0 |
| | |||||
* | - add -ff to pvremove | Peter Jones | 2005-11-22 | 1 | -1/+22 |
| | | | | | - write a filter into our temporary lvm.conf - unlink the lvm cache when we write a new config | ||||
* | Lower log level of some messages. | Chris Lumens | 2005-11-09 | 1 | -2/+2 |
| | |||||
* | Converted a lot more messages to the new logging system, but there's still | Chris Lumens | 2005-08-11 | 1 | -15/+17 |
| | | | | | | 41 files to go. If your favorite log message needs to be on a different priority level, feel free to change it. Maybe we can have little commit wars over them. | ||||
* | Delete snapshot LVs before their parents | Peter Jones | 2005-03-28 | 1 | -16/+28 |
| | |||||
* | * autopart.py: fix growable size log to show IDs instead of python's | Peter Jones | 2005-03-07 | 1 | -1/+37 |
| | | | | | | | | | | | | | | | | | | | | <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. | ||||
* | * lvm.py (lvlist): return size in MB. | Peter Jones | 2005-01-21 | 1 | -33/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | * lvm.py (pvlist): return size in MB. * lvm.py (vglist): return size in MB, and pesize in KB. * lvm.py (clampLVSizeRequest): use math.ceil and math.floor for "roundup", so we don't need to special case "size % pe == 0" * lvm.py (clampPVSize): replace the completely broken code that fails to implement a size heuristic for lvm1. We still need to guess at the available size, but not here. * partRequest.py: add PartitionSpec.getPVSize, which returns a size for a Physical Volume given a partition. If there's no PV in the real partition, it guesses the size based on the free space. Make VolumeGroupRequestSpec.getActualSize use PartitonSpec.getPVSize instead of PartitionSpec.getActualSize * partitions.py: make Partitions.setFromDisk use the PE size from the volume group, so we don't give the wrong pesize to clamp later and create an LV with an invalid size. Also make it handle lv size in MB. make Partitions.getAvailLVMPartitions use the PV's size, not the partition's size. It'll estimate the size from the partition's size if there's no LV created yet. * iw/lvm_dialog_gui.py: use getPVSize instead of getActualSize for LVM physical volume sizes. | ||||
* | LVM on RAID - (#141781) | Paul Nasrat | 2004-12-14 | 1 | -1/+1 |
| | |||||
* | actually find the partials | Jeremy Katz | 2004-12-03 | 1 | -1/+1 |
| | |||||
* | 2004-12-03 Jeremy Katz <katzj@redhat.com> | Jeremy Katz | 2004-12-03 | 1 | -0/+20 |
| | | | | * lvm.py (partialvgs): Detect partial volume groups. | ||||
* | (merge from rhel4-branch) | Jeremy Katz | 2004-11-23 | 1 | -8/+8 |
| | | | | | | | | | | | | | 2004-11-23 Jeremy Katz <katzj@redhat.com> * textw/upgrade_bootloader_text.py (UpgradeBootloaderWindow.__call__): Set a default when we can't determine the boot loader to avoid indeterminate state (#139603) * lvm.py: Don't disable LVM if vgscan, et al segfault (#134263) * packages.py (doPreInstall): Don't remove the directories as they may not be empty (#133773) | ||||
* | lvm.conf syntax fix (#130757) | Jeremy Katz | 2004-08-24 | 1 | -1/+1 |
| | |||||
* | Fix for IOError: [Errno 2] No such file or directory: '%s/lvm.conf' | Paul Nasrat | 2004-08-24 | 1 | -1/+1 |
| | |||||
* | Declare lvmroot - NameError: global name 'lvmroot' is not defined | Paul Nasrat | 2004-08-24 | 1 | -0/+1 |
| | |||||
* | some hacks to work around the lvm tools being stupid | Jeremy Katz | 2004-08-23 | 1 | -0/+34 |
| | | | | | | * wipe md superblocks if we successfully create a pv (#130713) * disable filtering for all of our creates. I know better than the tools (#130706) | ||||
* | capture stderr (#128814) | Jeremy Katz | 2004-08-03 | 1 | -3/+6 |
| | |||||
* | fix size reporting (#127535) | Jeremy Katz | 2004-07-12 | 1 | -1/+0 |
| | |||||
* | per request of agk, move to naming VolGroup instead of Volume by default for | Jeremy Katz | 2004-05-20 | 1 | -1/+1 |
| | | | | vgs | ||||
* | search path for lvm binary. disable lvm if we don't see /usr/sbin/lvm or | Jeremy Katz | 2003-12-22 | 1 | -3/+7 |
| | | | | /sbin/lvm | ||||
* | add some methods for getting lists of pvs, lvs, and vgs with lvm2 by parsing | Jeremy Katz | 2003-12-12 | 1 | -0/+57 |
| | | | | the output of {pv,lv,vg}display | ||||
* | minor fixes | Jeremy Katz | 2003-12-04 | 1 | -3/+3 |
| | |||||
* | start trying to get working lvm. switch command names for lvm2, do a | Jeremy Katz | 2003-12-03 | 1 | -7/+19 |
| | | | | vgmknodes after turning on volume groups | ||||
* | merge from taroon. highlights of this time around | Jeremy Katz | 2003-06-23 | 1 | -3/+9 |
| | | | | | | | | * 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 stuff | Jeremy Katz | 2003-06-06 | 1 | -0/+1 |
| | | | | and cleanups in here too | ||||
* | if vgscan segfaults, don't traceback, just disable the use of lvm. especially | Jeremy Katz | 2003-01-06 | 1 | -1/+5 |
| | | | | | | as the lvm1 tools seem to segfault often :/ not perfect but the segfault bug reports are getting old. | ||||
* | figure out if we have lvm-mod loaded and don't try to run the lvm commands ↵ | Jeremy Katz | 2002-09-27 | 1 | -5/+26 |
| | | | | if not. this keeps them from dying horrible deaths :) | ||||
* | added some helper functions for volume groups | Mike Fulbright | 2002-08-19 | 1 | -0/+17 |
| | |||||
* | add ability to round up to next PE or not when clamping sizes | Mike Fulbright | 2002-08-16 | 1 | -2/+7 |
| | |||||
* | round down or else we will use too much space in ks --percent mode rounding up | Mike Fulbright | 2002-08-14 | 1 | -1/+1 |
| | |||||
* | don't pass in full pathnames with searchPath = 1 | Matt Wilson | 2002-07-08 | 1 | -6/+6 |
| | |||||
* | back to anaconda paths for lvm tools, don't run them in test mode | Jeremy Katz | 2002-06-28 | 1 | -6/+17 |
| | |||||
* | add constant for max LV slots | Mike Fulbright | 2002-06-12 | 1 | -0/+2 |
| | |||||
* | try to make informed guesses about how much overhead there is on a ↵ | Jeremy Katz | 2002-06-12 | 1 | -2/+25 |
| | | | | per-physical volume basis. my eyes, my eyes. | ||||
* | utility functions to suggest names for VG, LV | Mike Fulbright | 2002-06-12 | 1 | -0/+40 |
| | |||||
* | some utility LVM funcs | Mike Fulbright | 2002-06-11 | 1 | -0/+16 |
| | |||||
* | the lvm tools must die... even more forcing of no backups | Jeremy Katz | 2002-06-11 | 1 | -3/+3 |
| | |||||
* | helper functions for getting extents possible values and clamping LV sizes ↵ | Mike Fulbright | 2002-06-10 | 1 | -0/+28 |
| | | | | to a PE value | ||||
* | rely on search path to find binaries | Mike Fulbright | 2002-06-07 | 1 | -5/+5 |
| | |||||
* | add more helper stuff | Jeremy Katz | 2002-06-07 | 1 | -14/+66 |
| | |||||
* | add lvm.vgdeactivate() | Jeremy Katz | 2002-06-07 | 1 | -0/+11 |
| | |||||
* | start reading in preexisting volume group information and logical volumes | Jeremy Katz | 2002-06-06 | 1 | -0/+40 |