Why can't I create partitions with btrfs using kickstart in Red Hat Enterprise Linux 7 ?
Issue
- Why can't I create partitions with btrfs using kickstart in Red Hat Enterprise Linux 7 ?
- As per the Documentation, using the following kickstart stanza for partitioning, but it leads the installer to
abrt
crash report.
clearpart --all --initlabel --drives=sda
part /boot --fstype=ext4 --size 512 --ondisk=sda
part swap --size 1000 --fstype=swap --ondisk=sda
part btrfs.01 --size=6000 --ondisk=sda --grow
btrfs none --data=0 --metadata=1 --label=rhel7 btrfs.01
btrfs / --subvol --name=root LABEL=rhel7
btrfs /home --subvol --name=home rhel7
- The
abrt
crash report is as follows.
anaconda 19.31.79-1 exception report
Traceback (most recent call first):
File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 792, in create
raise DeviceCreateError(str(e), self.name)
File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 273, in execute
self.device.create()
File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 237, in processActions
action.execute()
File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 310, in doIt
self.devicetree.processActions()
File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 170, in turnOnFilesystems
storage.doIt()
File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 150, in doInstall
turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall)
File "/usr/lib64/python2.7/threading.py", line 764, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 211, in run
threading.Thread.run(self, *args, **kwargs)
DeviceCreateError: ('1', 'rhel7')
Environment
- Red Hat Enterprise Linux 7
- BTRFS Anaconda Installer
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.