build failed with block-device-lvm-efi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
New
|
Undecided
|
Unassigned |
Bug Description
when I run disk-image-create vm block-device-
also same "block-device-gpt with xfs".
- disk-image-create --version : 3.26.0, filesystem type is xfs
this was only occurred with xfs.
I faced it below error :
| Installing GRUB2...
| Installing for i386-pc platform.
| /usr/sbin/
| Unmount /tmp/dib_
| Unmount /tmp/dib_
| Unmount /tmp/dib_
| Unmount /tmp/dib_
| Unmount /tmp/dib_
| Mountpoint /tmp/dib_
| INFO diskimage_
| INFO diskimage_
| INFO diskimage_
| INFO diskimage_
| INFO diskimage_
| INFO diskimage_
| INFO diskimage_
| INFO diskimage_
| INFO diskimage_
| INFO diskimage_
| INFO diskimage_
| INFO diskimage_
| INFO diskimage_
Any idea about what can cause this issue ?
SELF SOLUTION:
I run disk-image-create with below option for creating rocky8.6 using xfs filesystem.
type: xfs 0,inobtcount= 0"
opts: "-m bigtime=
vim diskimage_ builder/ elements/ block-device- gpt/block- device- default. yaml
# Default single partition loopback using a GPT based partition table
- local_loop:
name: image0
- partitioning: 0,inobtcount= 0" #<--- here
mount_ point: /
options: "defaults"
fsck-passno: 1
base: image0
label: gpt
partitions:
- name: BSP
type: 'EF02'
size: 8MiB
- name: root
flags: [ boot ]
size: 100%
mkfs:
type: xfs #<--- here
opts: "-m bigtime=
mount:
fstab:
- hint from redhat document.
```
The XFS filesystem now supports bigtime and inobtcount features
The XFS filesystem now supports two new on-disk features, each of which is enabled by default by mkfs.xfs in RHEL 9.
These two new features are:
- Timestamp support beyond the year 2038 (bigtime).
- Inode btree counters (inobtcount), to reduce mount time on large filesystems.
As a result of this update, filesystems created with default mkfs.xfs parameters will not be mountable on RHEL 8 systems.
```