Bug 575855 - Referencing disks by-path in clearpart doesn't work
Summary: Referencing disks by-path in clearpart doesn't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F13Beta, F13BetaBlocker 576636 577385
TreeView+ depends on / blocked
 
Reported: 2010-03-22 14:47 UTC by Chris Lumens
Modified: 2010-03-29 15:51 UTC (History)
5 users (show)

Fixed In Version: anaconda-13.37-1.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 576636 577385 (view as bug list)
Environment:
Last Closed: 2010-03-27 04:54:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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/...)


Note You need to log in before you can comment on or make changes to this bug.