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 575855

Summary: Referencing disks by-path in clearpart doesn't work
Product: [Fedora] Fedora Reporter: Chris Lumens <clumens>
Component: anacondaAssignee: Chris Lumens <clumens>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: awilliam, jlaska, jonathan, orion, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: anaconda-13.37-1.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 576636 577385 (view as bug list) Environment:
Last Closed: 2010-03-27 04:54:14 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: 538274, 576636, 577385    

Description Chris Lumens 2010-03-22 14:47:42 UTC
From anaconda-devel-list:

Just tried:

clearpart --all
--drives=/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0,/dev/disk/by-path/pci-0000:00:1f.1-scsi-1:0
:0:0
--initlabel
part raid.100000 --size=128
--ondisk=/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0
part raid.100003 --size=128
--ondisk=/dev/disk/by-path/pci-0000:00:1f.1-scsi-1:0:0:0
part raid.100001 --size=10000 --grow
--ondisk=/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0
part raid.100004 --size=10000 --grow
--ondisk=/dev/disk/by-path/pci-0000:00:1f.1-scsi-1:0:0:0

but with 13.35 I get the error:

Speciefied nonexistent disk
/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0 in clearpart command.

That link does indeed exist.

Comment 1 Chris Lumens 2010-03-22 21:07:33 UTC
Orion - does updates=http://clumens.fedorapeople.org/575855.img fix this bug?

Comment 2 Orion Poplawski 2010-03-22 21:32:28 UTC
Well, I can use the /dev/disk/by-path/... form but not disk/by-path/...

Comment 3 James Laska 2010-03-24 17:12:32 UTC
I'd support taking this change into Fedora 13 Beta.  The fix has been reviewed at https://www.redhat.com/archives/anaconda-devel-list/2010-March/msg00344.html

Comment 4 Adam Williamson 2010-03-26 16:25:03 UTC
Orion, can you please check the status of this with F13 Beta RC1 (that's the release candidate for the beta) - http://serverbeach1.fedoraproject.org/pub/alt/stage/13-Beta.RC1/Fedora/ ? Thanks. We want to confirm it's okay for the Beta.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 5 Fedora Update System 2010-03-27 03:26:41 UTC
anaconda-13.37-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/anaconda-13.37-1.fc13

Comment 6 Fedora Update System 2010-03-27 04:53:25 UTC
anaconda-13.37-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Orion Poplawski 2010-03-29 15:51:06 UTC
Confirmed fixed in Beta RC1 - can use /dev/disk/by-path/...  (though not disk/by-path/...)