Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 576976
Summary: | --onpart does not remove existing format first | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bill Nottingham <notting> | ||||
Component: | anaconda | Assignee: | Chris Lumens <clumens> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 13 | CC: | awilliam, dcantrell, jonathan, rvokal, vanmeeuwen+fedora | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | anaconda_trace_hash:0836e5f7c09b27090f2a66cc99cb9179010295a7705dfde98a0854072b5f0487 | ||||||
Fixed In Version: | anaconda-13.38-1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 578937 (view as bug list) | Environment: | |||||
Last Closed: | 2010-05-06 21:33:54 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 507681 | ||||||
Attachments: |
|
Description
Bill Nottingham
2010-03-25 19:05:39 UTC
Created attachment 402649 [details]
Attached traceback automatically from anaconda.
This happened when attempting to replace a lvm formatted system with: part / --onpart=sda2 --fstype=ext4 part /boot --onpart=sda1 --fstype=ext4 ks is: install url --url=http://download.fedora.devel.redhat.com/pub/fedora/linux/development/13/x86_64/os/ lang en_US.UTF-8 keyboard us network --device eth0 --bootproto dhcp firewall --service=ssh authconfig --enableshadow --passalgo=sha512 --enablefingerprint selinux --enforcing timezone --utc America/New_York bootloader --location=mbr --driveorder=sda --append="rhgb quiet" repo --name=updates-testing --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch #clearpart --all part / --onpart=sda2 --fstype=ext4 part /boot --onpart=sda1 --fstype=ext4 %packages --ignoremissing ConsoleKit-devel <a bunch of other stuff> We aren't scheduling format destroy actions for the preexisting formats when handling onpart. We need to be doing a recursive destroy starting with those formats, eg: lvmpv->lvmvg->lvmlv(s) Bill, this should be fixed in current builds (inc. TC1), as per the 'fixed in' field. Can you please test and confirm? Thanks. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers Ping? I have not had time to test this. So, to test this correctly, all you need to do is do a kickstart install using --onpart to ask the installer to convert a partition currently occupied by an LVM into a raw ext4 partition, right? -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers Correct. okay, I should be able to test this later today. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers Tested this with 0505 boot.iso. Seems to work. I first did an install with default partitioning - so a swap partition and an LVM with / and /boot. Then I replaced it with this ks: http://www.happyassassin.net/extras/test.ks . It uses the original /boot partition as swap, and replaces the LVM with an ext4 / partition. It got happily through partitioning stage and started installing packages, whereupon I stopped it because I don't have all night. :) Closing this since the update is already pushed to stable. |