summaryrefslogtreecommitdiffstats
path: root/storage/formats/lvmpv.py
Commit message (Collapse)AuthorAgeFilesLines
* Add a "dict" attribute to Device and DeviceFormat classes.David Lehman2009-12-221-0/+7
| | | | | | | This attribute is a dict that describes the device or format instance with considerable detail. It is intended that the dict will be pickled using the shelve module, so values should be picklable objects. Keys should be descriptive strings.
* Add __str__ methods to the DeviceFormat classes.David Lehman2009-12-161-0/+8
|
* Whenever storage code tries to log a method call, do so into the ↵Ales Kozumplik2009-12-031-1/+1
| | | | | | | 'tmp/storage.log' file. (a part of #524980) Previously, the method call was logged into 'tmp/anaconda.log' which made the file harder to do anything useful with.
* Display progress or wait window when formatting devices.David Lehman2009-11-301-9/+24
| | | | | | If we are using an external utility to create the format we can use iutil.execWithPulseProgress. For formats we create using a python module we can only put up a waitWindow.
* Add writeKS methods to all the format objects.Chris Lumens2009-05-121-0/+3
|
* Fixes of errors shown by pylint that didn't get into the beta build.Martin Gracik2009-03-311-4/+3
|
* Handle system crappyness.Joel Granados Moreno2009-03-191-1/+5
| | | | | | | | | | | | | | | | | | | | * storage/__init__.py (createSuggestedVGName): Take into account the new lvm black list. * storage/devicelibs/lvm.py (blacklistVG): New function, add a VG to a the black list. * storage/devicelibs/lvm.py (vgreduce): introduces a new argument to the function. rm means use the lvm --removemissing option. * storage/devices.py (LVMVolumeGroupDevice.complete): New function to evaluate if VG is consistent. * storage/devices.py (LVMLogicalVolumeDevice.complete): Likewise for LVs. * storage/devicetree.py (_handleInconsistencies): New function intended to catch all unwanted behavior from the system before continuing. * storage/devicetree.py (questionReinitILVM): New function intended to ask the user what to do in case we find inconsistent LVM metadata.
* LVM is giving us unacceptable grief over persistence of metadata.David Lehman2009-03-031-0/+4
|
* Change partedFlags attribute to partedFlag.David Lehman2009-02-271-1/+1
|
* Lots of minor fixes and cleanups. A non-exhaustive list follows.David Lehman2009-02-271-8/+9
| | | | | | | | | | | - Change minsize/maxsize to minSize/maxSize since that's the convention elsewhere throughout the code. - Redirect output from all external utilities to tty5, not /dev/null. - Don't waste calls to basename for debug log statements, especially when the device can be None. - Add lots of missing imports. - Fix lots of remnants of previous code usage.
* Make it easy to specify a format's device at creation/setup time.David Lehman2009-02-241-3/+1
|
* Clean up imports and various typos, add header blocks as needed.David Lehman2009-02-231-5/+5
|
* Replace old storage modules.David Lehman2009-02-231-0/+117