Bug 757106
| Summary: | kickstart "part" command doesn't work on unpartitioned disks | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jeremy Sanders <jeremy> |
| Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | anaconda-maint-list, ezyang, jonathan, rmj, vanmeeuwen+fedora |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-11-30 14:15:47 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Attachments: | |||
|
Description
Jeremy Sanders
2011-11-25 13:46:33 UTC
Another workaround that doesn't actually work is adding a pre script to do the formatting; this fails because Anaconda will then check if the disk has a correct disklabel and not figure it out. Please attach /tmp/anaconda.log and /tmp/storage.log from your failed attempt to this bug report. Created attachment 538499 [details]
storage.log when using "part" with "--noformat"
Created attachment 538500 [details]
anaconda.log when using "part" with "--noformat"
Created attachment 538501 [details]
anaconda.log without noformat, giving error in formatting
Note that these were made with a virtual machine. The same errors were encountered with a real system.
Created attachment 538503 [details]
storage.log without using --noformat
Anaconda does not support formatting unpartitioned disks in any way other than by putting a partition table on them. If you insist on using filesystems on unpartitioned disks you will have to do the formatting in %pre. What about the second bug, where if you put --noformat you get a crash when it tries to install a bootloader, even if location is set to None (see attached log files). I think this is still a bug. If the part commands on a root disk isn't supported (it would be pretty easy to support this by adding -f to the mkfs command line), wouldn't it be better to give a diagnostic error message? The main reason why we're using unpartitioned iscsi devices is because you can't manipulate devices-inside-devices on the iscsi hosting target server, if you need to. Linux doesn't see partitions inside partitions. Also, it is very hard to get the system to boot using PXE because the root-path dhcp option doesn't support a partition number. Yeah, feel free to open a separate bug for that separate issue. OK, followed up at Bug 758878. |