anaconda logvol --percent doesn't work as expected/stated in documentation.
Issue
-
According to the documentation the
logvol --percent
option is a percentage of free space; however, install is getting following error.Traceback (most recent call first): File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 2636, in _setSize raise ValueError("not enough free space in volume group") File "/usr/lib/python2.7/site-packages/blivet/partitioning.py", line 2043, in apply_chunk_growth req.device.size = size File "/usr/lib/python2.7/site-packages/blivet/partitioning.py", line 2048, in growLVM apply_chunk_growth(chunk) File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 706, in execute growLVM(storage) File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1784, in doKickstartStorage ksdata.logvol.execute(storage, ksdata, instClass) File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/spokes/storage.py", line 349, in execute doKickstartStorage(self.storage, self.data, self.instclass) File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 53, in setup spoke.execute() File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/__init__.py", line 169, in setup obj.setup(self.ENVIRONMENT) File "/sbin/anaconda", line 1134, in <module> anaconda._intf.setup(ksdata) ValueError: not enough free space in volume group
-
Why can
--size
and--percent
no longer be specified for the samelogvol
in kickstart.The following problem occurred on line 51 of the kickstart file: --size and --percent cannot both be specified for the same logvol
Environment
- Red Hat Enterprise Linux (RHEL) 7.0
anaconda
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.