| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Also (probably harmless) typo corrected.
|
|
|
|
|
| |
This time I left out the check prior to setting the vg name
as it should be unnecessary.
|
| |
|
| |
|
|
|
|
|
| |
We don't have this function anymore, but I don't know if we need
to be calling anything else.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
exception.py:
- Remove unused partedUtils import.
- Collect things from storage, not partitions.
gui.py:
- exceptionDisks is in storage now, not diskset.
installclasses/rhel.py:
installclasses/fedora.py:
- setDefaultPartitioning take storage arg, not partitions.
iw/autopart_type.py:
- Find things in storage, not partitions.
iw/bootloader_main_gui.py:
iw/osbootwidget.py:
- Remove unused partedUtils import.
- Find fsset in storage now.
- Use storage, not diskset, for iterating over disks/partitions.
iw/lvm_dialog_gui.py:
- Fix several typos from the original storage update.
iw/partition_gui.py:
- Find unusedMDMembers in storage, not partitions.
iw/partitionui_helpers_gui.py:
- Use StorageDevice.minSize,maxSize for resize limits.
- Update doUIRAIDLVMChecks to use new storage module.
packages.py:
- Use new storage module to list vgs for selinux hack.
storage/__init__.py:
- Fix FSSet.createSwapFile so it creates the file on the
correct device.
storage/iscsi.py:
- Use new storage module to identify iscsi disks.
textw/partition_text.py:
textw/upgrade_text.py:
- Initial update to use new storage module.
yuminstall.py:
- Use storage module to find space for upgrade transaction.
- Use storage module to locate protected partitions to mount
in doPreInstall.
|
| |
|
|
|
|
| |
Fix a few syntax error caugh by pychecker.
|
|
|
|
| |
Fix the last few pychecker warnings in master
|
| |
|
| |
|
|
|
|
| |
- use long() some places instead of int()
|
|
|
|
| |
* po/sk.po: Typo fix.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Basic rules are the same for partitions, LVs, RAID devices:
- Existing LUKS headers can only be removed if the device is being formatted.
- You can create a new filesystem on the device and retain the preexisting
LUKS header.
- You can add a LUKS header to a non-encrypted preexisting device only if
creating a new filesystem on the device.
- We prompt for passphrase only for non-preexisting LUKS headers, meaning
those that existed when we read the disk layout initially. We do not support
adding or changing passphrases for preexisting encrypted devices.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Shorten 'Red Hat Author(s)' to just 'Author(s)'. Perhaps eventually
we'll get an AUTHORS file and will just remove author names from the
individual files. Also fixed a type in scripts/dumphdrlist.py where
Author was listed twice.
|
| |
|
|
|
|
|
|
| |
NOTE: this has a little bit of a hack in that we abuse lvrequest.getActualSize()
somewhat but that's largely due to the fact that lvrequest.getActualSize() was
already being abused and updating the size attribute of the request in autopart
|
|
|
|
| |
track of the request being resizable rather than just the filesystem
|
|
|
|
| |
This simplifies the edit partition dialog and adds resizing support
|
| |
|
| |
|
| |
|
|
|
|
| |
#204564).
|
| |
|
|
|
|
| |
volume groups (#217585).
|
|
|
|
| |
value is the first one in the list (#212317).
|
|
|
|
| |
(#149375)
|
|
|
|
|
|
| |
2006-07-03 Jeremy Katz <katzj@redhat.com>
* iw/lvm_dialog_gui.py (VolumeGroupEditor.__init__): Try to make
things fit a little better (#197334)
|
|
|
|
| |
sure to add it to the list (#185272).
|
|
|
|
| |
(#186412)
|
|
|
|
|
| |
* iw/lvm_dialog_gui.py (VolumeGroupEditor.createPEOptionMenu): Cap
at 128M instead (#185272)
|
|
|
|
|
|
|
| |
Increase logical volume label field to 32 characters. Changed
dialog text with a better explanation for increasing available
space since you can't change the physical extent size after a
group has been created. (#174661).
|
| |
|
|
|
|
| |
screen.
|
|
|
|
| |
from Colin Walters.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
<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.
|
|
|
|
| |
the raid and lvm possibilities early on
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* iw/lvm_dialog_gui.py (VolumeGroupEditor.updateLogVolStore):
Don't show "0" as a mountpoint for an LV that's not being mounted
anywhere (#134867)
|
| |
|
|
|
|
|
|
| |
* display sizes if it doesn't fit
* turn off growing of the LV if they edit it (we use growing
LVs for autopartitioning)
|
| |
|
| |
|
|
|
|
|
| |
although it somehow seems like crackrock that the only way to get the
current entered text is by doing cb.get_children()[0].get_text()....
|
| |
|
| |
|
|
|
|
| |
fairly large merge, but all fairly obvious stuff. will test in a tree tomorrow
|